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
Implement Cargo.lock and cargo-update #301
Merged
Merged
Conversation
This file contains 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
This writes out and reads the lockfile, but it does nothing to verify that the lockfile is still up to date, so it's not actually ready to be used.
This rebases the lockfile branch to master and updates all code necessary to get the tests passing again.
The sources in the lock file contain precise information about git deps so we want them over the non-precise versions in the source.
This commit cuts down on the number of invocations of `git` to make the "happy path" of an up-to-date git repo much smoother. The precise information is also applied from the lockfile to speed things up.
We already discovered the local rev earlier on, so there's no need to rediscover it through git.
This should help aid in debugging slow parts of cargo by setting the CARGO_PROFILE environment variable.
|
|
bors
added a commit
that referenced
this pull request
Aug 1, 2014
This PR is a series of commits building off the `lockfile` branch which finishes the work on the lockfile as well as implementing the `cargo-update` command. This PR deprecates the `-u` flag in favor of the `cargo update` command.
bors
added a commit
to alexcrichton/cargo
that referenced
this pull request
Sep 2, 2014
This PR is a series of commits building off the `lockfile` branch which finishes the work on the lockfile as well as implementing the `cargo-update` command. This PR deprecates the `-u` flag in favor of the `cargo update` command.
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.
This PR is a series of commits building off the
lockfilebranch which finishes the work on the lockfile as well as implementing thecargo-updatecommand.This PR deprecates the
-uflag in favor of thecargo updatecommand.