20566 Commits

Author SHA1 Message Date
Carl Lerche
12f49111cd Re-export op fns in cargo::ops 2014-05-22 14:26:36 -07:00
Carl Lerche
92b449b644 Start adding logging in cargo command 2014-05-22 14:03:56 -07:00
Carl Lerche
62ecb36cf5 Fix Makefile 2014-05-22 13:06:07 -07:00
Yehuda Katz
f7e4d01703 A few updates to GitSource 2014-05-22 12:52:49 -07:00
Yehuda Katz
452654250d Initial work on the git source 2014-05-21 17:53:05 -07:00
Yehuda Katz
ca668c6605 Remove traces of ~str 2014-05-19 23:14:49 -07:00
Yehuda Katz
cfeabbc21b Update to Rust master 2014-05-19 22:40:50 -07:00
Carl Lerche
1fa89237d0 Rename cargo/mod.rs -> cargo/lib.rs 2014-05-13 14:11:00 -07:00
Carl Lerche
c96d936b99 Start integrating VersionReq 2014-05-13 12:52:20 -07:00
Yehuda Katz
21322f07b4 Wrote more integration tests for cargo compile
At the moment, the rustc exec for the root project inherits the stdout
and stderr FDs (so that warnings and errors flow through), but
output from dependencies is only emitted if the compilation fails to
avoid warning noise from dependencies.
2014-05-12 17:33:13 -07:00
Carl Lerche
0f0158729e Initial pass at VersionReq 2014-05-10 14:16:12 -07:00
Yehuda Katz
b8621c5042 More tests for error cases in compile
Also some refactoring of the error structure. More cleanup work around
human-readable and CLI errors is still required.
2014-05-09 16:57:13 -07:00
Yehuda Katz
6af6f4ce4b Up to master 2014-05-09 15:01:05 -07:00
Carl Lerche
deb2b70a26 Switch important_paths to using result::CargoResult 2014-05-09 10:29:49 -07:00
Carl Lerche
431e9b8cd0 Mark errors as deprecated 2014-05-09 10:21:36 -07:00
Carl Lerche
de0ef6b5cd Misc cleanup 2014-05-09 10:10:39 -07:00
Yehuda Katz
7983a5fd16 Clean up process DSL in tests 2014-05-08 17:50:58 -07:00
Yehuda Katz
ecf4f37f5e Add Show to ProcessBuilder 2014-05-08 17:50:58 -07:00
Carl Lerche
b3c2350325 More work on porting errors 2014-05-08 17:49:22 -07:00
Yehuda Katz
48dc081419 Get nested dependencies working 2014-05-08 16:50:53 -07:00
Yehuda Katz
23d78ddfb0 Support any bytes container 2014-05-08 16:50:52 -07:00
Carl Lerche
460f63d2fe Start migrating to new CargoResult 2014-05-08 13:38:27 -07:00
Yehuda Katz
682d4e94c8 Get compile test passing 2014-05-08 13:33:04 -07:00
Carl Lerche
a72950108d Cleanup ProcessBuilder 2014-05-08 13:13:38 -07:00
Carl Lerche
bafa5f2b5a Track Rust master changes 2014-05-08 13:10:08 -07:00
Yehuda Katz
4abaf95b4a More up to date 2014-05-08 13:03:29 -07:00
Carl Lerche
e45f2d1c38 Update Hamcrest 2014-05-08 13:03:21 -07:00
Yehuda Katz
0bec82d6ea Have cargo-compile automatically find the root
TODO: Deal with Paths vs. Strings (which come from serialized forms like
flags and manifests)
2014-05-07 16:46:43 -07:00
Yehuda Katz
d28ce72351 Get cargo-read-manifest working again 2014-05-07 16:35:55 -07:00
Yehuda Katz
da0ec9a39b Clean up cargo-compile 2014-05-07 15:49:01 -07:00
Yehuda Katz
adbab76fb0 Merge pull request #7 from Aeyk/patch-1
Update README.md
2014-05-07 15:43:20 -07:00
Yehuda Katz
3667437399 Clean up error messages from config 2014-05-07 14:26:40 -07:00
Carl Lerche
8f6d4afb95 Test unit tests passing again 2014-05-06 17:22:55 -07:00
Carl Lerche
937303398d Source list returns summaries 2014-05-06 16:24:00 -07:00
Carl Lerche
c7c6622b71 Comment cleanup 2014-05-05 22:01:34 -07:00
Carl Lerche
1ce7641593 Core struct refactor 2014-05-05 21:54:49 -07:00
Yehuda Katz
f0c9fcd215 Add some convenience methods 2014-05-05 19:46:14 -07:00
Yehuda Katz
50f110a4c0 Break apart internal and CLI errors
The Cargo library now uses internal errors to represent problems, and
the operations convert those errors into CLIErrors, which contain a
user-friendly error message, additional information for verbose mode,
and an exit code.
2014-05-05 19:37:56 -07:00
Carl Lerche
8842b02cfd Cleanup ProcessBuilder, work towards getting tests passing 2014-05-05 16:28:01 -07:00
Yehuda Katz
76623a01d4 Fix a bunch of warnings 2014-05-05 14:33:28 -07:00
Yehuda Katz
ff85524210 Start breaking up cargo-compile 2014-05-05 11:33:04 -07:00
Yehuda Katz
2fd7aad710 Bring up to date with Rust master 2014-05-05 11:32:49 -07:00
Carlhuda
71066787bf cargo-compile delegates to cargo-rustc 2014-05-01 18:14:24 -07:00
Yehuda Katz
cb8dec51b2 Let the resolver return a PackageSet 2014-05-01 17:12:07 -07:00
Yehuda Katz
54ff9c6942 Merge branch 'master' of https://github.com/carlhuda/cargo 2014-05-01 17:06:39 -07:00
Carl Lerche
5cda07974c Compiling with deps progress 2014-05-01 15:23:45 -07:00
Yehuda Katz
9c2967924f Use the resolver to collect packages 2014-05-01 12:59:14 -07:00
Carl Lerche
5accea9f81 Progress towards compiling with dependencies 2014-05-01 12:52:09 -07:00
Yehuda Katz
21598204f3 Move package mapping to Source 2014-04-30 21:38:45 -07:00
Yehuda Katz
04b91119b5 Map config paths onto Packages
TODO: Move this logic into PathSource
2014-04-30 17:14:14 -07:00