Skip to content

Conversation

@ldetmer
Copy link
Contributor

@ldetmer ldetmer commented Nov 4, 2025

  1. Post processing files should remove mention of owlbot (in file name), to indicate that these files are being used by Librarian and not legacy owlbot system.
  2. add clarity around ticket opening
  3. fix invalid link
  4. separate out owlbot/release please specific instructions

Post processing files should remove mention of owlbot (in name)

Signed-off-by: ldetmer <[email protected]>
@ldetmer ldetmer requested a review from a team as a code owner November 4, 2025 20:22
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @ldetmer, 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 refines the documentation for library onboarding, specifically focusing on the guidelines for post-processing files. It clarifies the expected naming convention for these files and removes an outdated reference, ensuring the migration guide remains current and accurate for users.

Highlights

  • Documentation Update: The pull request updates the doc/repository-library-onboarding.md file to clarify requirements for post-processing files during library migration.
  • Post-processing File Naming: The updated documentation now specifies that any post-processing files should be named librarian(suffix).
  • Removal of OwlBot Reference: The explicit mention of 'OwlBot' in relation to post-processing files has been removed from the migration guide, streamlining the terminology.
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.

Copy link
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 updates the repository onboarding guide to clarify the naming requirements for post-processing files, removing the mention of 'OwlBot'. My review includes a suggestion to further clarify the new naming convention to avoid ambiguity and re-introduces a removed suggestion about creating issues for improving post-processing logic, as it's a valuable practice.

@codecov
Copy link

codecov bot commented Nov 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.51%. Comparing base (3f6d477) to head (8630b9b).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2788      +/-   ##
==========================================
- Coverage   86.74%   86.51%   -0.23%     
==========================================
  Files         119      120       +1     
  Lines       10183    10336     +153     
==========================================
+ Hits         8833     8942     +109     
- Misses        949      987      +38     
- Partials      401      407       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

julieqiu
julieqiu previously approved these changes Nov 5, 2025
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: ldetmer <[email protected]>
julieqiu
julieqiu previously approved these changes Nov 6, 2025
Copy link
Member

@julieqiu julieqiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few comments. Feel free to address them in a follow-up PR.

This guide should be followed when onboarding new repositories/libraries.

## Repository Setup:
1) [Create ticket](http://go/onboard-repository-to-librarian) to onboard repository to Librarian automation. At a minimum, you should onboard to Tag and Release automation.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How many tickets is the person onboarding expected to file? Is it one ticket per library, one ticket per repository, or something else?

Copy link
Contributor Author

@ldetmer ldetmer Nov 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added specification its per repository

This guide should be followed when onboarding new repositories/libraries.

## Repository Setup:
1) [Create ticket](http://go/onboard-repository-to-librarian) to onboard repository to Librarian automation. At a minimum, you should onboard to Tag and Release automation.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume that this guide is the starting point for someone who doesn't know much about Librarian. In that case, Tag and Release automation might be unfamiliar to someone new. Could we add a brief explanation or a link to its documentation for context?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added link


## Repository Setup:
1) [Create ticket](http://go/onboard-repository-to-librarian) to onboard repository to Librarian automation. At a minimum, you should onboard to Tag and Release automation.
2) Add `.librarian` directory to your repository with appropriate configuration files. See details [here](https://github.com/googleapis/librarian/blob/main/doc/language-onboarding.md#configuration-files)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#configuration-files no longer exists

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks updated to correct link

- For a monolithic repo remove the path entry for the library in your release-please-config.json and .release-please-manifest.json files
- For a single library repository, remove all the release-please config (.github/release-please.yml, release-please-config.json if it exists, .release-please-manifest.json if it exists)
4) There is no requirement to stop using library-specific OwlBot post-processing files as part of this migration. However, while migrating, please open an issue in your generator repository for any improvements that could reduce your library's post-processing logic.
4) There is no requirement to stop using library-specific post-processing files as part of this migration. However, any post processing should be included in a file named "librarian.<ext>", where <ext> corresponds to the script's file extension (e.g., "sh", "py"). While migrating, please also consider opening an issue in your generator repository for any improvements that could reduce your library's post-processing logic.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are post-processing files and how does this logic work?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are changes that are made after protos are generated to that library, usually by hybrid clients with custom logic, ex additional wrapper methods they want added to generated files. For language containers, they can add logic to their generate method to check for these files and apply any post processor.

![Pull request settings](assets/setting-pull-requests.webp)

## Library Setup:
1) Ensure all OwlBot PRs for that library have been merged and then release the library using a release-please PR
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section's focus on OwlBot and release-please is very specific to certain language ecosystems. Since other languages don't use these tools, I'd suggest splitting this part out to better differentiate these specific steps from information that is broadly relevant.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

separated into separate section

@julieqiu
Copy link
Member

julieqiu commented Nov 6, 2025

Post processing files should remove mention of owlbot (in name)

It's not immediately clear to me why this change is needed based on the current commit message. Would you mind adding some more context?

@ldetmer ldetmer changed the title chore: clarify post-processing file requirements in migration chore: clean up repository onboarding documentation Nov 6, 2025
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