Skip to content

refactor(internal/librarian/java): remove ExcludedDependencies from repoMetadata - #6652

Merged
zhumin8 merged 1 commit into
googleapis:mainfrom
zhumin8:java-repometadata-excluded_dependencies
Jul 6, 2026
Merged

zhumin8 merged 1 commit into
googleapis:mainfrom
zhumin8:java-repometadata-excluded_dependencies

Conversation

@zhumin8

@zhumin8 zhumin8 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

The java-specific field ExcludedDependencies is removed from the repoMetadata struct and its population is disabled.

This field is not used by other parts of the Librarian codebase, and its omission from the generated .repo-metadata.json is the first step in deprecating it. The field is retained in the config.JavaModule struct to maintain compatibility with existing librarian.yaml configurations.

For #5901

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@zhumin8
zhumin8 marked this pull request as ready for review July 6, 2026 21:42
@zhumin8
zhumin8 requested a review from a team as a code owner July 6, 2026 21:42
@zhumin8
zhumin8 enabled auto-merge (squash) July 6, 2026 21:43
@zhumin8
zhumin8 requested review from JoeWang1127 and sofisl July 6, 2026 21:43
@zhumin8
zhumin8 merged commit 58fd68a into googleapis:main Jul 6, 2026
32 of 34 checks passed
sofisl pushed a commit to sofisl/librarian that referenced this pull request Jul 7, 2026
…epoMetadata (googleapis#6652)

The java-specific field ExcludedDependencies is removed from the
repoMetadata struct and its population is disabled.

This field is not used by other parts of the Librarian codebase, and its
omission from the generated .repo-metadata.json is the first step in
deprecating it. The field is retained in the config.JavaModule struct to
maintain compatibility with existing librarian.yaml configurations.

For googleapis#5901
zhumin8 added a commit to googleapis/google-cloud-java that referenced this pull request Jul 7, 2026
Update librarian version, relevant changes:
googleapis/librarian#6652
googleapis/librarian#6648
googleapis/librarian#6669

re-generate libraries via
[workflow](https://github.com/googleapis/google-cloud-java/actions/runs/28871327350).
Then updated librarian version again for change in
googleapis/librarian#6669, and regenerated one
library manually (gapic-libraries-bom/pom.xml is populated from scratch
on each generate run).

Also cleaned up unused librarian.yaml config in
[4fe1b17](4fe1b17)

Fixes #13672
For googleapis/librarian#5901

---------

Co-authored-by: cloud-java-bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants