Skip to content

fix: Package name#14629

Open
joze-liburn wants to merge 1 commit into
googleapis:mainfrom
joze-liburn:patch-1
Open

fix: Package name#14629
joze-liburn wants to merge 1 commit into
googleapis:mainfrom
joze-liburn:patch-1

Conversation

@joze-liburn
Copy link
Copy Markdown

Packet name is simply wrong, and so are related links.

Packet name is simply wrong, and so are related links.
@joze-liburn joze-liburn requested review from a team as code owners May 22, 2026 10:27
@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 22, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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 updates the pubsub/MIGRATING.md file to correct the package paths for the v2 Pub/Sub Go client, ensuring they point to the specific pubsub directory. The review feedback recommends upgrading the documentation links from http to https for improved security and consistency, as well as removing trailing whitespace from the modified lines.

Comment thread pubsub/MIGRATING.md
Comment on lines +15 to +17
* [cloud.google.com/go/pubsub/v2](http://cloud.google.com/go/pubsub/v2): The new main v2 package.

* [cloud.google.com/go/v2/apiv1/pubsubpb](http://cloud.google.com/go/v2/apiv1/pubsubpb): The auto-generated protobuf Go types that are used as arguments for admin operations.
* [cloud.google.com/go/pubsub/v2/apiv1/pubsubpb](http://cloud.google.com/go/pubsub/v2/apiv1/pubsubpb): The auto-generated protobuf Go types that are used as arguments for admin operations.
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.

security-medium medium

The links should use https instead of http for better security and to follow modern web standards. Additionally, there are trailing spaces at the end of lines 15 and 17 that should be removed.

Suggested change
* [cloud.google.com/go/pubsub/v2](http://cloud.google.com/go/pubsub/v2): The new main v2 package.
* [cloud.google.com/go/v2/apiv1/pubsubpb](http://cloud.google.com/go/v2/apiv1/pubsubpb): The auto-generated protobuf Go types that are used as arguments for admin operations.
* [cloud.google.com/go/pubsub/v2/apiv1/pubsubpb](http://cloud.google.com/go/pubsub/v2/apiv1/pubsubpb): The auto-generated protobuf Go types that are used as arguments for admin operations.
* [cloud.google.com/go/pubsub/v2](https://cloud.google.com/go/pubsub/v2): The new main v2 package.
* [cloud.google.com/go/pubsub/v2/apiv1/pubsubpb](https://cloud.google.com/go/pubsub/v2/apiv1/pubsubpb): The auto-generated protobuf Go types that are used as arguments for admin operations.

Comment thread pubsub/MIGRATING.md
The following is an overview of the migration process. You can find more details about the classes in the later part of this document.

1. Import the new [cloud.google.com/go/v2](http://cloud.google.com/go/v2) package.
1. Import the new [cloud.google.com/go/pubsub/v2](http://cloud.google.com/go/pubsub/v2) package.
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.

security-medium medium

The link should use https instead of http for consistency and security.

Suggested change
1. Import the new [cloud.google.com/go/pubsub/v2](http://cloud.google.com/go/pubsub/v2) package.
1. Import the new [cloud.google.com/go/pubsub/v2](https://cloud.google.com/go/pubsub/v2) package.

@joze-liburn joze-liburn changed the title Update MIGRATING.md fix: Package name May 22, 2026
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