cargo.git
11 years agoAdd Show to ProcessBuilder
Yehuda Katz [Fri, 9 May 2014 00:50:10 +0000 (17:50 -0700)]
Add Show to ProcessBuilder

11 years agoMore work on porting errors
Carl Lerche [Fri, 9 May 2014 00:48:12 +0000 (17:48 -0700)]
More work on porting errors

11 years agoGet nested dependencies working
Yehuda Katz [Thu, 8 May 2014 23:49:58 +0000 (16:49 -0700)]
Get nested dependencies working

11 years agoSupport any bytes container
Yehuda Katz [Thu, 8 May 2014 21:12:38 +0000 (14:12 -0700)]
Support any bytes container

11 years agoStart migrating to new CargoResult
Carl Lerche [Thu, 8 May 2014 20:38:16 +0000 (13:38 -0700)]
Start migrating to new CargoResult

11 years agoGet compile test passing
Yehuda Katz [Thu, 8 May 2014 20:33:04 +0000 (13:33 -0700)]
Get compile test passing

11 years agoCleanup ProcessBuilder
Carl Lerche [Thu, 8 May 2014 20:13:38 +0000 (13:13 -0700)]
Cleanup ProcessBuilder

11 years agoTrack Rust master changes
Carl Lerche [Thu, 8 May 2014 20:10:08 +0000 (13:10 -0700)]
Track Rust master changes

11 years agoMore up to date
Yehuda Katz [Thu, 8 May 2014 20:03:21 +0000 (13:03 -0700)]
More up to date

11 years agoUpdate Hamcrest
Carl Lerche [Thu, 8 May 2014 20:03:21 +0000 (13:03 -0700)]
Update Hamcrest

11 years agoHave cargo-compile automatically find the root
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)

11 years agoGet cargo-read-manifest working again
Yehuda Katz [Wed, 7 May 2014 23:35:55 +0000 (16:35 -0700)]
Get cargo-read-manifest working again

11 years agoClean up cargo-compile
Yehuda Katz [Wed, 7 May 2014 22:48:43 +0000 (15:48 -0700)]
Clean up cargo-compile

11 years agoMerge pull request #7 from Aeyk/patch-1
Yehuda Katz [Wed, 7 May 2014 22:43:20 +0000 (15:43 -0700)]
Merge pull request #7 from Aeyk/patch-1

Update README.md

11 years agoClean up error messages from config
Yehuda Katz [Wed, 7 May 2014 21:26:40 +0000 (14:26 -0700)]
Clean up error messages from config

11 years agoTest unit tests passing again
Carl Lerche [Wed, 7 May 2014 00:22:55 +0000 (17:22 -0700)]
Test unit tests passing again

11 years agoSource list returns summaries
Carl Lerche [Tue, 6 May 2014 23:24:00 +0000 (16:24 -0700)]
Source list returns summaries

11 years agoComment cleanup
Carl Lerche [Tue, 6 May 2014 05:01:34 +0000 (22:01 -0700)]
Comment cleanup

11 years agoCore struct refactor
Carl Lerche [Tue, 6 May 2014 04:54:49 +0000 (21:54 -0700)]
Core struct refactor

11 years agoAdd some convenience methods
Yehuda Katz [Tue, 6 May 2014 02:46:14 +0000 (19:46 -0700)]
Add some convenience methods

11 years agoBreak apart internal and CLI errors
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.

11 years agoCleanup ProcessBuilder, work towards getting tests passing
Carl Lerche [Mon, 5 May 2014 23:27:43 +0000 (16:27 -0700)]
Cleanup ProcessBuilder, work towards getting tests passing

11 years agoFix a bunch of warnings
Yehuda Katz [Mon, 5 May 2014 21:33:28 +0000 (14:33 -0700)]
Fix a bunch of warnings

11 years agoStart breaking up cargo-compile
Yehuda Katz [Mon, 5 May 2014 18:33:04 +0000 (11:33 -0700)]
Start breaking up cargo-compile

11 years agoBring up to date with Rust master
Yehuda Katz [Mon, 5 May 2014 18:32:49 +0000 (11:32 -0700)]
Bring up to date with Rust master

11 years agocargo-compile delegates to cargo-rustc
Carlhuda [Fri, 2 May 2014 01:14:24 +0000 (18:14 -0700)]
cargo-compile delegates to cargo-rustc

11 years agoLet the resolver return a PackageSet
Yehuda Katz [Fri, 2 May 2014 00:12:07 +0000 (17:12 -0700)]
Let the resolver return a PackageSet

11 years agoMerge branch 'master' of https://github.com/carlhuda/cargo
Yehuda Katz [Fri, 2 May 2014 00:06:39 +0000 (17:06 -0700)]
Merge branch 'master' of https://github.com/carlhuda/cargo

11 years agoCompiling with deps progress
Carl Lerche [Thu, 1 May 2014 22:23:45 +0000 (15:23 -0700)]
Compiling with deps progress

11 years agoUse the resolver to collect packages
Yehuda Katz [Thu, 1 May 2014 19:58:21 +0000 (12:58 -0700)]
Use the resolver to collect packages

11 years agoProgress towards compiling with dependencies
Carl Lerche [Thu, 1 May 2014 19:52:09 +0000 (12:52 -0700)]
Progress towards compiling with dependencies

11 years agoMove package mapping to Source
Yehuda Katz [Thu, 1 May 2014 04:38:45 +0000 (21:38 -0700)]
Move package mapping to Source

11 years agoMap config paths onto Packages
Yehuda Katz [Thu, 1 May 2014 00:13:50 +0000 (17:13 -0700)]
Map config paths onto Packages

TODO: Move this logic into PathSource

11 years agoTopological sort of packages
Carl Lerche [Wed, 30 Apr 2014 20:59:04 +0000 (13:59 -0700)]
Topological sort of packages

11 years agoAPI for SerializedManifest->Manifest and other org
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.

11 years agoBump rust-toml
Yehuda Katz [Wed, 30 Apr 2014 21:35:11 +0000 (14:35 -0700)]
Bump rust-toml

11 years agoCleanup + topological sort
Carl Lerche [Wed, 30 Apr 2014 20:06:02 +0000 (13:06 -0700)]
Cleanup + topological sort

11 years agoCleanup
Carl Lerche [Wed, 30 Apr 2014 19:58:33 +0000 (12:58 -0700)]
Cleanup

11 years agoFleshed out Package a bit more
Yehuda Katz [Wed, 30 Apr 2014 19:52:50 +0000 (12:52 -0700)]
Fleshed out Package a bit more

11 years agoClean up config and support array inheritance
Yehuda Katz [Tue, 29 Apr 2014 22:24:01 +0000 (15:24 -0700)]
Clean up config and support array inheritance

11 years agoAdd vimrc settings
Yehuda Katz [Tue, 29 Apr 2014 18:43:18 +0000 (11:43 -0700)]
Add vimrc settings

11 years agoAdd Show for PackagePath
Yehuda Katz [Tue, 29 Apr 2014 18:41:03 +0000 (11:41 -0700)]
Add Show for PackagePath

11 years agoEverything's compiling again
Yehuda Katz [Tue, 29 Apr 2014 18:05:01 +0000 (11:05 -0700)]
Everything's compiling again

11 years agoBump submodules
Yehuda Katz [Tue, 29 Apr 2014 17:54:30 +0000 (10:54 -0700)]
Bump submodules

11 years agoStart pulling out the configured paths
Carlhuda [Sat, 19 Apr 2014 01:07:51 +0000 (18:07 -0700)]
Start pulling out the configured paths

11 years agoRestructure and progress towards simple compile
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.

11 years agoWIP
Carlhuda [Sat, 12 Apr 2014 00:39:18 +0000 (17:39 -0700)]
WIP

11 years agoUpdate README.md
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

11 years agoAdd a resolving test
Carlhuda [Fri, 11 Apr 2014 23:01:33 +0000 (16:01 -0700)]
Add a resolving test

11 years agoAdd transitive dependencies to the resolver
Carlhuda [Fri, 11 Apr 2014 22:55:47 +0000 (15:55 -0700)]
Add transitive dependencies to the resolver

11 years agoWhitespace
Carlhuda [Fri, 11 Apr 2014 22:14:37 +0000 (15:14 -0700)]
Whitespace

11 years agoBeginnings of a dependency resolver
Carl Lerche [Thu, 10 Apr 2014 01:07:47 +0000 (18:07 -0700)]
Beginnings of a dependency resolver

11 years agoTrack Rust master
Carlhuda [Fri, 11 Apr 2014 22:04:44 +0000 (15:04 -0700)]
Track Rust master

11 years agoUpdate README.md
aeyk [Fri, 11 Apr 2014 10:11:45 +0000 (06:11 -0400)]
Update README.md

11 years agoStart extracting core types
Carl Lerche [Wed, 9 Apr 2014 20:49:29 +0000 (13:49 -0700)]
Start extracting core types

11 years agoTrack rust master
Carl Lerche [Wed, 9 Apr 2014 20:28:10 +0000 (13:28 -0700)]
Track rust master

11 years agoNow can get all configs
Yehuda Katz [Mon, 7 Apr 2014 03:31:50 +0000 (20:31 -0700)]
Now can get all configs

11 years agoAdd support for reading config
Yehuda Katz [Mon, 7 Apr 2014 01:26:36 +0000 (18:26 -0700)]
Add support for reading config

11 years agoImplement process hamcrest matcher
Carl Lerche [Wed, 2 Apr 2014 23:34:19 +0000 (16:34 -0700)]
Implement process hamcrest matcher

11 years agoUpdate tests against Rust master
Carl Lerche [Wed, 2 Apr 2014 20:22:45 +0000 (13:22 -0700)]
Update tests against Rust master

11 years agoUp to date with master
Yehuda Katz [Wed, 2 Apr 2014 05:31:11 +0000 (22:31 -0700)]
Up to date with master

11 years agoEncoding and decoding now in libcargo
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.

11 years agoCleanup integration test
Carl Lerche [Thu, 20 Mar 2014 22:17:19 +0000 (15:17 -0700)]
Cleanup integration test

11 years agoMerge branch 'integration-tests'
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

11 years agoLots of cleanup and more generic commands
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)

11 years agoClean up dynamic option checks
Yehuda Katz [Thu, 20 Mar 2014 20:05:52 +0000 (13:05 -0700)]
Clean up dynamic option checks

11 years agoInitial stab at integration tests
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.

11 years agoMove test build into target
Carl Lerche [Thu, 20 Mar 2014 17:57:39 +0000 (10:57 -0700)]
Move test build into target

11 years agoIntegration tests working
Carlhuda [Thu, 20 Mar 2014 01:25:14 +0000 (18:25 -0700)]
Integration tests working

Next up: cleanup

11 years agoA passing test
Carl Lerche [Thu, 20 Mar 2014 00:57:12 +0000 (17:57 -0700)]
A passing test

11 years agoMake everything pub for Alex
Carl Lerche [Wed, 19 Mar 2014 21:12:28 +0000 (14:12 -0700)]
Make everything pub for Alex

11 years agoBugs?
Carl Lerche [Wed, 19 Mar 2014 21:01:45 +0000 (14:01 -0700)]
Bugs?

11 years agoHelp me Alexwan Kenobi
Carl Lerche [Wed, 19 Mar 2014 18:49:46 +0000 (11:49 -0700)]
Help me Alexwan Kenobi

11 years agoTrying to shell out
Carl Lerche [Wed, 19 Mar 2014 18:44:43 +0000 (11:44 -0700)]
Trying to shell out

11 years agoInitial stab at integration tests
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.

11 years agoAdd cargo-compile command
Carl Lerche [Tue, 18 Mar 2014 00:48:47 +0000 (17:48 -0700)]
Add cargo-compile command

11 years agoProxy output w/ color to tty
Carl Lerche [Mon, 17 Mar 2014 20:08:00 +0000 (13:08 -0700)]
Proxy output w/ color to tty

11 years agoMove design docs to DESIGN
Carl Lerche [Mon, 17 Mar 2014 20:07:23 +0000 (13:07 -0700)]
Move design docs to DESIGN

11 years agoSwitch to 4-space tabs
Carl Lerche [Mon, 17 Mar 2014 19:10:08 +0000 (12:10 -0700)]
Switch to 4-space tabs

11 years agoFix warnings
Carl Lerche [Mon, 17 Mar 2014 19:03:37 +0000 (12:03 -0700)]
Fix warnings

11 years agoVendor hamcrest-rust
Carl Lerche [Wed, 12 Mar 2014 23:19:39 +0000 (16:19 -0700)]
Vendor hamcrest-rust

11 years agoUse cargo conventions for cargo itself
Carl Lerche [Wed, 12 Mar 2014 22:32:47 +0000 (15:32 -0700)]
Use cargo conventions for cargo itself

11 years agoAdd missing files
Carl Lerche [Wed, 12 Mar 2014 20:03:36 +0000 (13:03 -0700)]
Add missing files

11 years agoBump hammer
Carl Lerche [Tue, 11 Mar 2014 00:44:40 +0000 (17:44 -0700)]
Bump hammer

11 years agocargo-read-manifest | cargo-rustc is working
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!

11 years agoBump hammer
Carl Lerche [Mon, 10 Mar 2014 23:31:08 +0000 (16:31 -0700)]
Bump hammer

11 years agoShare manifest structs
Carl Lerche [Mon, 10 Mar 2014 23:30:20 +0000 (16:30 -0700)]
Share manifest structs

11 years ago`executable`->`bin` and initial impl
Carl Lerche [Mon, 10 Mar 2014 22:28:40 +0000 (15:28 -0700)]
`executable`->`bin` and initial impl

11 years agoMove design documents
Carl Lerche [Mon, 10 Mar 2014 21:47:10 +0000 (14:47 -0700)]
Move design documents

11 years agoBump hammer
Carl Lerche [Mon, 10 Mar 2014 21:46:50 +0000 (14:46 -0700)]
Bump hammer

11 years agoInitial cargo-read-manifest
Carl Lerche [Sat, 8 Mar 2014 01:14:02 +0000 (17:14 -0800)]
Initial cargo-read-manifest

11 years agoBump dep
Carl Lerche [Sat, 8 Mar 2014 00:26:58 +0000 (16:26 -0800)]
Bump dep

11 years agoStub out cargo-read-manifest
Carl Lerche [Sat, 8 Mar 2014 00:15:15 +0000 (16:15 -0800)]
Stub out cargo-read-manifest

11 years agoUpdate deps and Makefile
Carl Lerche [Sat, 8 Mar 2014 00:14:57 +0000 (16:14 -0800)]
Update deps and Makefile

11 years agoImport toml
Carl Lerche [Fri, 7 Mar 2014 23:45:37 +0000 (15:45 -0800)]
Import toml

11 years agoImport Toml
Carlhuda [Wed, 5 Mar 2014 01:48:43 +0000 (17:48 -0800)]
Import Toml

11 years agoAdd sketch of cargo-verify-project
Carlhuda [Wed, 5 Mar 2014 01:48:31 +0000 (17:48 -0800)]
Add sketch of cargo-verify-project

11 years agoInitial README with some commands sketched out
Carlhuda [Wed, 5 Mar 2014 00:06:39 +0000 (16:06 -0800)]
Initial README with some commands sketched out

11 years agoInitial commit
Carlhuda [Tue, 4 Mar 2014 23:16:18 +0000 (15:16 -0800)]
Initial commit