-
Notifications
You must be signed in to change notification settings - Fork 38
chore: migrate to owlbot #669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Warning: This pull request is touching the following templated files:
|
minherz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to comment on all the order changes in CI and POM files?
.github/workflows/ci.yaml
Outdated
| - uses: actions/checkout@v2 | ||
| - uses: stCarolas/setup-maven@v4 | ||
| with: | ||
| maven-version: 3.8.1 | ||
| - uses: actions/checkout@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is a reason to change the order?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The order of these commands across libraries is as owlbot's change here. Set up the environment first, then setup the maven version.
| <version>3.1.0</version> | ||
| <version>3.1.1</version> | ||
| </dependency> | ||
|
|
||
| ``` | ||
|
|
||
| If you are using Gradle 5.x or later, add this to your dependencies | ||
|
|
||
| ```Groovy | ||
| implementation platform('com.google.cloud:libraries-bom:22.0.0') | ||
| implementation platform('com.google.cloud:libraries-bom:23.0.0') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aren't these supposed to be auto-generated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are autogenerated. When running the migration script, it picks up all the latest unmerged changes in the repo.
google-cloud-logging-bom/pom.xml
Outdated
| <groupId>com.google.api.grpc</groupId> | ||
| <artifactId>proto-google-cloud-logging-v2</artifactId> | ||
| <version>0.90.2-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-logging-v2:current} --> | ||
| <groupId>com.google.cloud</groupId> | ||
| <artifactId>google-cloud-logging</artifactId> | ||
| <version>3.1.2-SNAPSHOT</version><!-- {x-version-update:google-cloud-logging:current} --> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.google.api.grpc</groupId> | ||
| <artifactId>grpc-google-cloud-logging-v2</artifactId> | ||
| <version>0.90.2-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-logging-v2:current} --> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.google.cloud</groupId> | ||
| <artifactId>google-cloud-logging</artifactId> | ||
| <version>3.1.2-SNAPSHOT</version><!-- {x-version-update:google-cloud-logging:current} --> | ||
| <groupId>com.google.api.grpc</groupId> | ||
| <artifactId>proto-google-cloud-logging-v2</artifactId> | ||
| <version>0.90.2-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-logging-v2:current} --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there any specific reason to change order of the dependencies?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change in the order of dependencies doesn't make any difference since maven creates its own dependency tree and resolves the order. Owlbot reorders the dependencies purely for consistency across libraries.
| <module>proto-google-cloud-logging-v2</module> | ||
| <module>grpc-google-cloud-logging-v2</module> | ||
| <module>google-cloud-logging</module> | ||
| <module>grpc-google-cloud-logging-v2</module> | ||
| <module>proto-google-cloud-logging-v2</module> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same question about the order.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same. For consistency.
|
@minherz - this PR is autogenerated. I'm merging it. |
No description provided.