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

PP-11652 Stop Dependabot trying to upgrade us to Dropwizard 4 #2180

Conversation

alexbishop1
Copy link
Contributor

We’d rather Dependabot not try to upgrade Dropwizard at all unless it’s a security fix but it’s not possible to have Dependabot only open security fix pull requests for Java projects.

Dependabot 4 is a major release that switches from the deprecated Java EE to Jakarta EE. This will involve other changes to our code so we’re never going to just merge a Dependabot PR and be done with it.

So if Dependabot is going to insist on opening Dropwizard upgrade PRs, it may as well open ones we might actually merge (such as upgrading from 3.0.1 to 3.0.2 — which it would not open while it sees a ‘newer’ 4.x version is available).

ignore:
- dependency-name: "dropwizard-dependencies"
versions:
- "> 3"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you're better off doing ">= 4" otherwise it won't pick up minor versions of 3.

Also I've just realised I've done the Docker ignores wrong on some other repos 🙀

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I copied from another file!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

We’d rather Dependabot not try to upgrade Dropwizard at all unless
it’s a security fix but it’s not possible to have Dependabot only
open security fix pull requests for Java projects.

Dependabot 4 is a major release that switches from the deprecated
Java EE to Jakarta EE. This will involve other changes to our code
so we’re never going to just merge a Dependabot PR and be done with
it.

So if Dependabot is going to insist on opening Dropwizard upgrade
PRs, it may as well open ones we might actually merge (such as
upgrading from 3.0.1 to 3.0.2 — which it would not open while it
sees a ‘newer’ 4.x version is available).
@alexbishop1 alexbishop1 force-pushed the PP-11652_stop_dependabot_trying_to_upgrade_us_to_dropwizard_4 branch from 1dad274 to ba73eb4 Compare October 17, 2023 15:10
@alexbishop1 alexbishop1 merged commit 7d0087f into master Oct 17, 2023
3 checks passed
@alexbishop1 alexbishop1 deleted the PP-11652_stop_dependabot_trying_to_upgrade_us_to_dropwizard_4 branch October 17, 2023 16:07
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