Skip to content

Commit

Permalink
chore: update Notebooks and AssuredWorkloads owlbots and remove compa…
Browse files Browse the repository at this point in the history
…t files
  • Loading branch information
bshaffer committed May 30, 2023
1 parent fc9323a commit 186a7eb
Show file tree
Hide file tree
Showing 51 changed files with 15 additions and 787 deletions.
10 changes: 8 additions & 2 deletions AssuredWorkloads/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@
src = Path(f"../{php.STAGING_DIR}/AssuredWorkloads").resolve()
dest = Path().resolve()

php.owlbot_main(src=src, dest=dest)
php.owlbot_main(
src=src,
dest=dest,
copy_excludes=[
src / "**/[A-Z]*_*.php"
]
)

# Change the wording for the deprecation warning.
s.replace(
Expand All @@ -37,7 +43,7 @@
### [START] protoc backwards compatibility fixes

# roll back to private properties.
s.replace(
s.replace(cpde
"src/**/V*/**/*.php",
r"Generated from protobuf field ([^\n]{0,})\n\s{5}\*/\n\s{4}protected \$",
r"""Generated from protobuf field \1
Expand Down

This file was deleted.

16 changes: 0 additions & 16 deletions AssuredWorkloads/src/V1/Violation_Remediation.php

This file was deleted.

16 changes: 0 additions & 16 deletions AssuredWorkloads/src/V1/Violation_Remediation_Instructions.php

This file was deleted.

This file was deleted.

This file was deleted.

16 changes: 0 additions & 16 deletions AssuredWorkloads/src/V1/Violation_Remediation_RemediationType.php

This file was deleted.

16 changes: 0 additions & 16 deletions AssuredWorkloads/src/V1/Violation_State.php

This file was deleted.

16 changes: 0 additions & 16 deletions AssuredWorkloads/src/V1/Workload_ComplianceRegime.php

This file was deleted.

16 changes: 0 additions & 16 deletions AssuredWorkloads/src/V1/Workload_KMSSettings.php

This file was deleted.

16 changes: 0 additions & 16 deletions AssuredWorkloads/src/V1/Workload_KajEnrollmentState.php

This file was deleted.

16 changes: 0 additions & 16 deletions AssuredWorkloads/src/V1/Workload_Partner.php

This file was deleted.

16 changes: 0 additions & 16 deletions AssuredWorkloads/src/V1/Workload_ResourceInfo.php

This file was deleted.

16 changes: 0 additions & 16 deletions AssuredWorkloads/src/V1/Workload_ResourceInfo_ResourceType.php

This file was deleted.

16 changes: 0 additions & 16 deletions AssuredWorkloads/src/V1/Workload_ResourceSettings.php

This file was deleted.

16 changes: 0 additions & 16 deletions AssuredWorkloads/src/V1/Workload_SaaEnrollmentResponse.php

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 7 additions & 1 deletion Notebooks/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@
# Added so that we can pass copy_excludes in the owlbot_main() call
_tracked_paths.add(src)

php.owlbot_main(src=src, dest=dest)
php.owlbot_main(
src=src,
dest=dest,
copy_excludes=[
src / "**/[A-Z]*_*.php"
]
)

# Change the wording for the deprecation warning.
s.replace(
Expand Down
16 changes: 0 additions & 16 deletions Notebooks/src/V1/Event_EventType.php

This file was deleted.

16 changes: 0 additions & 16 deletions Notebooks/src/V1/ExecutionTemplate_DataprocParameters.php

This file was deleted.

16 changes: 0 additions & 16 deletions Notebooks/src/V1/ExecutionTemplate_JobType.php

This file was deleted.

16 changes: 0 additions & 16 deletions Notebooks/src/V1/ExecutionTemplate_ScaleTier.php

This file was deleted.

Loading

0 comments on commit 186a7eb

Please sign in to comment.