Skip to content

Conversation

@burkedavison
Copy link
Member

Due to the heavy repo refactoring, it was cleaner to apply the previous PR changes to a new branch.

@burkedavison burkedavison requested a review from a team as a code owner December 21, 2022 16:33
@snippet-bot
Copy link

snippet-bot bot commented Dec 21, 2022

Here is the summary of changes.

You are about to add 169 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

Java idiomatic client for Google Cloud Platform services.
</description>

<parent>
Copy link
Contributor

Choose a reason for hiding this comment

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

Now that we have a proper multi module set up, you may want to consider using the parent bom like other modules did, so that we don't have to list all the versions. It could be improved in a separate PR though, @suztomo may also have some ideas.

Copy link
Member

Choose a reason for hiding this comment

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

The gapic-generator-java-bom is the closest to what the client libraries will use to declare versions. Import it in the dependencyManagement section.

curl --location https://github.com/googleapis/gapic-showcase/releases/download/v${SHOWCASE_VERSION}/gapic-showcase-${SHOWCASE_VERSION}-linux-amd64.tar.gz --output /usr/src/showcase/showcase-${SHOWCASE_VERSION}-linux-amd64.tar.gz
cd /usr/src/showcase/
tar -xf showcase-*
./gapic-showcase run &
Copy link
Member

Choose a reason for hiding this comment

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

Does this run Bazel somewhere? If not, then Bazel cache above are not needed.

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Use bazelisk. You can save your time troubleshooting unexpected Bazel version upgrade in future.

#1163

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

Java idiomatic client for Google Cloud Platform services.
</description>

<parent>
Copy link
Member

Choose a reason for hiding this comment

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

The gapic-generator-java-bom is the closest to what the client libraries will use to declare versions. Import it in the dependencyManagement section.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@burkedavison burkedavison merged commit 820f457 into main Dec 21, 2022
@burkedavison burkedavison deleted the showcase branch December 21, 2022 21:16
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