-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Dependabot ignore semantic version not working with latest dependabot-updater-maven #10634
Comments
Same here: - dependency-name: "org.apache.mina:mina-core"
update-types:
- "version-update:semver-major" got ignored. Also, |
We've noticed this too, is there an immediate workaround, e.g. reverting the Dependabot version we are using? Do you have a known working version? |
@nabeelpaytrix do you know any way to specify version for dependabot-updater-maven on dependabot v2? |
@amazimbe sorry for this inconvenience. |
@phuc98ute the issue with the ignore conditions seems to be present even in versions prior to merging the PR you cited. I run an older version of dependabot against phuc98ute/dependabot-ignore-major and got +---------------------------------------------------------------------------------------+ |
The issue with the 2.0.1.MR version is expected and was explained on this discussion #10626 . Basically, we decided to follow the maven specification for version identifiers. In this spec, MR is not one of the supported qualifiers for prereleases or development versions. |
In our project we e.g. use the following ignores:
They are all getting ignored now. Even worse: ignore conditions that were set with This is really awful! |
Following further investigations, I was able to reproduce this in dependabot versions following the merge of my PR. I have therefore reverted my changes. My sincere apologies for the great inconvenience. |
Thank @amazimbe , the ignore function on maven ecosystem works now |
Is there an existing issue for this?
Package ecosystem
maven
Package manager version
maven
Language version
Java
Manifest location and content before the Dependabot update
https://github.com/phuc98ute/dependabot-ignore-major/blob/main/pom.xml
dependabot.yml content
Ref here: https://github.com/phuc98ute/dependabot-ignore-major/blob/main/.github/dependabot.yml
Updated dependency
org.mockito:mockito-core from 4.11.0 to 5.0.0
What you expected to see, versus what you actually saw
On the github action log, it show that the updater received correct ignore version config at here and here. However, it found a latest version 5.0.0 and decide to upgrade version from 4.11.0 to 5.0.0 here
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
phuc98ute/dependabot-ignore-major#1
Smallest manifest that reproduces the issue
Please ref to public demo repo here: https://github.com/phuc98ute/dependabot-ignore-major
The text was updated successfully, but these errors were encountered: