Lock file is updated during install with multiple tags for the same commit #403
Labels
bug
This issue describes a defect or unexpected behavior
discussion
This issue is not a bug or feature and a conversation is needed to find an appropriate resolution
What steps did you take:
I have a repository, where we keep a "floating" major version say
v1
for my project (for referencing with github actions for instance), but it's also tagged with the exact semver version.What happened:
When running
vendir sync --locked
i'm seeing thevendir.lock.yml
file updated to reflect a difference in thetags
property of a dependency.We have CI jobs which checks that there are no differences in lock files, to determine if there's something changed or not, and this check is now failing randomly depending on when the last vendir sync was executed, and what the state of the tags in the upstream project is at the time.
An example diff of what i observed below:
What did you expect:
I expect the lockfile to not be updated when i'm installing dependencies from that lock file, with
vendir sync --locked
Environment:
This is on mac os but i don't think there's any platform/arch issue going on here.
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: