-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
git-submodules manager doesn't work if config has pinning turned on #6753
Comments
This is our default preset: https://github.com/ocadotechnology/renovate-config-default/blob/master/renovate.json |
you can add a packageRule to disable pinning for |
Yup, thank you, I'm attempting that now to work around this issue |
This gives the desired effect as a workaround:
|
I actually disagree with this being in config-help - I still believe it's a bug in renovate itself. It's by no means obvious that you need to disable pinning for one particular type of dependency to work. At the very least the documentation would need to be updated to say there's a conflict between the two options. I think a better route would be to fix the problem, so this sort of standard configuration just-works. |
OK, you are right, fixing it asap |
🎉 This issue has been resolved in version 21.29.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
What Renovate type are you using?
self-hosted renovate pro
Describe the bug
If you turn pinning on (in our environment we have a default preset that turns pinning on for all repositories), git submodule updates silently do not work
Relevant debug logs
No relevant info
To Reproduce
Turn pinning on, observe submodules don't get any updates
Additional context
Traced through the code, found
renovate/lib/workers/repository/process/lookup/index.ts
Lines 379 to 394 in 76d8574
If config.pinDigests is true, we enter that first elseif section, and then skip out without anything useful happening - because the current version has the correct digest for the current version (it's the identity function for the submodule datasource / manager)
Maybe the first elseif section needs
&& config.datasource !== datasourceGitSubmodules.id
? Or the order of the ifs could be changed.The text was updated successfully, but these errors were encountered: