about summary refs log tree commit diff
path: root/src/librustpkg/version.rs
AgeCommit message (Collapse)AuthorLines
2013-09-12std: Rename {Option,Result}::chain{,_err}* to {and_then,or_else}Erick Tryzelaar-2/+2
2013-09-08rustpkg: Use workcacheTim Chevalier-9/+6
rustpkg now uses the workcache library to avoid recompilation. Hooray!
2013-09-05Rename str::from_bytes to str::from_utf8, closes #8985Florian Hahn-4/+4
2013-08-30remove several 'ne' methodsEric Martin-3/+0
2013-08-26rustpkg: Test that different copies of the same package ID can exist in ↵Tim Chevalier-4/+2
multiple workspaces The test checks that rustpkg uses the first one, rather than complaining about multiple matches. Closes #7241
2013-08-19rustpkg: Un-ignore most of the remaining testsTim Chevalier-9/+12
This necessitated some cleanup to how we parse library filenames when searching for libraries, since rustpkg may now create filenames that contain '-' characters. Also cleaned up how rustpkg passes the sysroot to a custom build script.
2013-08-10std: Iterator.len_ -> .lenErick Tryzelaar-2/+2
2013-08-09rustpkg: Simplify the PkgId structTim Chevalier-3/+2
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-9/+18
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-4/+4
this has been replaced by `for`
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-4/+4
2013-07-24rustpkg: Handle non-numeric versions; some cleanupTim Chevalier-1/+3
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-0/+1
2013-07-15rustpkg: Handle local git repositoriesTim Chevalier-0/+23
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-13rustpkg: Implement `uninstall` and `list` commandsTim Chevalier-1/+13
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-2/+1
2013-06-21vec: rm old_iter implementations, except BaseIterDaniel Micay-3/+3
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-18/+18
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-14add IteratorUtil to the preludeDaniel Micay-1/+0
2013-06-11fix tests, remove some warningsHuon Wilson-2/+2
2013-06-11std: remove str::to_charsHuon Wilson-3/+2
2013-06-10std: convert character-based str::find_* to methods. Add .slice_{to,from} ↵Huon Wilson-1/+1
methods.
2013-06-10std: fix compile & testHuon Wilson-6/+4
2013-06-09rustpkg: Accept package IDs like github.com/foo/bar#0.3Tim Chevalier-29/+104
If the package ID is of the form s#v, where v is a valid version string, fetch tag v of that package.
2013-06-08rustpkg: Extract version number from git, as per #5684Tim Chevalier-0/+140
For now, the test I added just checks that PkgId::new parses the version number out of a git repo's tags list, where relevant.