Misunderstanding about matchPackageNames #32644
Replies: 2 comments 3 replies
-
Hi there, This discussion is too complex, and we want you to simplify. This way you are more likely to get help or a solution. For example, if you've pasted your whole complex config, while your problem is about just one part, consider removing the parts that are not relevant to your problem. The best way to do this is to create a minimal reproduction. You may have tried many ways to do something, and described all the methods you tried. If none of the methods worked, please focus on the most promising method, or the ideal solution. Avoid complicating the description (or logs) with the failed attempts. To summarize: please reduce the complexity of your discussion, to increase the chances of getting help. Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
Renovate has a hardcoded rule to add the |
Beta Was this translation helpful? Give feedback.
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitLab - ghcr.io/renovatebot/renovate:39.19.1@sha256:70c69d2523448834ae53111d6440d4ad199fe390845f0712ac4128e5740fe2d7
Please tell us more about your question or problem
Hello,
I'm trying to set up renovate to have specific rules for a set of dependencies in a maven project.
Under packageRules, I created a rule containing the packages i want a special treatment for using the
matchPackageNames
I validated the regex with regex101 (unescaping backslashes)
Example:
for the
packageName
"org.springframework:spring-test"
, I get the following branch name, which is incorrect:I first noticed this behavior through the dependency dashboard, which only grouped dependencies by major/minor (patches are not listed since they do not require dashboard approval)
Below is the minimal reproduction of the configuration I'm currently testing:
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions