Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 091e571

Browse files
authored
chore: fix conversion to owlbot (#28)
Remove synth.py since this repo now use owlbot
1 parent b198994 commit 091e571

File tree

3 files changed

+25
-87
lines changed

3 files changed

+25
-87
lines changed

.github/.OwlBot.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ deep-remove-regex:
2222

2323
deep-copy-regex:
2424
- source: "/google/appengine/(v.*)/.*-java/proto-google-.*/src"
25-
dest: "/proto-google-cloud-appengine-admin-$1/src"
25+
dest: "/owl-bot-staging/$1/proto-google-cloud-appengine-admin-$1/src"
2626
- source: "/google/appengine/(v.*)/.*-java/grpc-google-.*/src"
27-
dest: "/grpc-google-cloud-appengine-admin-$1/src"
28-
- source: "/google/appengine/v.*/.*-java/gapic-google-.*/src"
29-
dest: "/google-cloud-appengine-admin/src"
30-
27+
dest: "/owl-bot-staging/$1/grpc-google-cloud-appengine-admin-$1/src"
28+
- source: "/google/appengine/(v.*)/.*-java/gapic-google-.*/src"
29+
dest: "/owl-bot-staging/$1/google-cloud-appengine-admin/src"

synth.py renamed to owlbot.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,21 @@
44
# you may not use this file except in compliance with the License.
55
# You may obtain a copy of the License at
66
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
7+
# https://www.apache.org/licenses/LICENSE-2.0
88
#
99
# Unless required by applicable law or agreed to in writing, software
1010
# distributed under the License is distributed on an "AS IS" BASIS,
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import synthtool.languages.java as java
15+
import synthtool as s
16+
from synthtool.languages import java
1617

17-
java.common_templates()
18+
19+
for library in s.get_staging_dirs():
20+
# put any special-case replacements here
21+
s.move(library)
22+
23+
s.remove_staging_dirs()
24+
java.common_templates()

synth.metadata

Lines changed: 11 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -3,92 +3,24 @@
33
{
44
"git": {
55
"name": ".",
6-
"remote": "https://github.com/googleapis/java-appengine-admin.git",
7-
"sha": "8cb351b8dc4412f8080f5ffd972269a8fa22ff08"
6+
"remote": "git@github.com:googleapis/java-appengine-admin.git",
7+
"sha": "b1989947e17e6580c5543396fe1962fb2e4d837b"
8+
}
9+
},
10+
{
11+
"git": {
12+
"name": "googleapis-gen",
13+
"remote": "https://github.com/googleapis/googleapis-gen.git",
14+
"sha": "32337a2c2ec4d35de81519661e279ada7e3bfcf2",
15+
"internalRef": "369574301"
816
}
917
},
1018
{
1119
"git": {
1220
"name": "synthtool",
1321
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "1f5e6bc8dc8e3661ee550905fc070e55e1b6cea1"
22+
"sha": "5a6f30b8bb7672cf237c4f75d5aa96bfba170e7f"
1523
}
1624
}
17-
],
18-
"generatedFiles": [
19-
".github/CODEOWNERS",
20-
".github/ISSUE_TEMPLATE/bug_report.md",
21-
".github/ISSUE_TEMPLATE/feature_request.md",
22-
".github/ISSUE_TEMPLATE/support_request.md",
23-
".github/PULL_REQUEST_TEMPLATE.md",
24-
".github/blunderbuss.yml",
25-
".github/generated-files-bot.yml",
26-
".github/readme/synth.py",
27-
".github/release-please.yml",
28-
".github/snippet-bot.yml",
29-
".github/sync-repo-settings.yaml",
30-
".github/trusted-contribution.yml",
31-
".github/workflows/approve-readme.yaml",
32-
".github/workflows/auto-release.yaml",
33-
".github/workflows/ci.yaml",
34-
".github/workflows/samples.yaml",
35-
".kokoro/build.bat",
36-
".kokoro/build.sh",
37-
".kokoro/coerce_logs.sh",
38-
".kokoro/common.cfg",
39-
".kokoro/common.sh",
40-
".kokoro/continuous/common.cfg",
41-
".kokoro/continuous/java8.cfg",
42-
".kokoro/continuous/readme.cfg",
43-
".kokoro/dependencies.sh",
44-
".kokoro/nightly/common.cfg",
45-
".kokoro/nightly/integration.cfg",
46-
".kokoro/nightly/java11.cfg",
47-
".kokoro/nightly/java7.cfg",
48-
".kokoro/nightly/java8-osx.cfg",
49-
".kokoro/nightly/java8-win.cfg",
50-
".kokoro/nightly/java8.cfg",
51-
".kokoro/nightly/samples.cfg",
52-
".kokoro/populate-secrets.sh",
53-
".kokoro/presubmit/clirr.cfg",
54-
".kokoro/presubmit/common.cfg",
55-
".kokoro/presubmit/dependencies.cfg",
56-
".kokoro/presubmit/integration.cfg",
57-
".kokoro/presubmit/java11.cfg",
58-
".kokoro/presubmit/java7.cfg",
59-
".kokoro/presubmit/java8-osx.cfg",
60-
".kokoro/presubmit/java8-win.cfg",
61-
".kokoro/presubmit/java8.cfg",
62-
".kokoro/presubmit/linkage-monitor.cfg",
63-
".kokoro/presubmit/lint.cfg",
64-
".kokoro/presubmit/samples.cfg",
65-
".kokoro/readme.sh",
66-
".kokoro/release/bump_snapshot.cfg",
67-
".kokoro/release/common.cfg",
68-
".kokoro/release/common.sh",
69-
".kokoro/release/drop.cfg",
70-
".kokoro/release/drop.sh",
71-
".kokoro/release/promote.cfg",
72-
".kokoro/release/promote.sh",
73-
".kokoro/release/publish_javadoc.cfg",
74-
".kokoro/release/publish_javadoc.sh",
75-
".kokoro/release/publish_javadoc11.cfg",
76-
".kokoro/release/publish_javadoc11.sh",
77-
".kokoro/release/snapshot.cfg",
78-
".kokoro/release/snapshot.sh",
79-
".kokoro/release/stage.cfg",
80-
".kokoro/release/stage.sh",
81-
".kokoro/trampoline.sh",
82-
"CODE_OF_CONDUCT.md",
83-
"CONTRIBUTING.md",
84-
"LICENSE",
85-
"codecov.yaml",
86-
"java.header",
87-
"license-checks.xml",
88-
"renovate.json",
89-
"samples/install-without-bom/pom.xml",
90-
"samples/pom.xml",
91-
"samples/snapshot/pom.xml",
92-
"samples/snippets/pom.xml"
9325
]
9426
}

0 commit comments

Comments
 (0)