Skip to content

Commit b6c307c

Browse files
authored
chore: owlbot.py to tell it's monorepo (#8718)
* chore: owlbot.py to tell the monorepo * format * templates
1 parent 57025df commit b6c307c

File tree

141 files changed

+141
-141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+141
-141
lines changed

generation/new_client/templates/owlbot.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ for library in s.get_staging_dirs():
2121
s.move(library)
2222

2323
s.remove_staging_dirs()
24-
{% if should_include_templates %}java.common_templates({% if template_excludes %}excludes={{ template_excludes }}{% endif %}){% endif %}
24+
{% if should_include_templates %}java.common_templates(monorepo=True, {% if template_excludes %}excludes={{ template_excludes }}{% endif %}){% endif %}

generation/update_owlbot_postprocessor_config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ for dir in $(find . -mindepth 2 -maxdepth 2 -name owlbot.py | sort | xargs dirna
1010
pushd "$dir"
1111

1212
# form a perl command to replace java.common_templates() invocation
13-
perl_command='s/java\.common_templates\(.*\)/java.common_templates(excludes=['
13+
perl_command='s/java\.common_templates\(.*\)/java.common_templates(monorepo=True, excludes=['
1414
comma=""
1515
for exclusion in '.github/*' '.kokoro/*' 'samples/*' 'CODE_OF_CONDUCT.md' 'CONTRIBUTING.md' 'LICENSE' 'SECURITY.md' 'java.header' 'license-checks.xml' 'renovate.json' '.gitignore'; do
1616
perl_command+="${comma}\n $(echo "\"${exclusion}\"" | sed 's/\//\\\//g')"

java-accessapproval/owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
s.move(library)
2222

2323
s.remove_staging_dirs()
24-
java.common_templates(excludes=[
24+
java.common_templates(monorepo=True, excludes=[
2525
".github/*",
2626
".kokoro/*",
2727
"samples/*",

java-accesscontextmanager/owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
s.move(library)
2222

2323
s.remove_staging_dirs()
24-
java.common_templates(excludes=[
24+
java.common_templates(monorepo=True, excludes=[
2525
".github/*",
2626
".kokoro/*",
2727
"samples/*",

java-aiplatform/owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
s.move(library)
2222

2323
s.remove_staging_dirs()
24-
java.common_templates(excludes=[
24+
java.common_templates(monorepo=True, excludes=[
2525
".github/*",
2626
".kokoro/*",
2727
"samples/*",

java-analytics-admin/owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
s.move(library)
2222

2323
s.remove_staging_dirs()
24-
java.common_templates(excludes=[
24+
java.common_templates(monorepo=True, excludes=[
2525
".github/*",
2626
".kokoro/*",
2727
"samples/*",

java-analytics-data/owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
s.move(library)
2222

2323
s.remove_staging_dirs()
24-
java.common_templates(excludes=[
24+
java.common_templates(monorepo=True, excludes=[
2525
".github/*",
2626
".kokoro/*",
2727
"samples/*",

java-analyticshub/owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
s.move(library)
2222

2323
s.remove_staging_dirs()
24-
java.common_templates(excludes=[
24+
java.common_templates(monorepo=True, excludes=[
2525
".github/*",
2626
".kokoro/*",
2727
"samples/*",

java-api-gateway/owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
s.move(library)
2222

2323
s.remove_staging_dirs()
24-
java.common_templates(excludes=[
24+
java.common_templates(monorepo=True, excludes=[
2525
".github/*",
2626
".kokoro/*",
2727
"samples/*",

java-apigee-connect/owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
s.move(library)
2222

2323
s.remove_staging_dirs()
24-
java.common_templates(excludes=[
24+
java.common_templates(monorepo=True, excludes=[
2525
".github/*",
2626
".kokoro/*",
2727
"samples/*",

0 commit comments

Comments
 (0)