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
Support intermediate captured groups in recursive strategy #12279
Comments
@secustor you are probably best suited to evaluate this |
There are two topics here:
|
I push an update to the PR with a null prototype object as result group. This should avoid the pollution. |
@secustor while working on strategy, recursive should allow to narrow the content at each step. Instead of apply the next regex on the complete match of the previous one, we can capture an inner content to work on. This would allow this use case:
on example.json to return depName :
instead of
Should this be a new issue ? |
Please open a separate issue to discuss this. |
🎉 This issue has been resolved in version 28.18.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
What would you like Renovate to be able to do?
I have a file with multiple group sections like
I would like to be able to first match a group content and capture baseRepository, and then capture each component.
so that I can write a depNameTemplate as
{{baseRepository}}/{{repository}}
with something like :
It should give out dependencies:
foo/banana
andbar/apple
If you have any ideas on how this should be implemented, please tell us here.
groups can be pass to handleRecursive calls and mergeGroups be call before createDependency
Is this a feature you are interested in implementing yourself?
No
The text was updated successfully, but these errors were encountered: