Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-01-03 | * Sync with the trunk. | Eelco Dolstra | 35 | -243/+242 | |
2012-01-03 | * Ignore missing manifest symlinks. | Eelco Dolstra | 1 | -0/+1 | |
2012-01-03 | * FreeBSD tar defaults to the tape device instead of stdout. | Eelco Dolstra | 1 | -1/+1 | |
2012-01-03 | * Forgot to add. | Eelco Dolstra | 1 | -0/+13 | |
2012-01-03 | * Add a test for nix-channel. | Eelco Dolstra | 13 | -75/+103 | |
* Refactor the nix-channel unpacker a bit. | |||||
2012-01-03 | * Use Nix::Config. | Eelco Dolstra | 4 | -22/+15 | |
2012-01-03 | * Refactoring: Get rid of a few subdirectories in corepkgs/, and some | Eelco Dolstra | 15 | -84/+52 | |
other simplifications. * Use <nix/...> to locate the corepkgs. This allows them to be overriden through $NIX_PATH. * Use bash's pipefail option in the NAR builder so that we don't need to create a temporary file. | |||||
2011-12-30 | * Follow our own coding conventions. | Eelco Dolstra | 3 | -65/+61 | |
2011-12-30 | * Remove a redundant dot (Nicolas Pierron). | Eelco Dolstra | 1 | -1/+1 | |
2011-12-30 | * Support multiple outputs in nix-store (specifically the ‘--query’ | Eelco Dolstra | 1 | -43/+63 | |
and ‘--realise’ actions). | |||||
2011-12-30 | * Oops. | Eelco Dolstra | 1 | -1/+1 | |
2011-12-30 | * Move topoSortPaths() out of gc.cc. | Eelco Dolstra | 2 | -36/+36 | |
2011-12-30 | * Reject a build if there is a cycle among the outputs. This is | Eelco Dolstra | 4 | -9/+24 | |
necessary because existing code assumes that the references graph is acyclic. | |||||
2011-12-30 | * Fix doc error. | Eelco Dolstra | 1 | -1/+1 | |
2011-12-30 | * Sync with the trunk. | Eelco Dolstra | 9 | -30/+70 | |
2011-12-25 | * Make sure that lock files are cleaned up properly when building | Eelco Dolstra | 1 | -7/+7 | |
through the build hook. | |||||
2011-12-22 | * Oops. | Eelco Dolstra | 1 | -1/+1 | |
2011-12-22 | * In the garbage collector, delete invalid paths before deleting | Eelco Dolstra | 3 | -12/+45 | |
unreachable paths. This matters when using --max-freed etc.: unreachable paths could become reachable again, so it's nicer to keep them if there is "real" garbage to be deleted. Also, don't use readDirectory() but read the Nix store and delete invalid paths in parallel. This reduces GC latency on very large Nix stores. | |||||
2011-12-22 | * Drop unnecessary call to canonPath() (nixStore is already canonical). | Eelco Dolstra | 1 | -1/+1 | |
2011-12-22 | * ‘--disable-shared’ is no longer supported. Fortunately it's not | Eelco Dolstra | 1 | -2/+2 | |
needed for the coverage analysis. | |||||
2011-12-21 | * Another case of lock file permissions being too liberal. | Eelco Dolstra | 1 | -1/+1 | |
2011-12-21 | * Security: make sure the lock files used by build-remote.pl are not | Eelco Dolstra | 1 | -5/+5 | |
readable to other users. Otherwise, any user can open the lock file for reading and lock it, thus DoSing the remote build mechanism. | |||||
2011-12-21 | * Use a lock to ensure that only one build-remote instance can copy a | Eelco Dolstra | 1 | -1/+10 | |
closure to a given machine at the same time. This prevents the case where multiple instances try to copy the same missing store path to the target machine, which is very wasteful. | |||||
2011-12-21 | * The ‘foo.drvPath’ feature was already broken in read-only mode. | Eelco Dolstra | 2 | -4/+5 | |
Since it's rarely used and fixing it is too much work right now, just document it. | |||||
2011-12-21 | Make the reference cycle in the cyclic outputs test indirect | Shea Levy | 1 | -3/+4 | |
2011-12-21 | Revert previous commit | Shea Levy | 1 | -9/+0 | |
It doesn't detect indirect references | |||||
2011-12-21 | Detect and reject mutually-referential outputs | Shea Levy | 1 | -0/+9 | |
There is probably a more efficient way to do this. | |||||
2011-12-21 | * Simplify the context handling logic. | Eelco Dolstra | 1 | -24/+13 | |
2011-12-21 | * Add a test for unsafeDiscardOutputDependency. Not really related to | Eelco Dolstra | 2 | -0/+16 | |
multiple outputs, but good to have anyway. | |||||
2011-12-21 | * Add a test for referring to another derivation's ‘drvPath’. This | Eelco Dolstra | 2 | -1/+29 | |
currently fails in read-only mode. | |||||
2011-12-21 | * Add some accidentally committed files. | Eelco Dolstra | 2 | -2/+0 | |
2011-12-20 | * Doing a GC after building a derivation with cyclic outputs currently | Eelco Dolstra | 1 | -1/+1 | |
segfaults. | |||||
2011-12-20 | * Add a (currently failing) test that checks whether mutually | Eelco Dolstra | 2 | -0/+22 | |
recursive outputs are properly rejected. * Add a (also failing) test for "nix-build -A <output-name>". | |||||
2011-12-20 | * Refactor a bit so that more tests can be added. | Eelco Dolstra | 5 | -36/+26 | |
2011-12-20 | * Fix the build. | Eelco Dolstra | 2 | -2/+2 | |
2011-12-16 | * Sync with the trunk. | Eelco Dolstra | 45 | -684/+930 | |
2011-12-16 | * importPath() -> importPaths(). Because of buffering of the input | Eelco Dolstra | 10 | -57/+75 | |
stream it's now necessary for the daemon to process the entire sequence of exported paths, rather than letting the client do it. | |||||
2011-12-16 | * Avoid expensive conversions from char arrays to STL strings. | Eelco Dolstra | 3 | -13/+25 | |
2011-12-16 | * Make the import operation through the daemon much more efficient | Eelco Dolstra | 6 | -44/+68 | |
(way fewer roundtrips) by allowing the client to send data in bigger chunks. * Some refactoring. | |||||
2011-12-16 | * Clean up exception handling. | Eelco Dolstra | 2 | -3/+10 | |
2011-12-15 | * Refactoring: move sink/source buffering into separate classes. | Eelco Dolstra | 8 | -90/+125 | |
* Buffer the HashSink. This speeds up hashing a bit because it prevents lots of calls to the hash update functions (e.g. nix-hash went from 9.3s to 8.7s of user time on the closure of my /var/run/current-system). | |||||
2011-12-15 | * Typo. | Eelco Dolstra | 1 | -1/+1 | |
2011-12-15 | * Buffer reads in FdSource. Together with write buffering, this | Eelco Dolstra | 2 | -10/+32 | |
significantly cuts down the number of syscalls (e.g., for "nix-store -qR /var/run/current-system" via the daemon, it reduced the number of syscalls in the client from 29134 to 4766 and in the daemon from 44266 to 20666). | |||||
2011-12-14 | * Buffer writes in FdSink. This significantly reduces the number of | Eelco Dolstra | 4 | -14/+50 | |
system calls / context switches when dumping a NAR and in the worker protocol. | |||||
2011-12-14 | * Remove the terminate handler, which was only really needed because | Eelco Dolstra | 1 | -23/+0 | |
of Berkeley DB (see r8632). | |||||
2011-12-14 | * Oops, the daemon test wasn't actually using the daemon. | Eelco Dolstra | 2 | -3/+1 | |
2011-12-05 | * Remove unnecessary quotes. showPaths() already adds quotes. | Eelco Dolstra | 1 | -1/+1 | |
2011-12-02 | * In ‘nix-store --verify --check-contents’, repair missing hashes | Eelco Dolstra | 1 | -4/+20 | |
rather than complain about them. | |||||
2011-12-02 | * nix-prefetch-url: rewritten in Perl. | Eelco Dolstra | 1 | -135/+98 | |
2011-12-02 | * Add some more functions to the Perl bindings. | Eelco Dolstra | 2 | -1/+48 | |