Skip to content

feat(google/shopping/merchant/reviews/v1): onboard a new library - #9691

Merged
suztomo merged 1 commit into
mainfrom
onboard-shopping-merchant-reviews-v1
Oct 22, 2026
Merged

suztomo merged 1 commit into
mainfrom
onboard-shopping-merchant-reviews-v1

Conversation

@suztomo

@suztomo suztomo commented Oct 21, 2026

Copy link
Copy Markdown
Member

Onboard google/shopping/merchant/reviews/v1 API (google-shopping-merchant-reviews).

Internal tracking bug http://b/574419394

PiperOrigin-RevId: 1000790478

Debug Info

System Details

  • Node.js version: v22.22.3
  • pnpm version: 10.34.7
  • OS: Linux 7.1.6-1rodete1-amd64 x86_64
  • Librarian version: v0.49.0

Commands Executed

  • go run github.com/googleapis/librarian/cmd/librarian@v0.49.0 install
  • go run github.com/googleapis/librarian/cmd/librarian@v0.49.0 add google/shopping/merchant/reviews/v1
  • go run github.com/googleapis/librarian/cmd/librarian@v0.49.0 generate google-shopping-merchant-reviews
  • go run github.com/googleapis/librarian/cmd/librarian@v0.49.0 tidy
  • git add .
  • `git commit -m "feat(google/shopping/merchant/reviews/v1): onboard a new library

b/574419394

PiperOrigin-RevId: 1000790478"`

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

Copy link
Copy Markdown
Contributor

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 introduces the v1 version of the ProductReviewsService for the Google Shopping Merchant Reviews API, adding the corresponding proto definitions, generated client libraries, samples, and tests. Feedback on the changes suggests reverting the modification of name_pretty in .repo-metadata.json from "Merchant" back to "Shopping Merchant Reviews" to prevent confusion and display issues in the generated documentation index.

Comment thread packages/google-shopping-merchant-reviews/.repo-metadata.json Outdated
@suztomo

suztomo commented Oct 21, 2026

Copy link
Copy Markdown
Member Author

Hi @shivanee-p @quirogas, could you please take a look at this library onboarding PR when you get a chance? Thanks!

@quirogas
quirogas self-requested a review October 21, 2026 22:28
@suztomo
suztomo marked this pull request as ready for review October 21, 2026 22:34
@suztomo
suztomo requested a review from a team as a code owner October 21, 2026 22:34
@github-actions
github-actions Bot requested a review from shivanee-p October 21, 2026 22:35
@suztomo
suztomo marked this pull request as draft October 22, 2026 16:46
b/574419394

PiperOrigin-RevId: 1000790478
@suztomo
suztomo force-pushed the onboard-shopping-merchant-reviews-v1 branch from 0a58a4f to 80e62ac Compare October 22, 2026 16:54
@suztomo

suztomo commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

I think it's better to use name_pretty_override in librarian.yaml temporarily until googleapis/librarian#7805 lands.

@suztomo
suztomo marked this pull request as ready for review October 22, 2026 17:05
@suztomo

suztomo commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

@suztomo
suztomo merged commit f369d0b into main Oct 22, 2026
47 checks passed
@suztomo
suztomo deleted the onboard-shopping-merchant-reviews-v1 branch October 22, 2026 17:11
@release-please release-please Bot mentioned this pull request Oct 22, 2026
quirogas added a commit that referenced this pull request Oct 22, 2026
…9698)

## Description

Configure `name_pretty_override` for all 14 Shopping Merchant packages
in `librarian.yaml`.

## Impact

Prevents Librarian from overwriting Shopping Merchant `name_pretty`
values with `"Merchant"`.

## Changes

- Add `nodejs.name_pretty_override` (`Shopping Merchant <Subproduct>`)
to all 14 `google-shopping-merchant-*` library entries in
`librarian.yaml` so Librarian does not default to
`cleanTitle(api.Title)` (`"Merchant"`) from the shared
`google/shopping/merchant/v1/merchantapi_v1.yaml` service config.
- Regenerate all 14 `google-shopping-merchant-*` libraries using the
Librarian CLI (`v0.49.0`), which updates
`packages/google-shopping-merchant-loyaltycustomers/.repo-metadata.json`
`name_pretty` from `"Merchant"` to `"Shopping Merchant Loyalty
Customers"`.

## Testing

- Ran `librarian tidy` and `librarian install` (`v0.49.0`, Node.js
`v22.23.2`, `pnpm` `10.34.6`).
- Ran `librarian generate <lib>` across all 14
`google-shopping-merchant-*` packages.
- Verified that the 13 Merchant packages that already had `"Shopping
Merchant <Subproduct>"` regenerated with zero diff, and
`google-shopping-merchant-loyaltycustomers/.repo-metadata.json` updated
cleanly to `"Shopping Merchant Loyalty Customers"`.

## Alternatives

- Manually reverting `.repo-metadata.json` on every Librarian
regeneration or onboarding PR (as in #9691) was rejected because weekly
API source updates and Librarian version bumps will repeatedly overwrite
`name_pretty` back to `"Merchant"` without `name_pretty_override` in
`librarian.yaml`.
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.

3 participants