]> git.proxmox.com Git - cargo.git/log
cargo.git
10 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

10 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

10 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

10 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

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

10 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

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

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

10 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

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

10 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.

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

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

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

10 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

10 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

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

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

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

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

10 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

10 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.

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

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

10 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

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

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

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

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

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

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

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

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

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

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

10 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.

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

10 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

10 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)

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

10 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.

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

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

Next up: cleanup

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

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

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

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

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

10 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.

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

10 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

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

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

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

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

10 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

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

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

10 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!

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

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

10 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

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

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

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

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

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

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

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

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

10 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

10 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

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