GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: Explicitly include specific group of libraries for README's BOM section generation by blakeli0 · Pull Request #4028 · googleapis/sdk-platform-java

This repository was archived by the owner on Oct 29, 2026. It is now read-only.

Conversation

@blakeli0

@blakeli0 blakeli0 commented Dec 23, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Group ids included in the gapic-libraries-bom are

  • com.google.cloud
  • com.google.analytics
  • com.google.area120

This inclusion list is specified in the generator. Use the same list for README's BOM section generation.

Verified in google-cloud-java using SNAPSHOT version of generator that groups ids (e.g. ads) outside of these three are correctly excluded.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
blakeli0 added 2 commits December 23, 2025 15:34
@blakeli0
chore: Only generate BOM section for cloud libraries in README.
e3fcf8f
@blakeli0
chore: Revert unit test changes.
4bcfce1
@product-auto-label product-auto-label Bot added the size: xs Pull request size is extra small. label Dec 23, 2025
@gemini-code-assist

gemini-code-assist Bot commented Dec 23, 2025

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @blakeli0, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a refinement to the java_library README template, ensuring that Bill of Materials (BOM) usage instructions are only presented for Google Cloud libraries. This update improves the accuracy and relevance of the generated documentation by preventing the display of BOM information for non-cloud libraries.

Highlights

  • README Template Logic Update: The java_library/README.md template has been modified to refine the conditions under which Bill of Materials (BOM) generation instructions are displayed.
  • Conditional BOM Instruction Display: BOM generation instructions will now only appear in the generated READMEs for libraries that are part of the com.google.cloud group ID, specifically when monorepo is enabled. This change ensures that non-cloud libraries do not display irrelevant BOM information.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gemini-code-assist[bot]
gemini-code-assist Bot reviewed Dec 23, 2025
View reviewed changes

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

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.

Code Review

This pull request refines the logic for generating Bill of Materials (BOM) instructions in the README.md template for Java libraries. The change adds a condition to only display the BOM section for libraries that are part of the monorepo and have a group_id of com.google.cloud. This is a good improvement as it correctly prevents non-cloud libraries from having incorrect BOM usage instructions. The change is simple, correct, and well-aligned with the goal of providing accurate documentation.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@blakeli0 blakeli0 changed the title chore: Exclude non-cloud libraries from BOM generation in README. chore: Explicitly include specific group of libraries for README's BOM section generation Dec 26, 2025
blakeli0 added 2 commits December 26, 2025 13:15
@blakeli0
chore: Add com.google.analytics and com.google.area120 to the inclusi…
daea281
…on list.
@blakeli0
Merge branch 'main' into fix-readme
5b638b9
@sonarqubecloud

sonarqubecloud Bot commented Dec 29, 2025

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'gapic-generator-java-root'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sonarqubecloud

sonarqubecloud Bot commented Dec 29, 2025

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@blakeli0
blakeli0 marked this pull request as ready for review December 29, 2025 16:54
suztomo
suztomo approved these changes Dec 29, 2025
View reviewed changes
@blakeli0
blakeli0 merged commit a36c0e8 into main Dec 29, 2025
@blakeli0
blakeli0 deleted the fix-readme branch December 29, 2025 17:42
lqiu96 pushed a commit that referenced this pull request Feb 12, 2026
@blakeli0 @lqiu96
chore: Explicitly include specific group of libraries for README's BO…
5fa0adb
…M section generation (#4028)

Group ids included in the gapic-libraries-bom are 

- com.google.cloud
- com.google.analytics
- com.google.area120

This inclusion list is specified [in the
generator](https://github.com/googleapis/sdk-platform-java/blob/32d8aa1ce0a19fb45c1af226d59786d803f4c6c8/hermetic_build/library_generation/utils/pom_generator.py#L86-L90).
Use the same list for README's BOM section generation.

Verified in [google-cloud-java
](https://github.com/googleapis/google-cloud-java/pull/11852/files)
using SNAPSHOT version of generator that groups ids (e.g. ads) outside
of these three are correctly excluded.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
@suztomo suztomo suztomo approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size: xs Pull request size is extra small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@blakeli0 @suztomo
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.