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
separateMajorMinor
flag in package rule doesn't override the global one for grouped dependencies
#10190
Comments
Thank you for providing a reproduction! 🎉 🚀 The Renovate team will take a look at the reproduction repository. Once we confirm the provided repository reproduces the problem, the label will be changed to |
This seems to be occurring due to the variable-based grouping ( |
In hisener/renovate-tests@b458ada. Looks like it didn't help, they are still in the Relevant debug logs Click me to see logs
|
@rarkins I saw you've added the |
Honestly, I forgot why I marked it as ready. I think I worked out in my head what was going on but only updated the label instead of adding the description. Is it possible for you to separate this reproduction into its own repo so that only the minimum dependencies are present? Then I'll try to step through it again and let you know if I am able to fix it right away or if it will need your help. |
I've already reset the repo before creating the reproduction. Currently, it contains 3 grouped dependencies and one independent dependency (to show it works fine for non-grouped dependencies). Please have a look at https://github.com/hisener/renovate-tests/blob/master/pom.xml. Let me know if that works. |
Looks like a configuration issue. {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"ignorePresets": [
":prHourlyLimit2"
],
"separateMajorMinor": false,
"packageRules": [
{
"matchPackagePatterns": [
"^org\\.eclipse\\.jetty:jetty-bom$",
- "^hibernate-validator$",
+ "^org\\.hibernate\\.validator:hibernate"
],
"separateMajorMinor": true,
"separateMinorPatch": true,
+ "groupName": "group jetty&hibernate-validator"
}
]
}
|
How are you running Renovate?
Renovate version: 25.31.2
Describe the bug
separateMajorMinor
flag in package rules doesn't seem to be overridden the global value for grouped dependencies.For instance,
We should have two PRs for Hibernate Validator
6.1.7.Final
given that6.2.0.Final
and7.0.1.Final
are available. However, there is only one open PR: hisener/renovate-tests#65Seems like it only affects grouped dependencies as we have two separate PRs for Jetty. See hisener/renovate-tests#63 and hisener/renovate-tests#64.
Renovate config: https://github.com/hisener/renovate-tests/blob/master/renovate.json
See also #9746 (comment).
Relevant debug logs
Click me to see logs
Have you created a minimal reproduction repository?
The text was updated successfully, but these errors were encountered: