Graydon Hoare
f0dfbe7b1b
Register new snapshots, purge log_err and log_full in favour of log(...).
2011-12-22 17:53:53 -08:00
Graydon Hoare
8b580954fe
Register snapshots and switch logging over to use of log_full or #error / #debug.
2011-12-22 14:42:52 -08:00
Elly Jones
bbc534bccc
cargo: allow 'ref' package key for git packages.
...
This lets you specify e.g. a tag or a branch name to be checked out for that
package.
Signed-off-by: Elly Jones <elly@leptoquark.net>
2011-12-20 23:41:22 -05:00
Elly Jones
2bdb0b6d40
cargo: syntax fixes
2011-12-20 21:52:50 -05:00
Elly Jones
9834321615
cargo: Add list and search.
...
In aid of search, add a new field to the packages.json format, called "tags",
whose value is a list of strings. Search accepts a list of tags, all of which
must match for the package to be shown.
Signed-off-by: Elly Jones <elly@leptoquark.net>
2011-12-20 20:41:23 -05:00
Elly Jones
af564caff7
cargo: support optional signing of packages.json files.
2011-12-20 20:10:21 -05:00
Elly Jones
bb2c1f7613
cargo: complain if rustc fails
2011-12-16 20:40:10 -08:00
Elly Jones
648b69d692
cargo: shorten a line
2011-12-16 23:15:13 -05:00
Elly Jones
c8427e4ffd
cargo: fix lib detection logic
2011-12-16 22:39:33 -05:00
Elly Jones
b7e30bc4c5
cargo: fix remaining warnings
2011-12-16 22:31:49 -05:00
Elly Jones
7bd003a1d0
cargo: remove obsolete rust-pkg-index lookup code
2011-12-16 22:27:47 -05:00
Elly Jones
9a0b89b534
cargo: fix some warnings
2011-12-16 22:27:04 -05:00
Elly Jones
327af5b9f3
cargo: flesh out usage
2011-12-16 22:24:01 -05:00
Elly Jones
8b7a41f23d
cargo: Support distributed package indexes.
...
Indexes are listed in ~/.cargo/sources.json and ~/.cargo/local-sources.json, the
former of which is stored in the rust source tree in src/cargo. Each entry in
either of these files is a source, which is a dictionary with (currently) a
single key, "url". The supplied url should point to a json list, each element of
which should be a dictionary with four keys: "name", "uuid", "url", and
"method". The name and uuid serve to identify the package; the method describes
how to fetch the package; the url describes where to fetch it from. Currently
supported methods are "git", "http", and "file".
Signed-off-by: Elly Jones <elly@leptoquark.net>
2011-12-16 22:08:25 -05:00
Elly Jones
10cf4a1b0a
cargo: wip
2011-12-16 20:33:39 -05:00
Elly Jones
89e880d613
std: file_is_dir -> path_is_dir, add path_exists
2011-12-16 17:37:21 -05:00
Graydon Hoare
1bf078f988
Remove hopefully-now-redundant chops of ./ at the beginning of filenames in cargo.
2011-12-16 12:28:39 -08:00
Niko Matsakis
2833ca478c
reorder args to the various vec, option fns so blk comes last
2011-12-16 07:17:23 -08:00
Haitao Li
42fb9b2c5f
cargo: Fix long lines
2011-12-16 17:17:24 +08:00
Elly Jones
7953a5dcfc
cargo: update to new rust-pkg-index API.
2011-12-15 21:22:42 -05:00
Elly Jones
ce9fbf7517
cargo: support uuid:<uuid> and shortname package forms.
...
'cargo install rustcrypto' now works.
2011-12-15 20:27:55 -05:00
Elly Jones
a87d80f6e2
cargo: detect library installs properly
2011-12-15 10:11:01 -05:00
Marijn Haverbeke
1753607f6a
Suppress unused variable warnings in cargo
2011-12-15 13:46:27 +01:00
Graydon Hoare
fa9ad984fb
Copy first batch of material from libstd to libcore.
2011-12-13 16:34:50 -08:00
Elly Jones
f05eaa4a65
cargo: support github:<user>/<repo>
2011-12-09 14:21:21 -08:00
Elly Jones
0acf170c9f
cargo: support git:// URIs.
2011-12-09 14:21:21 -08:00
Elly Jones
b53e4e8463
cargo: don't stick an extra / in CARGO_ROOT
2011-12-09 14:21:21 -08:00
Elly Jones
7b0c73d8fa
cargo: refactor a bit
2011-12-09 14:21:21 -08:00
Elly Jones
7f945eeae9
cargo: support installing crates
...
Introduce the notion of CARGO_ROOT to override HOME if need be. Build packages
there instead of in /tmp. Install to CARGO_ROOT/bin and CARGO_ROOT/lib.
2011-12-09 14:21:21 -08:00
Elly Jones
b8fcf0ab0e
cargo: support build-from-source
...
No install yet.
2011-12-01 19:49:17 -08:00
Graydon Hoare
d1fd7d49a7
Build infra and minor build-enabling bugfixes for cargo.
2011-12-01 11:31:29 -08:00