Repository navigation
fix(ci): rubash lock entry back to the historical no-source form at 1.4.0 - #258
Merged
Merged
Conversation
…rm at 1.4.0 #257 added a git source line with a pinned rev, but cargo compares a branch dependency's lock state against the branch HEAD it resolves, so the recorded rev alone did not satisfy --locked. The historically green form (e6ea561 'rubash 1.3.3 pin' through #252) carries no source line at all: --locked stays satisfied as long as the entry's version matches the version rubash master resolves to (now 1.4.0 since #498). Restore exactly that form, version-only. Future rubash version bumps need the same one-line lock sync (see e6ea561 for the release-time precedent).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #257. The source+rev line did not satisfy --locked: cargo resolves a branch=master dependency to the branch HEAD and compares the lock's entry state against that. The historically green form (since the 1.3.3 release sync) records no source line - only the version, which must match what rubash master resolves to (1.4.0 since rubash#498). This restores exactly that form (verified with a full locked
cargo metadataresolve against the local patch). Rubash version bumps now have a known one-line sync procedure.