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

Enabled CD #48

Merged
merged 4 commits into from
Jun 24, 2024
Merged

Enabled CD #48

merged 4 commits into from
Jun 24, 2024

Conversation

vwagh-dev
Copy link
Contributor

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@vwagh-dev vwagh-dev requested a review from a team as a code owner June 20, 2024 14:11
Copy link
Contributor

@strangelookingnerd strangelookingnerd left a comment

Choose a reason for hiding this comment

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

Right now the plugin already uses renovate to handle dependency updates. So there is no need to use dependabot as well.

Further I would prefer to not have automated releases and opt-out of JEP-229.
It would remove the ability to have a semantic version for this plugin which is useful as it is connected to the version of the bundled httpclient5 lib.

@jtnord
Copy link
Member

jtnord commented Jun 20, 2024

It would remove the ability to have a semantic version for this plugin which is useful as it is connected to the version of the bundled httpclient5 lib.

this is not the case - and this is retained in the PR - the revision is specifically still tied to the version of the library - everything else comes after as a qualifier so semver is retained, which is exactly the same as the current release versions.

The only difference should be that the versions x.y.z-a.b a would not restart at zero for each bump in z but this still adheres to semver.

for an example see the releases caffeine-api plugin

@strangelookingnerd
Copy link
Contributor

Waiting for jenkins-infra/repository-permissions-updater#3980 to be merged.

@jtnord
Copy link
Member

jtnord commented Jun 21, 2024

It would remove the ability to have a semantic version for this plugin which is useful as it is connected to the version of the bundled httpclient5 lib.

this is not the case - and this is retained in the PR - the revision is specifically still tied to the version of the library - everything else comes after as a qualifier so semver is retained, which is exactly the same as the current release versions.

To avoid any confusion, loosing semver is not the case with how CD is implemented here, as it is following Versioning with wrapped components (optional) from the docs

if you are enabling / reviewing CD on other repos, you need to follow this path, otherwise you will get non semver versions for api plugins.

You can always check by running mvn validate -Dset.changelist -Dignore.dirt and seeing what version it creates.

@strangelookingnerd
Copy link
Contributor

strangelookingnerd commented Jun 21, 2024

To avoid any confusion, loosing semver is not the case with how CD is implemented here, as it is following Versioning with wrapped components (optional) from the docs

if you are enabling / reviewing CD on other repos, you need to follow this path, otherwise you will get non semver versions for api plugins.

You can always check by running mvn validate -Dset.changelist -Dignore.dirt and seeing what version it creates.

Thanks for the clarification, it’s been a while since I looked at that topic. It indeed makes life easier for library plugins.

@strangelookingnerd strangelookingnerd merged commit d0ba7ad into jenkinsci:main Jun 24, 2024
16 checks passed
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