镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

chore: set name_pretty_override for all Shopping Merchant libraries - #9698

Merged
quirogas merged 1 commit into
googleapis:mainfrom
quirogas:task-merchant-name-pretty-override
Oct 22, 2026
Merged

quirogas merged 1 commit into
googleapis:mainfrom
quirogas:task-merchant-name-pretty-override

Conversation

@quirogas

Copy link
Copy Markdown
Contributor

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

Prevent Librarian from overwriting .repo-metadata.json name_pretty with
the umbrella service title ('Merchant' from merchantapi_v1.yaml) when
generating or regenerating google-shopping-merchant-* packages.

- Add nodejs.name_pretty_override ('Shopping Merchant <Subproduct>') to
  all 14 google-shopping-merchant-* entries in librarian.yaml.
- Regenerate all 14 Merchant libraries with Librarian v0.49.0, updating
  packages/google-shopping-merchant-loyaltycustomers/.repo-metadata.json
  from 'Merchant' to 'Shopping Merchant Loyalty Customers'.

@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 updates the pretty names for various Google Shopping Merchant API libraries in librarian.yaml by adding the name_pretty_override property. Additionally, it updates the name_pretty field in the repository metadata for the google-shopping-merchant-loyaltycustomers package. There are no review comments, and I have no feedback to provide.

@quirogas
quirogas marked this pull request as ready for review October 22, 2026 06:03
@quirogas
quirogas requested a review from a team as a code owner October 22, 2026 06:03
@github-actions
github-actions Bot requested a review from feywind October 22, 2026 06:03
@quirogas
quirogas requested review from suztomo and removed request for feywind October 22, 2026 06:04
@quirogas
quirogas enabled auto-merge (squash) October 22, 2026 06:23
@quirogas
quirogas merged commit 0b85bbe into googleapis:main Oct 22, 2026
47 checks passed
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