Skip to content

chore: remove name_pretty_override from librarian.yaml#16797

Open
jskeet wants to merge 5 commits intogoogleapis:mainfrom
jskeet:remove-name-pretty-override
Open

chore: remove name_pretty_override from librarian.yaml#16797
jskeet wants to merge 5 commits intogoogleapis:mainfrom
jskeet:remove-name-pretty-override

Conversation

@jskeet
Copy link
Copy Markdown
Contributor

@jskeet jskeet commented Apr 24, 2026

@jskeet jskeet requested review from a team as code owners April 24, 2026 11:34
@jskeet jskeet requested review from GarrettWu and daniel-sanche and removed request for a team April 24, 2026 11:34
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a 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 standardizes product display names across numerous libraries by removing "Google Cloud" and "API" suffixes from metadata and documentation. While most updates are correct, the removal of name_pretty from both librarian.yaml and .repo-metadata.json for the google-apps-card, google-cloud-appengine-logging, and google-cloud-bigquery-logging packages has caused critical documentation errors. These include empty product names in titles, incorrect underline formatting in RST files, and broken link references in the generated README.rst and summary_overview.md files. The reviewer recommends restoring valid name_pretty values in the metadata files to ensure the documentation remains functional and correctly formatted.

"language": "python",
"library_type": "GAPIC_AUTO",
"name": "google-apps-card",
"name_pretty": "Google Apps Card Protos",
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.

high

Removing name_pretty from .repo-metadata.json while also removing the override in librarian.yaml causes the generated documentation (README.rst, summary_overview.md) to have empty product names and broken links. Please provide a valid name_pretty value instead of removing it.

Suggested change
"name_pretty": "Google Apps Card Protos",
"name_pretty": "Apps Card",

"language": "python",
"library_type": "OTHER",
"name": "appenginelogging",
"name_pretty": "App Engine Logging Protos",
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.

high

Removing name_pretty from .repo-metadata.json while also removing the override in librarian.yaml causes the generated documentation to have empty product names. Please provide a valid name_pretty value instead of removing it.

Suggested change
"name_pretty": "App Engine Logging Protos",
"name_pretty": "App Engine Logging",

"language": "python",
"library_type": "OTHER",
"name": "bigquerylogging",
"name_pretty": "BigQuery Logging Protos",
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.

high

Removing name_pretty from .repo-metadata.json while also removing the override in librarian.yaml causes the generated documentation to have empty product names. Please provide a valid name_pretty value instead of removing it.

Suggested change
"name_pretty": "BigQuery Logging Protos",
"name_pretty": "BigQuery Logging",

Comment on lines +1 to +2
Python Client for
==================
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.

high

The product name is missing in the title, and the underline length is incorrect. This is a result of removing name_pretty from the metadata files.

|preview| |pypi| |versions|

`Google Apps Card Protos`_: Google Apps Card Protos
``_: Google Apps Card Protos
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.

high

The link reference is broken (empty backticks) due to the missing product name.

]: #

# BigQuery Logging Protos API
# API
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.

medium

The title is broken (empty name) due to the removal of name_pretty from the metadata.

@jskeet
Copy link
Copy Markdown
Contributor Author

jskeet commented Apr 24, 2026

As before, anything that's missing for a generated library (as opposed to handwritten) can be added to sdk.yaml.

I believe that list is:

  • google-apps-card
  • google-cloud-appengine-logging
  • google-cloud-bigquery-logging
  • google-cloud-iam-logging
  • google-cloud-source-context
  • google-shopping-type

@jskeet
Copy link
Copy Markdown
Contributor Author

jskeet commented Apr 24, 2026

Titles added in googleapis/librarian#5587

@jskeet jskeet requested a review from parthea April 24, 2026 16:19
@jskeet
Copy link
Copy Markdown
Contributor Author

jskeet commented Apr 24, 2026

I'm going to remove the google-cloud-storage changes from this PR as we know it's failing at the moment.

@jskeet jskeet force-pushed the remove-name-pretty-override branch from 726783d to fea2620 Compare April 24, 2026 16:27
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.

1 participant