Commit graph

16195 commits

Author SHA1 Message Date
Yehuda Katz + Carl Lerche bbbf2dead8 Isolate toml code and split up concerns 2014-06-10 15:46:07 -07:00
Yehuda Katz + Carl Lerche 9a6be788d9 Move Manifest parsing into its own module 2014-06-10 14:59:25 -07:00
Yehuda Katz + Carl Lerche 184cbda170 Validate dependency version on parse, not usage 2014-06-10 14:29:36 -07:00
Yehuda Katz + Carl Lerche 1124727c96 Update to Rust master and eliminate warnings 2014-06-10 12:32:23 -07:00
Yehuda Katz + Carl Lerche 92602f6db0 Add support for detailed manifest dependencies
This commit supports the following format:

```toml
[dependencies.hamcrest]

version = "1.0"
git = "http://github.com/carllerche/hamcrest-rust"
```
2014-06-09 17:51:53 -07:00
Yehuda Katz + Carl Lerche 9a1c63ea17 Track master for tests 2014-06-09 13:08:09 -07:00
Yehuda Katz + Carl Lerche af91d698f1 Track upstream rust-toml 2014-06-09 12:37:32 -07:00
Yehuda Katz + Carl Lerche c041e8ec94 Update to master 2014-06-09 12:28:54 -07:00
Carl Lerche e862dd1e2a Track Rust master 2014-05-30 16:37:37 -07:00
Yehuda Katz cda93d8096 Break up GitSource 2014-05-29 20:35:09 -07:00
Yehuda Katz 30cc28333d Improve errors slightly 2014-05-29 18:11:27 -07:00
Yehuda Katz 5732f5a4bf Use GitSource in the stub executable 2014-05-29 18:02:28 -07:00
Yehuda Katz ba5639f364 Update GitSource 2014-05-29 17:49:53 -07:00
Yehuda Katz 32e262d2f7 Initial GitSource pass 2014-05-29 15:07:07 -07:00
Yehuda Katz 41b6f52681 Tests passing again 2014-05-29 14:31:09 -07:00
Yehuda Katz e42203f7f6 Up to date with master 2014-05-29 14:06:43 -07:00
Yehuda Katz edbe491003 Up to date with master 2014-05-29 13:57:31 -07:00
Carl Lerche a06fd2e7fa Compile all deps into the root projects target dir 2014-05-28 17:31:23 -07:00
Carl Lerche 5a59414edb Explicitly pass root package to ops::package_compile 2014-05-28 10:03:08 -07:00
Yehuda Katz 7ed3bd8b9c Remove unnecessary BasicTerminal 2014-05-27 22:06:38 -07:00
Yehuda Katz d5a7bc33d2 Improve shell and add tests 2014-05-27 18:53:37 -07:00
Yehuda Katz 574829e9f7 Initial pass at a Shell 2014-05-27 18:53:37 -07:00
Carl Lerche c040b89141 Extra log output + polish rough edges 2014-05-27 17:21:36 -07:00
Yehuda Katz 93558906d8 Start adding a shell abstraction 2014-05-27 16:47:13 -07:00
Carl Lerche 7e6433feda Track rust master 2014-05-27 16:14:34 -07:00
Carl Lerche f1aa37c322 More log output 2014-05-27 15:58:37 -07:00
Yehuda Katz be9d1cde34 Git now fetches DBs and clones repos from them 2014-05-26 15:48:11 -07:00
Yehuda Katz 6afe63320b Add support for updating git repos 2014-05-26 13:54:24 -07:00
Yehuda Katz 2f57617559 Up to date with master (StrBuf->String) 2014-05-26 11:52:33 -07:00
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