]>
git.proxmox.com Git - cargo.git/log
Carl Lerche [Fri, 9 May 2014 17:21:36 +0000 (10:21 -0700)]
Mark errors as deprecated
Carl Lerche [Fri, 9 May 2014 17:10:39 +0000 (10:10 -0700)]
Misc cleanup
Yehuda Katz [Fri, 9 May 2014 00:50:28 +0000 (17:50 -0700)]
Clean up process DSL in tests
Yehuda Katz [Fri, 9 May 2014 00:50:10 +0000 (17:50 -0700)]
Add Show to ProcessBuilder
Carl Lerche [Fri, 9 May 2014 00:48:12 +0000 (17:48 -0700)]
More work on porting errors
Yehuda Katz [Thu, 8 May 2014 23:49:58 +0000 (16:49 -0700)]
Get nested dependencies working
Yehuda Katz [Thu, 8 May 2014 21:12:38 +0000 (14:12 -0700)]
Support any bytes container
Carl Lerche [Thu, 8 May 2014 20:38:16 +0000 (13:38 -0700)]
Start migrating to new CargoResult
Yehuda Katz [Thu, 8 May 2014 20:33:04 +0000 (13:33 -0700)]
Get compile test passing
Carl Lerche [Thu, 8 May 2014 20:13:38 +0000 (13:13 -0700)]
Cleanup ProcessBuilder
Carl Lerche [Thu, 8 May 2014 20:10:08 +0000 (13:10 -0700)]
Track Rust master changes
Yehuda Katz [Thu, 8 May 2014 20:03:21 +0000 (13:03 -0700)]
More up to date
Carl Lerche [Thu, 8 May 2014 20:03:21 +0000 (13:03 -0700)]
Update Hamcrest
Yehuda Katz [Wed, 7 May 2014 23:46:43 +0000 (16:46 -0700)]
Have cargo-compile automatically find the root
TODO: Deal with Paths vs. Strings (which come from serialized forms like
flags and manifests)
Yehuda Katz [Wed, 7 May 2014 23:35:55 +0000 (16:35 -0700)]
Get cargo-read-manifest working again
Yehuda Katz [Wed, 7 May 2014 22:48:43 +0000 (15:48 -0700)]
Clean up cargo-compile
Yehuda Katz [Wed, 7 May 2014 22:43:20 +0000 (15:43 -0700)]
Merge pull request #7 from Aeyk/patch-1
Update README.md
Yehuda Katz [Wed, 7 May 2014 21:26:40 +0000 (14:26 -0700)]
Clean up error messages from config
Carl Lerche [Wed, 7 May 2014 00:22:55 +0000 (17:22 -0700)]
Test unit tests passing again
Carl Lerche [Tue, 6 May 2014 23:24:00 +0000 (16:24 -0700)]
Source list returns summaries
Carl Lerche [Tue, 6 May 2014 05:01:34 +0000 (22:01 -0700)]
Comment cleanup
Carl Lerche [Tue, 6 May 2014 04:54:49 +0000 (21:54 -0700)]
Core struct refactor
Yehuda Katz [Tue, 6 May 2014 02:46:14 +0000 (19:46 -0700)]
Add some convenience methods
Yehuda Katz [Tue, 6 May 2014 02:33:07 +0000 (19:33 -0700)]
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.
Carl Lerche [Mon, 5 May 2014 23:27:43 +0000 (16:27 -0700)]
Cleanup ProcessBuilder, work towards getting tests passing
Yehuda Katz [Mon, 5 May 2014 21:33:28 +0000 (14:33 -0700)]
Fix a bunch of warnings
Yehuda Katz [Mon, 5 May 2014 18:33:04 +0000 (11:33 -0700)]
Start breaking up cargo-compile
Yehuda Katz [Mon, 5 May 2014 18:32:49 +0000 (11:32 -0700)]
Bring up to date with Rust master
Carlhuda [Fri, 2 May 2014 01:14:24 +0000 (18:14 -0700)]
cargo-compile delegates to cargo-rustc
Yehuda Katz [Fri, 2 May 2014 00:12:07 +0000 (17:12 -0700)]
Let the resolver return a PackageSet
Yehuda Katz [Fri, 2 May 2014 00:06:39 +0000 (17:06 -0700)]
Merge branch 'master' of https://github.com/carlhuda/cargo
Carl Lerche [Thu, 1 May 2014 22:23:45 +0000 (15:23 -0700)]
Compiling with deps progress
Yehuda Katz [Thu, 1 May 2014 19:58:21 +0000 (12:58 -0700)]
Use the resolver to collect packages
Carl Lerche [Thu, 1 May 2014 19:52:09 +0000 (12:52 -0700)]
Progress towards compiling with dependencies
Yehuda Katz [Thu, 1 May 2014 04:38:45 +0000 (21:38 -0700)]
Move package mapping to Source
Yehuda Katz [Thu, 1 May 2014 00:13:50 +0000 (17:13 -0700)]
Map config paths onto Packages
TODO: Move this logic into PathSource
Carl Lerche [Wed, 30 Apr 2014 20:59:04 +0000 (13:59 -0700)]
Topological sort of packages
Yehuda Katz [Wed, 30 Apr 2014 22:23:03 +0000 (15:23 -0700)]
API for SerializedManifest->Manifest and other org
Also fleshed out the Package struct.
Setting up to convert a vec of project paths into a vec of Packages to
pass to cargo-rustc.
Yehuda Katz [Wed, 30 Apr 2014 21:35:11 +0000 (14:35 -0700)]
Bump rust-toml
Carl Lerche [Wed, 30 Apr 2014 20:06:02 +0000 (13:06 -0700)]
Cleanup + topological sort
Carl Lerche [Wed, 30 Apr 2014 19:58:33 +0000 (12:58 -0700)]
Cleanup
Yehuda Katz [Wed, 30 Apr 2014 19:52:50 +0000 (12:52 -0700)]
Fleshed out Package a bit more
Yehuda Katz [Tue, 29 Apr 2014 22:24:01 +0000 (15:24 -0700)]
Clean up config and support array inheritance
Yehuda Katz [Tue, 29 Apr 2014 18:43:18 +0000 (11:43 -0700)]
Add vimrc settings
Yehuda Katz [Tue, 29 Apr 2014 18:41:03 +0000 (11:41 -0700)]
Add Show for PackagePath
Yehuda Katz [Tue, 29 Apr 2014 18:05:01 +0000 (11:05 -0700)]
Everything's compiling again
Yehuda Katz [Tue, 29 Apr 2014 17:54:30 +0000 (10:54 -0700)]
Bump submodules
Carlhuda [Sat, 19 Apr 2014 01:07:51 +0000 (18:07 -0700)]
Start pulling out the configured paths
Carlhuda [Sat, 19 Apr 2014 00:23:07 +0000 (17:23 -0700)]
Restructure and progress towards simple compile
For now, we're going to use the operations as a library. We have some
work to do before they can transparently be used as commands, but we're
keeping an eye on making sure they remain conceptually usable over the
shell.
Carlhuda [Sat, 12 Apr 2014 00:39:18 +0000 (17:39 -0700)]
WIP
aeyk [Sat, 12 Apr 2014 00:23:20 +0000 (20:23 -0400)]
Update README.md
Removed comment about make install as no install directive, added --recursive tag
Carlhuda [Fri, 11 Apr 2014 23:01:33 +0000 (16:01 -0700)]
Add a resolving test
Carlhuda [Fri, 11 Apr 2014 22:55:47 +0000 (15:55 -0700)]
Add transitive dependencies to the resolver
Carlhuda [Fri, 11 Apr 2014 22:14:37 +0000 (15:14 -0700)]
Whitespace
Carl Lerche [Thu, 10 Apr 2014 01:07:47 +0000 (18:07 -0700)]
Beginnings of a dependency resolver
Carlhuda [Fri, 11 Apr 2014 22:04:44 +0000 (15:04 -0700)]
Track Rust master
aeyk [Fri, 11 Apr 2014 10:11:45 +0000 (06:11 -0400)]
Update README.md
Carl Lerche [Wed, 9 Apr 2014 20:49:29 +0000 (13:49 -0700)]
Start extracting core types
Carl Lerche [Wed, 9 Apr 2014 20:28:10 +0000 (13:28 -0700)]
Track rust master
Yehuda Katz [Mon, 7 Apr 2014 03:31:50 +0000 (20:31 -0700)]
Now can get all configs
Yehuda Katz [Mon, 7 Apr 2014 01:26:36 +0000 (18:26 -0700)]
Add support for reading config
Carl Lerche [Wed, 2 Apr 2014 23:34:19 +0000 (16:34 -0700)]
Implement process hamcrest matcher
Carl Lerche [Wed, 2 Apr 2014 20:22:45 +0000 (13:22 -0700)]
Update tests against Rust master
Yehuda Katz [Wed, 2 Apr 2014 05:31:11 +0000 (22:31 -0700)]
Up to date with master
Yehuda Katz [Fri, 21 Mar 2014 00:55:33 +0000 (17:55 -0700)]
Encoding and decoding now in libcargo
Commands can now call a simple function (execute_main) with some type
params, and get flags and stdin converted into their expected structs
automatically. Commands that return a json-serializable struct will also
get that struct automatically serialized into the output.
Additionally, error handling is now handled in a central location. If a
command returns a CargoError, its message will be printed (soon in
color!) and its exit code will be used to exit the process.
Carl Lerche [Thu, 20 Mar 2014 22:17:19 +0000 (15:17 -0700)]
Cleanup integration test
Yehuda Katz [Thu, 20 Mar 2014 21:10:29 +0000 (14:10 -0700)]
Merge branch 'integration-tests'
Conflicts:
Makefile
src/bin/cargo-read-manifest.rs
src/bin/cargo-rustc.rs
src/cargo/mod.rs
src/cargo/util/process_builder.rs
tests/test_cargo_compile.rs
Yehuda Katz [Thu, 20 Mar 2014 21:02:51 +0000 (14:02 -0700)]
Lots of cleanup and more generic commands
Started to extract some of the generic behavior across all commands into
`execute_main` so that the commands themselves just need to operate
against structs (for JSON in and Flags)
Yehuda Katz [Thu, 20 Mar 2014 20:05:52 +0000 (13:05 -0700)]
Clean up dynamic option checks
Carl Lerche [Wed, 19 Mar 2014 01:10:48 +0000 (18:10 -0700)]
Initial stab at integration tests
At the same time, we started adding a generic error handling concept to
Cargo.
The idea is that every Result gets converted to a CargoError, which
includes all the information that Cargo needs to print out a friendly
human error message and exit gracefully.
Carl Lerche [Thu, 20 Mar 2014 17:57:39 +0000 (10:57 -0700)]
Move test build into target
Carlhuda [Thu, 20 Mar 2014 01:25:14 +0000 (18:25 -0700)]
Integration tests working
Next up: cleanup
Carl Lerche [Thu, 20 Mar 2014 00:57:12 +0000 (17:57 -0700)]
A passing test
Carl Lerche [Wed, 19 Mar 2014 21:12:28 +0000 (14:12 -0700)]
Make everything pub for Alex
Carl Lerche [Wed, 19 Mar 2014 21:01:45 +0000 (14:01 -0700)]
Bugs?
Carl Lerche [Wed, 19 Mar 2014 18:49:46 +0000 (11:49 -0700)]
Help me Alexwan Kenobi
Carl Lerche [Wed, 19 Mar 2014 18:44:43 +0000 (11:44 -0700)]
Trying to shell out
Carl Lerche [Wed, 19 Mar 2014 01:10:48 +0000 (18:10 -0700)]
Initial stab at integration tests
At the same time, we started adding a generic error handling concept to
Cargo.
The idea is that every Result gets converted to a CargoError, which
includes all the information that Cargo needs to print out a friendly
human error message and exit gracefully.
Carl Lerche [Tue, 18 Mar 2014 00:48:47 +0000 (17:48 -0700)]
Add cargo-compile command
Carl Lerche [Mon, 17 Mar 2014 20:08:00 +0000 (13:08 -0700)]
Proxy output w/ color to tty
Carl Lerche [Mon, 17 Mar 2014 20:07:23 +0000 (13:07 -0700)]
Move design docs to DESIGN
Carl Lerche [Mon, 17 Mar 2014 19:10:08 +0000 (12:10 -0700)]
Switch to 4-space tabs
Carl Lerche [Mon, 17 Mar 2014 19:03:37 +0000 (12:03 -0700)]
Fix warnings
Carl Lerche [Wed, 12 Mar 2014 23:19:39 +0000 (16:19 -0700)]
Vendor hamcrest-rust
Carl Lerche [Wed, 12 Mar 2014 22:32:47 +0000 (15:32 -0700)]
Use cargo conventions for cargo itself
Carl Lerche [Wed, 12 Mar 2014 20:03:36 +0000 (13:03 -0700)]
Add missing files
Carl Lerche [Tue, 11 Mar 2014 00:44:40 +0000 (17:44 -0700)]
Bump hammer
Carl Lerche [Tue, 11 Mar 2014 00:38:31 +0000 (17:38 -0700)]
cargo-read-manifest | cargo-rustc is working
At the moment, only the bare bones command is working with some defaults
hardcoded. Also, there is a bunch of necessary cleanup and no tests.
However, this marks the first end-to-end functionality in Cargo!
Carl Lerche [Mon, 10 Mar 2014 23:31:08 +0000 (16:31 -0700)]
Bump hammer
Carl Lerche [Mon, 10 Mar 2014 23:30:20 +0000 (16:30 -0700)]
Share manifest structs
Carl Lerche [Mon, 10 Mar 2014 22:28:40 +0000 (15:28 -0700)]
`executable`->`bin` and initial impl
Carl Lerche [Mon, 10 Mar 2014 21:47:10 +0000 (14:47 -0700)]
Move design documents
Carl Lerche [Mon, 10 Mar 2014 21:46:50 +0000 (14:46 -0700)]
Bump hammer
Carl Lerche [Sat, 8 Mar 2014 01:14:02 +0000 (17:14 -0800)]
Initial cargo-read-manifest
Carl Lerche [Sat, 8 Mar 2014 00:26:58 +0000 (16:26 -0800)]
Bump dep
Carl Lerche [Sat, 8 Mar 2014 00:15:15 +0000 (16:15 -0800)]
Stub out cargo-read-manifest
Carl Lerche [Sat, 8 Mar 2014 00:14:57 +0000 (16:14 -0800)]
Update deps and Makefile
Carl Lerche [Fri, 7 Mar 2014 23:45:37 +0000 (15:45 -0800)]
Import toml
Carlhuda [Wed, 5 Mar 2014 01:48:43 +0000 (17:48 -0800)]
Import Toml
Carlhuda [Wed, 5 Mar 2014 01:48:31 +0000 (17:48 -0800)]
Add sketch of cargo-verify-project