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

Allow for selection of the previous two previous versions of the Gradle Enterprise Maven Extension #262

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

clayburn
Copy link
Collaborator

@clayburn clayburn commented Jun 6, 2023

This pull request allows the user to select the most recent patch version of the previous two releases of the Gradle Enterprise Maven Extension. For example, as of today where 1.17.3 is the most recent release, 1.15.5 and 1.16.6 are also selectable. This is achieved by bundling all 3 versions of the extension into the agent jar.

This is enforced at the connection UI with a dropdown. By default the dropdown has an empty value selected, but the user can change this to any of the three bundled versions of the Gradle Enterprise Maven Extension.

Since the Common Custom User Data Maven Extension is likewise bundled with the agent jar, the same dropdown UI is used to enforce the user to pick the correct version.

@clayburn clayburn force-pushed the cj/multiple_ge_mvn_extensions branch from 79048d3 to 5c058ee Compare June 6, 2023 13:40
@@ -30,6 +34,8 @@ dependencies {

processResources {
from configurations.mvnExtensions
from configurations.geMvnExtensionOnePrevious
from configurations.geMvnExtensionTwoPrevious
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This PR (not just this line) increase the complexity of managing the extension versions in this repository. I see two issues:

  • I expect Dependabot to try to update these two lines to the most recent versions of Gradle Enterprise Maven Extension every time a new release occurs. We could either disable Dependabot for the agent and lost the benefits for all other dependencies, or ensure Dependabot PRs for these two lines are not merged. Both feel problematic.
  • This just adds more places where we need to manually update version numbers on updates to the Gradle Enterprise Maven Extension that are not covered by Dependabot. See other references to versions present in this PR. I'd be interested in discussing a solution to this issue at some point.

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