-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
packageRule matching a given regex configuration of RegexManager #12276
Comments
Can you describe more about why you need this capability? Maybe we can work out another way. You might also try working around it by using depName and lookupName. matchPackageNames/Patterns is based on depName |
oh yes, that should work. Actually, I need a key to group docker image dependencies together and I was worried of what will be displayed in the MR if the depName is all the same. |
It works, but the package name in the MR is now depName for all of them. |
Possible ideas:
Probably depType is best? |
depType seems to be easier to do by adding it to the list renovate/lib/manager/regex/index.ts Lines 16 to 24 in 42fd18d
|
🎉 This issue has been resolved in version 28.9.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
What would you like Renovate to be able to do?
I would like to be able to identify a configuration set of RegexManager to apply a package rule.
matchManagers is not enough to target a given configuration.
If you have any ideas on how this should be implemented, please tell us here.
matchDepTypes could be used but we cannot set it on regex manager dependencies.
We could add depType as a valid validMatchFields.
Is this a feature you are interested in implementing yourself?
No
The text was updated successfully, but these errors were encountered: