Updating digest for v2 Golang package loses the version #37132
Unanswered
Cerber-Ursi
asked this question in
Request Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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, Renovate v40.5.1 via Docker image
Please tell us more about your question or problem
Context
For one of our Golang dependencies, we use the digest-pinned version from
v2
branch, since, on the one hand, we need some functionality that exists only inv2
, on the other hand, there is a regression inv2
, fix for this regression is in the repository, but not released yet. This digest is not the newest commit from the corresponding branch, therefore Renovate sees it as a possibly-needs-updating dependency and issues a merge request.Expected behavior
Renovate either updates version correctly, or skips update fully.
Actual behavior
Renovate tries to update dependency to the latest digest on the
master
branch, instead ofv2
branch, and the build fails withgo.mod has non-.../v2 module path
.Reproduction
I managed to reproduce this on Github with Mend.io-hosted app - https://github.com/Cerber-Ursi/renovate-golang-v2-digest.
Extra
Possibly connected problem - issue #20316.
Logs (if relevant)
No response
Beta Was this translation helpful? Give feedback.
All reactions