-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fix: do not generate Version.java files by default #12955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 32 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
0b4bb2f
fix: manual preservation of Version.java files
diegomarquezp f80f0d4
Update sdk-platform-java/hermetic_build/library_generation/utils/util…
diegomarquezp c088c4f
Update sdk-platform-java/hermetic_build/library_generation/utils/util…
diegomarquezp 242c5b0
Merge branch 'main' into fix/version-java-owlbot-yaml
diegomarquezp 80215df
fix: finish merge
diegomarquezp 759bb65
test: add units for new logic
diegomarquezp cdb27b0
Merge branch 'fix/version-java-owlbot-yaml' of https://github.com/goo…
diegomarquezp ab85289
Merge branch 'main' into fix/version-java-owlbot-yaml
diegomarquezp 64962c0
chore: update golden
diegomarquezp 0ace657
Merge branch 'fix/version-java-owlbot-yaml' of https://github.com/goo…
diegomarquezp b53b9fc
fix: prevent generation of Version.java in self-service libraries
diegomarquezp 557f9a7
chore: add flag to bazel rule
diegomarquezp 5312129
Merge remote-tracking branch 'origin/main' into fix/no-version-java-s…
diegomarquezp 5bb4e9f
chore: remove unrelated files
diegomarquezp 17b1d19
test: test gapic opts utility
diegomarquezp b71964b
fix: use canonical empty list method
diegomarquezp 77a734c
fix: do not reference Version.java from StubSettings
diegomarquezp b57c4c5
chore: format
diegomarquezp 78c8d18
fix: try local reference to gapic_generator_java
diegomarquezp 6669480
Merge remote-tracking branch 'origin/main' into fix/no-version-java-s…
diegomarquezp b34404c
Revert "fix: try local reference to gapic_generator_java"
diegomarquezp dfc4639
test: keep some libraries with Version.java
diegomarquezp 2c126f5
fix: try local reference to gapic_generator_java
diegomarquezp 0e8f087
debug: log failure of generate_library.sh
diegomarquezp a6159a2
build: log errors on sdk-platform-java IT failures
diegomarquezp 916f1d3
fix: remove newline that breaks generation
diegomarquezp 4a2ac35
test: update integration goldens
diegomarquezp 6cfddbb
debug: remove xtrace from generate_library.sh
diegomarquezp c2d5720
docs: add comment on rationale for new logic in utilities.py
diegomarquezp bfddaa0
chore: remove unintended file
diegomarquezp d5dce71
chore: format hermetic_build py files
diegomarquezp 63c8794
feat: handle missing version in tracer classes
diegomarquezp 690e7d7
chore: restore local workspace change
diegomarquezp 2288971
test(ggj): use goldens only on one unit test case
diegomarquezp d276f5c
test(bazel): use only one case with Version.java in generator ITs
diegomarquezp 68097f8
test: remove redundant flag
diegomarquezp 512432c
Merge branch 'main' into fix/no-version-java-self-service
diegomarquezp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,12 @@ local_repository( | |
| path = "sdk-platform-java/gax-java", | ||
| ) | ||
|
|
||
| local_repository( | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this change intended?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reverted |
||
| name = "gapic_generator_java", | ||
| path = ".", | ||
| ) | ||
|
|
||
|
|
||
| load("@com_google_api_gax_java//:repository_rules.bzl", "com_google_api_gax_java_properties") | ||
|
|
||
| com_google_api_gax_java_properties( | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that flag is a convenience to understand generation diffs when the generator ITs are failing