Skip to content

Conversation

@JoeWang1127
Copy link
Contributor

Fixes #2721

@JoeWang1127
Copy link
Contributor Author

/gemini review

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 effectively consolidates the onboarding instructions by moving the prerequisites section from doc/library-maintainer-guide.md to doc/onboarding.md. This change improves the structure and clarity of the documentation. I have one suggestion to improve the user experience for new contributors.

@JoeWang1127
Copy link
Contributor Author

/gemini review

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 effectively consolidates the onboarding and development environment setup instructions by moving the prerequisites from library-maintainer-guide.md to onboarding.md. This is a good refactoring that improves the documentation structure and reduces duplication. I have one suggestion to improve the clarity of the prerequisites for new contributors.

@codecov
Copy link

codecov bot commented Nov 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.50%. Comparing base (f042d0b) to head (f1eb39f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2804   +/-   ##
=======================================
  Coverage   86.50%   86.50%           
=======================================
  Files         120      120           
  Lines       10232    10232           
=======================================
  Hits         8851     8851           
  Misses        977      977           
  Partials      404      404           

☔ 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.

@JoeWang1127 JoeWang1127 marked this pull request as ready for review November 5, 2025 21:00
@JoeWang1127 JoeWang1127 requested a review from a team as a code owner November 5, 2025 21:00
@JoeWang1127 JoeWang1127 requested a review from ldetmer November 5, 2025 21:01
## Step 2: Set Up Your Editor
- Linux
- [Go](https://go.dev/doc/install)
- sudoless Docker
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- sudoless Docker
- [sudoless Docker] (go/docker)

- [Go](https://go.dev/doc/install)
- sudoless Docker
- git (if you wish to build it locally)
- gcloud (to set up Docker access to conatiner images)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- gcloud (to set up Docker access to conatiner images)
- [gcloud](https://g3doc.corp.google.com/company/teams/cloud-sdk/cli/index.md?cl=head#installing-and-using-the-cloud-sdk) (to set up Docker access to conatiner images)

- gcloud (to set up Docker access to conatiner images)
- [gh](https://github.com/cli/cli) for GitHub access tokens

While in theory `librarian` can be run in non-Linux environments that support
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
While in theory `librarian` can be run in non-Linux environments that support
`librarian` should be run from your remote desktop

- [gh](https://github.com/cli/cli) for GitHub access tokens

While in theory `librarian` can be run in non-Linux environments that support
Linux Docker containers, Google policies make this at least somewhat infeasible
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Linux Docker containers, Google policies make this at least somewhat infeasible


While in theory `librarian` can be run in non-Linux environments that support
Linux Docker containers, Google policies make this at least somewhat infeasible
(while staying conformant), so `librarian` is not tested other than on Linux.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
(while staying conformant), so `librarian` is not tested other than on Linux.

> practical way of abstracting away language details. We are confident that
> there are enough Googlers who require Docker to work on gLinux that it won't
> actually go away any time soon. We may investigate using podman instead if
> necessary.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
> necessary.

project and begin contributing effectively.

## Step 1: Install Go
## Prerequisites
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
## Prerequisites
## Step 1: Setup Environment to Run Librarian

These will teach you the foundations for how to write, run, and test Go code.

## Step 5: Understand How We Write Go
## Step 4: Understand How We Write Go
Copy link
Contributor

Choose a reason for hiding this comment

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

```sh
gcloud auth configure-docker us-central1-docker.pkg.dev
```
See [onboarding](onboarding.md).
Copy link
Contributor

Choose a reason for hiding this comment

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

See [Setup Environment to Run Librarian](link directly to section)

```
See [onboarding](onboarding.md).

## Running `librarian`
Copy link
Contributor

Choose a reason for hiding this comment

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

replace this section with:

See [Running Librarian](link directly to section in onboarding doc)

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.

doc: update doc/onboarding.md with information on how to configure development environment

3 participants