-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(bazel-modules): support single_version_override
#22610
feat(bazel-modules): support single_version_override
#22610
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are we sure those should be fully ignored? a user can't override that via config. 🤔
Sorry. I don't understand your question. The single_version_override declaration is slightly different from the other overrides. Here is the top line from the documentation:
|
@viceice Gentle ping. Could you elaborate on your comment?
|
if you set a Skip reason, renovate will always ignore that dependency. there is no way for a user to override that. so renovate can never update that dependency. so a user always needs to manually do it. if the override only changes the registry, we should simply add that to the original dep and ignore the override. if the override defined a version, it should be updatable by renovate. we can return enabled=false, so they are disabled by default, but can be enabled by user via package rule. |
That is exactly the workflow that we want, in this case. If the client specifies a
Agreed. That is what this PR does. The test case for this scenario is here. |
@rarkins @secustor @JamieMagee WDYT? |
This seems like the same scenario as Usually developers use that feature to limit Terraform version avaiable to module users, tough we still update them under a different |
single_version_override
in bazel-module
managersingle_version_override
Seems ok to leave it as-is for now, maybe in future users will want a way to have it updated |
@viceice @rarkins I have not seen a comment from @JamieMagee. Is it possible to continue the review on this PR? My next PR adds documentation and enables the |
🎉 This PR is included in version 35.119.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Changes
single_version_override
inbazel-module
manager.Context
Related to #13658.
Related to cgrindel/renovate_bzlmod_support#19.
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: