]> git.lizzy.rs Git - rust.git/commit
rustpkg: Make checked-out source files read-only, and overhaul where temporary files...
authorTim Chevalier <chevalier@alum.wellesley.edu>
Sat, 5 Oct 2013 20:40:01 +0000 (16:40 -0400)
committerTim Chevalier <chevalier@alum.wellesley.edu>
Thu, 10 Oct 2013 22:16:31 +0000 (15:16 -0700)
commit8854b78b555d9a03a3b2ff248230696ec94e24c0
treefb4dc516d3d580750926a045b5ecc589b01b5e46
parent8b8a41a28769b5a8dfcbb5382d577d6102b3ce28
rustpkg: Make checked-out source files read-only, and overhaul where temporary files are stored

rustpkg now makes source files that it checks out automatically read-only, and stores
them under build/.

Also, refactored the `PkgSrc` type to keep track of separate source and destination
workspaces, as well as to have a `build_workspace` method that returns the workspace
to put temporary files in (usually the source, sometimes the destination -- see
comments for more details).

Closes #6480
doc/rustpkg.md
src/librustpkg/api.rs
src/librustpkg/conditions.rs
src/librustpkg/package_id.rs
src/librustpkg/package_source.rs
src/librustpkg/path_util.rs
src/librustpkg/rustpkg.rs
src/librustpkg/source_control.rs
src/librustpkg/tests.rs
src/librustpkg/util.rs
src/librustpkg/workspace.rs