Skip to content
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

chore: exclude grpc-android from bom validation #6189

Merged
merged 5 commits into from
Sep 19, 2023
Merged

Conversation

mpeddada1
Copy link
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕️

If you write sample code, please follow the samples format.

builder.append(" <version>").append(version).append("</version>\n");
builder.append(" <type>pom</type>\n");
builder.append(" <scope>import</scope>\n");
builder.append(" <exclusions>\n");
Copy link
Member

Choose a reason for hiding this comment

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

I don't think dependencyManagement's "import" type can take exclusion.

If it works, can you add your observation when you run this with the latest grpc-bom?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right. The exclusion compiles but it doesn't work for a dependencyManagement import. Tried replicating the GA job's behavior locally and observed that it creates a tmp/validation-bom/pom.xml which includes the following dependencies:

Screenshot 2023-09-19 at 11 16 47 AM

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Verified that with changes in f965cf7, the tmp/validation-bom/pom.xml doesn't contain grpc-android`
Screenshot 2023-09-19 at 11 21 29 AM

@suztomo
Copy link
Member

suztomo commented Sep 19, 2023

First, ensure you know how to run the class.

@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. and removed size: s Pull request size is small. labels Sep 19, 2023
@mpeddada1 mpeddada1 requested a review from suztomo September 19, 2023 15:34
@mpeddada1 mpeddada1 merged commit b44a994 into main Sep 19, 2023
22 checks passed
@mpeddada1 mpeddada1 deleted the exclude-grpc-android branch September 19, 2023 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants