Skip to content
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 15 commits into from Aug 1, 2014
Merged

Conversation

alexcrichton
Copy link
Member

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.

halorgium and others added 13 commits July 31, 2014 07:09
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.
@steveklabnik
Copy link
Member

😍

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 bors merged commit ae73adb into rust-lang:master Aug 1, 2014
@alexcrichton alexcrichton deleted the lockfile branch August 2, 2014 05:47
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants