Commit graph

508 commits

Author SHA1 Message Date
Alex Crichton c9e0863137 Revert "Use libgit2 for driving git instead of the CLI"
This reverts commit 3cd82ed7a1.

Conflicts:
	src/cargo/sources/git/utils.rs
2014-08-19 09:10:14 -07:00
Alex Crichton 9886f1cb74 More import renaming fallout 2014-08-18 22:00:50 -07:00
Brian Koropoff 15fbc117cf Upgrade to latest toml-rs
This version has a fix for an import shadowing error
2014-08-17 18:33:51 -07:00
Alex Crichton 230dbf6a59 Use libgit2 for driving git instead of the CLI
In general relying on external programs is dicey and tricky as they're very
different across systems in both how they're used as well as what versions
you'll find. Instead of binding to the least common denominator of CLI, we can
code against an exact version of libgit2.

This introduces a build-time dependency on cmake which libgit2 requires to build
itself, which is unfortunate, but thankfully it's only a build time dep. The
build process for libgit2 also automatically detects as many system libraries as
possible to use (if available), falling back to bundled versions if not
available. I have currently not figured how to control this, so the link-config
package is used to build libgit2 which requires that pkg-config be installed to
build cargo as well.

Closes #138
2014-08-16 15:54:07 -07:00
Alex Crichton eeab1dcee6 Update rust-encoding
Closes #357
2014-08-09 21:05:33 -07:00
Alex Crichton 32e8db2d69 Update rust-url with a contained bugfix 2014-08-06 17:12:30 -07:00
Alex Crichton e219167738 Remove Location, use Url everywhere
Now that rust-url supports windows paths in URLs, this commit jettisons the
janky Location enum in favor of just using Url everywhere.
2014-08-06 17:09:24 -07:00
Alex Crichton 212e7247e2 Register new snapshots
These snapshots have the lockfile plus the per-target fingerprints. This also
additionally adds a lockfile to the repo for all our deps.
2014-08-03 21:33:46 -07:00