Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

chore(do not merge): demo of template files fix - #3711

Closed
diegomarquezp wants to merge 1 commit into
mainfrom
demo-templates-fix-202503
Closed

chore(do not merge): demo of template files fix#3711
diegomarquezp wants to merge 1 commit into
mainfrom
demo-templates-fix-202503

Conversation

@diegomarquezp

@diegomarquezpdiegomarquezp commented Mar 26, 2025

Copy link
Copy Markdown
Contributor

BEGIN_COMMIT_OVERRIDE
BEGIN_NESTED_COMMIT
fix(deps): update the Java code generator (gapic-generator-java) to 2.55.2-SNAPSHOT
END_NESTED_COMMIT
END_COMMIT_OVERRIDE

@diegomarquezpdiegomarquezp added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Mar 26, 2025
@product-auto-labelproduct-auto-labelBot added the size: s Pull request size is small. label Mar 26, 2025
@generated-files-bot

generated-files-botBot commented Mar 26, 2025

Copy link
Copy Markdown

Warning: This pull request is touching the following templated files:

  • .github/trusted-contribution.yml

@product-auto-labelproduct-auto-labelBot added the api: spanner Issues related to the googleapis/java-spanner API. label Mar 26, 2025
@diegomarquezp
diegomarquezpforce-pushed the demo-templates-fix-202503 branch from 6e7a60d to 6fdd7bcCompareMarch 27, 2025 19:07
@product-auto-labelproduct-auto-labelBot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Mar 27, 2025
@suztomo

Copy link
Copy Markdown
Member

Can you evaluate the templated, generated files are really needed? Seeing kokoro/nightly/java7.cfg, it seems you haven't checked that.

@diegomarquezp
diegomarquezpforce-pushed the demo-templates-fix-202503 branch from 6fdd7bc to a7798caCompareMarch 28, 2025 16:15
@product-auto-labelproduct-auto-labelBot added size: s Pull request size is small. and removed size: m Pull request size is medium. labels Mar 28, 2025
diegomarquezp added a commit to googleapis/sdk-platform-java that referenced this pull request Apr 7, 2025
…neration (#3723)
Part of the fix for
#3701 ☕
### Approach
The templates come from
https://github.com/googleapis/synthtool/tree/bf182cd41d9a7de56092cafcc7befe6b398332f6.
The only update was to include `generated-files-bot`, which is already
up to date in all the HW repos.
The `.kokoro` folder will be a separate follow up task. We will now
focus on solving the update of `update_generation_config` `yaml` and
`sh` files.
The fix to include the `.github` folder follows from
https://setuptools.pypa.io/en/latest/userguide/datafiles.html:
```
Glob patterns do not automatically match dotfiles, i.e., directory or file names starting with a dot (.).
To include such files, you must explicitly start the pattern with a dot, e.g. .* to match .gitignore.
```
Interestingly, this is also the reason `cp
synthool/gcp/templates/java_library/* ...` did not bring folders
starting with dot (such as .kokoro) into
#2884
### Confirming effects in downstream repos
Demos show the results as of
b66af92
in
- googleapis/java-storage#3012
- googleapis/java-logging#1787
- googleapis/java-pubsub#2384
- googleapis/java-bigtable#2546
- googleapis/java-spanner#3711
- googleapis/java-firestore#2065
- googleapis/java-datastore#1810
- googleapis/java-bigquerystorage#2929
- googleapis/java-pubsublite#1837
There were no regressions on templated files that were manually
modified.
lqiu96 pushed a commit to googleapis/sdk-platform-java that referenced this pull request Jun 10, 2025
…neration (#3723)
Part of the fix for
#3701 ☕
### Approach
The templates come from
https://github.com/googleapis/synthtool/tree/bf182cd41d9a7de56092cafcc7befe6b398332f6.
The only update was to include `generated-files-bot`, which is already
up to date in all the HW repos.
The `.kokoro` folder will be a separate follow up task. We will now
focus on solving the update of `update_generation_config` `yaml` and
`sh` files.
The fix to include the `.github` folder follows from
https://setuptools.pypa.io/en/latest/userguide/datafiles.html:
```
Glob patterns do not automatically match dotfiles, i.e., directory or file names starting with a dot (.).
To include such files, you must explicitly start the pattern with a dot, e.g. .* to match .gitignore.
```
Interestingly, this is also the reason `cp
synthool/gcp/templates/java_library/* ...` did not bring folders
starting with dot (such as .kokoro) into
#2884
### Confirming effects in downstream repos
Demos show the results as of
b66af92
in
- googleapis/java-storage#3012
- googleapis/java-logging#1787
- googleapis/java-pubsub#2384
- googleapis/java-bigtable#2546
- googleapis/java-spanner#3711
- googleapis/java-firestore#2065
- googleapis/java-datastore#1810
- googleapis/java-bigquerystorage#2929
- googleapis/java-pubsublite#1837
There were no regressions on templated files that were manually
modified.
lqiu96 pushed a commit to googleapis/sdk-platform-java that referenced this pull request Aug 21, 2025
…neration (#3723)
Part of the fix for
#3701 ☕
### Approach
The templates come from
https://github.com/googleapis/synthtool/tree/bf182cd41d9a7de56092cafcc7befe6b398332f6.
The only update was to include `generated-files-bot`, which is already
up to date in all the HW repos.
The `.kokoro` folder will be a separate follow up task. We will now
focus on solving the update of `update_generation_config` `yaml` and
`sh` files.
The fix to include the `.github` folder follows from
https://setuptools.pypa.io/en/latest/userguide/datafiles.html:
```
Glob patterns do not automatically match dotfiles, i.e., directory or file names starting with a dot (.).
To include such files, you must explicitly start the pattern with a dot, e.g. .* to match .gitignore.
```
Interestingly, this is also the reason `cp
synthool/gcp/templates/java_library/* ...` did not bring folders
starting with dot (such as .kokoro) into
#2884
### Confirming effects in downstream repos
Demos show the results as of
b66af92
in
- googleapis/java-storage#3012
- googleapis/java-logging#1787
- googleapis/java-pubsub#2384
- googleapis/java-bigtable#2546
- googleapis/java-spanner#3711
- googleapis/java-firestore#2065
- googleapis/java-datastore#1810
- googleapis/java-bigquerystorage#2929
- googleapis/java-pubsublite#1837
There were no regressions on templated files that were manually
modified.
chingor13 pushed a commit to googleapis/google-cloud-java that referenced this pull request Mar 24, 2026
…neration (#3723)
Part of the fix for
googleapis/sdk-platform-java#3701 ☕
### Approach
The templates come from
https://github.com/googleapis/synthtool/tree/bf182cd41d9a7de56092cafcc7befe6b398332f6.
The only update was to include `generated-files-bot`, which is already
up to date in all the HW repos.
The `.kokoro` folder will be a separate follow up task. We will now
focus on solving the update of `update_generation_config` `yaml` and
`sh` files.
The fix to include the `.github` folder follows from
https://setuptools.pypa.io/en/latest/userguide/datafiles.html:
```
Glob patterns do not automatically match dotfiles, i.e., directory or file names starting with a dot (.).
To include such files, you must explicitly start the pattern with a dot, e.g. .* to match .gitignore.
```
Interestingly, this is also the reason `cp
synthool/gcp/templates/java_library/* ...` did not bring folders
starting with dot (such as .kokoro) into
googleapis/sdk-platform-java#2884
### Confirming effects in downstream repos
Demos show the results as of
googleapis/sdk-platform-java@b66af92
in
- googleapis/java-storage#3012
- googleapis/java-logging#1787
- googleapis/java-pubsub#2384
- googleapis/java-bigtable#2546
- googleapis/java-spanner#3711
- googleapis/java-firestore#2065
- googleapis/java-datastore#1810
- googleapis/java-bigquerystorage#2929
- googleapis/java-pubsublite#1837
There were no regressions on templated files that were manually
modified.
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: spannerIssues related to the googleapis/java-spanner API.do not mergeIndicates a pull request not ready for merge, due to either quality or timing.size: sPull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@diegomarquezp@suztomo