Issue with minimumReleaseAge and matchRegistryUrls #42606
Unanswered
berke581
asked this question in
Request Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
Self-hosted Renovate CLI
Which platform you running Renovate on?
GitLab (.com or self-hosted)
Which version of Renovate are you using?
43.102.2
Please tell us more about your question or problem
I’m trying to set the
minimumReleaseAgeconfig in Renovate, but only for 3rd party dependencies. Here’s my approach:However, I’ve hit a puzzling issue. For a 3rd party Maven dependency,
minimumReleaseAge: nullseems to apply, even though I expect it to only apply to internal dependencies (where the registry URL matches/org-name/). As a result, recent versions are updated immediately (for Maven deps), which isn’t what I want. Here’s an example log (a few days old), and you can see the registryUrl and registryUrls values:When I remove the packageRules entry with
matchRegistryUrls, it behaves as expected. The new version age changes and updates are delayed according to the config (And also, you can see in the previous log newVersionAgeInDays was set to 0, and in the new log 2, as we expect since we want the minimumReleaseAge to apply here):I also have this rule in my global Renovate config under packageRules, which could be affecting things: But I don't really understand it since the logs clearly state the 3rd party maven repo for registryUrls:
Any insights or advice would be appreciated!
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions