about summary refs log tree commit diff
path: root/src/librustpkg/package_source.rs
AgeCommit message (Collapse)AuthorLines
2013-08-10std: Transform.find_ -> .findErick Tryzelaar-1/+1
2013-08-09rustpkg: Simplify the PkgId structTim Chevalier-28/+10
Get rid of special cases for names beginning with "rust-" or containing hyphens, and just store a Path in a package ID. The Rust-identifier for the crate is none of rustpkg's business.
2013-08-09std/rustc/rustpkg/syntax: Support the `extern mod = ...` formTim Chevalier-12/+9
This commit allows you to write: extern mod x = "a/b/c"; which means rustc will search in the RUST_PATH for a package with ID a/b/c, and bind it to the name `x` if it's found. Incidentally, move get_relative_to from back::rpath into std::path
2013-08-03remove obsolete `foreach` keywordDaniel Micay-3/+3
this has been replaced by `for`
2013-08-03replace all remaining `for` with `foreach` or `do`Daniel Micay-2/+3
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-3/+3
2013-07-24rustpkg: Handle non-numeric versions; some cleanupTim Chevalier-17/+7
Package IDs can now be of the form a/b/c#FOO, where (if a/b/c is a git repository) FOO is any tag in the repository. Non-numeric tags only match against package IDs with the same tag, and aren't compared linearly like numeric versions. While I was at it, refactored the code that calls `git clone`, and segregated build output properly for different packages.
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-9/+9
2013-07-15rustpkg: Handle local git repositoriesTim Chevalier-2/+16
rustpkg can now build code from a local git repository. In the case where the local repo is in a directory not in the RUST_PATH, it checks out the repository into a directory in the first workspace in the RUST_PATH. The tests no longer try to connect to github.com, which should solve some of the sporadic failures we've been seeing.
2013-07-08Patch up some new errors from rustpkgNiko Matsakis-1/+1
2013-07-04Bring compiletest/rustpkg/driver up to date on std vs coreAlex Crichton-1/+0
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-3/+3
2013-06-27Convert vec::[mut_]slice to methods, remove vec::const_slice.Huon Wilson-3/+2
2013-06-23vec: remove BaseIter implementationDaniel Micay-2/+2
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-21vec: rm old_iter implementations, except BaseIterDaniel Micay-2/+2
The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`.
2013-06-14rustpkg: Write more automated testsTim Chevalier-2/+3
Automate more tests described in the commands.txt file, and add infrastructure for running them. Right now, tests shell out to call rustpkg. This is not ideal.
2013-06-12Silence some warnings.Huon Wilson-1/+1
2013-06-11option: remove redundant old_iter implsDaniel Micay-1/+1
2013-06-09rustpkg: Accept package IDs like github.com/foo/bar#0.3Tim Chevalier-0/+239
If the package ID is of the form s#v, where v is a valid version string, fetch tag v of that package.