packageRules regex is not represented during dependency resolution #30946
Unanswered
tramjn
asked this question in
Request Help
Replies: 1 comment
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would you like help with?
I think I found a bug
How are you running Renovate?
Mend Renovate hosted app on github.com
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
No response
Please tell us more about your question or problem
We are using regex for versioning in a custom package rule. This is what we see in the
packageRules
:"versioning": "regex:^((?<major>\\d+)|lts)-alpine3\\.(?<minor>\\d+)(-(?<compatibility>.+))?$"
, but we are seeing a different regex during version resolution:"versioning": "regex:^(?<major>\\d+)-alpine3\\.(?<minor>\\d+)(-(?<compatibility>.+))?$"
The version we are seeing this use for dependency resolution is an older version of the regex. Is there a way to get Renovate to use a recent version of the regex (the version from the
packageRules
)? The newer regex is showing up for some repos, but for other repos it still continues to use the old version despite re-running the Renovate scan.Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions