Skip to content

Commit 0ad39e4

Browse files
sofislgcf-owl-bot[bot]gemini-code-assist[bot]
authored
chore: update owlbot configs (#8229)
* chore: update owlbot configs * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Update handwritten/logging-winston/owlbot.py Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: preserve idempotency * chore: revert to main * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent da2ee2d commit 0ad39e4

26 files changed

Lines changed: 4158 additions & 1608 deletions

File tree

β€Žhandwritten/bigquery/owlbot.pyβ€Ž

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,7 @@
1717
import synthtool.languages.node_mono_repo as node
1818
from synthtool import shell
1919

20-
node.owlbot_main(relative_dir="handwritten/bigquery",
21-
templates_excludes=[
22-
'.github/bug-report.md',
23-
'.github/release-please.yml',
24-
'.github/workflows/ci.yaml',
25-
]
26-
)
20+
node.owlbot_main(relative_dir="handwritten/bigquery")
2721

2822
# Install dependencies and regenerate Discovery types.
2923
shell.run(('npm', 'install'), cwd='handwritten/bigquery')

β€Žhandwritten/bigquery/src/types.d.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
/**
16-
* Discovery Revision: 20260408
16+
* Discovery Revision: 20260328
1717
*/
1818

1919
/**

β€Žhandwritten/cloud-profiler/owlbot.pyβ€Ž

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@
1414

1515
import synthtool.languages.node_mono_repo as node
1616

17-
node.owlbot_main(relative_dir="handwritten/cloud-profiler",templates_excludes=[".github/sync-repo-settings.yaml",
18-
".github/workflows/ci.yaml"])
17+
node.owlbot_main(relative_dir="handwritten/cloud-profiler")

β€Žhandwritten/datastore/.eslintignoreβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ build/
55
docs/
66
protos/
77
samples/generated/
8-
system-test/**/fixtures

β€Žhandwritten/datastore/.mocharc.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

β€Žhandwritten/datastore/.prettierrc.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

β€Žhandwritten/datastore/owlbot.pyβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
logging.basicConfig(level=logging.DEBUG)
2525

26-
staging = Path("owl-bot-staging")
26+
staging = Path("owl-bot-staging/datastore")
2727

2828
if staging.is_dir():
2929
logging.info(f"Copying files from staging directory ${staging}.")
@@ -32,20 +32,20 @@
3232
for version in ['v1']:
3333
library = staging / version
3434
_tracked_paths.add(library)
35-
s.copy([library],excludes=[
35+
s.copy([library], destination="handwritten/datastore", excludes=[
3636
'package.json', 'README.md', 'src/index.ts', 'src/v1/index.ts'])
3737

3838
# Copy the admin library.
3939
for version in ['v1']:
4040
library = staging / 'admin' / version
4141
_tracked_paths.add(library)
42-
s.copy([library],excludes=[
42+
s.copy([library], destination="handwritten/datastore", excludes=[
4343
'package.json', 'README.md', 'src/index.ts', 'src/v1/index.ts', 'tsconfig.json', 'tslint.json',
4444
'system-test/fixtures/sample/src/index.ts', 'system-test/fixtures/sample/src/index.js',
4545
'.jsdoc.js', 'webpack.config.js'])
4646

4747
# Patch the code.
48-
system_test_files = ['system-test/fixtures/sample/src/index.ts', 'system-test/fixtures/sample/src/index.js']
48+
system_test_files = ['handwritten/datastore/system-test/fixtures/sample/src/index.ts', 'handwritten/datastore/system-test/fixtures/sample/src/index.js']
4949
for file in system_test_files:
5050
s.replace(file, 'DatastoreClient', 'Datastore')
5151
s.replace(file, 'client.close', '// client.close'); # does not work with the manual layer
@@ -54,7 +54,7 @@
5454
shutil.rmtree(staging)
5555

5656
common_templates = gcp.CommonTemplates()
57-
templates = common_templates.node_library(source_location="build/src")
58-
s.copy(templates)
57+
templates = common_templates.node_mono_repo_library(relative_dir="handwritten/datastore", source_location="build/src")
58+
s.copy(templates, destination="handwritten/datastore", excludes=["README.md"])
5959

60-
node.postprocess_gapic_library_hermetic()
60+
node.postprocess_gapic_library_hermetic(relative_dir="handwritten/datastore")

β€Žhandwritten/datastore/protos/protos.jsβ€Ž

Lines changed: 3712 additions & 1458 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žhandwritten/datastore/protos/protos.jsonβ€Ž

Lines changed: 40 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)