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

Add test codifying behavior when two modules reuse the same extension number #171

Merged

Conversation

andrewparmet
Copy link
Collaborator

Beginning the process of addressing envoyproxy/java-control-plane#296.

The plugin should be able to be configured to ignore these conflicts since the user is not in control of the bad actor dependency.

The failing tests are due to user-level failure, but in principle (and this is what happened) one may have dependencies that conflict and there's nothing you can do.

@@ -1,7 +1,7 @@
buildscript { repositories { gradlePluginPortal() } }

plugins {
id("net.vivin.gradle-semantic-build-versioning") version "4.0.0"
id("io.alcide.gradle-semantic-build-versioning") version "4.2.2"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was having trouble running Gradle locally. This fixed the issue and is the spiritual successor to the unmaintained original plugin we use currently.

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 have experience with this plugin, but since it is now a fork of a fork we may encounter future ownership issues again at some point.

@andrewparmet andrewparmet changed the title add test codifying behavior for plugin when two sources reuse the same extension number Add test codifying behavior for plugin when two sources reuse the same extension number Dec 24, 2023
@andrewparmet andrewparmet changed the title Add test codifying behavior for plugin when two sources reuse the same extension number Add test codifying behavior for plugin when two modules reuse the same extension number Dec 24, 2023
@andrewparmet andrewparmet changed the title Add test codifying behavior for plugin when two modules reuse the same extension number Add test codifying behavior when two modules reuse the same extension number Dec 24, 2023
Copy link
Member

@pkwarren pkwarren left a comment

Choose a reason for hiding this comment

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

Looks good!

@@ -1,7 +1,7 @@
buildscript { repositories { gradlePluginPortal() } }

plugins {
id("net.vivin.gradle-semantic-build-versioning") version "4.0.0"
id("io.alcide.gradle-semantic-build-versioning") version "4.2.2"
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 have experience with this plugin, but since it is now a fork of a fork we may encounter future ownership issues again at some point.

@andrewparmet
Copy link
Collaborator Author

It looks like this isn't something that will be configurable in Buf: bufbuild/buf#2688

But I'm going to merge this anyways since it's good to nail it down in case this does ever change.

@andrewparmet andrewparmet merged commit 7fc4efd into main Jan 2, 2024
8 checks passed
@andrewparmet andrewparmet deleted the buf-build-given-resource-that-reuses-extension-number branch January 2, 2024 16:42
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.

2 participants