Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | * Add some accidentally committed files. | Eelco Dolstra | 2 | -2/+0 | |
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 | |
2011-12-02 | * Move parseHash16or32 into libutil, and use in nix-hash. | Eelco Dolstra | 5 | -22/+23 | |
2011-12-01 | * Allow '<nixexpr>' syntax to be used in nix-instantiate, nix-build | Eelco Dolstra | 5 | -4/+16 | |
and nix-env, e.g., $ nix-env -f '<nixpkgs>' -i patchelf or $ nix-build '<nixos/tests>' -A login.test | |||||
2011-12-01 | * Slight improvement. | Eelco Dolstra | 1 | -3/+2 | |
2011-12-01 | * When doing "nix-store --add-fixed" without "--recursive" via the Nix | Eelco Dolstra | 3 | -6/+16 | |
daemon (which is an error), print a nicer error message than "Connection reset by peer" or "broken pipe". * In the daemon, log errors that occur during request parameter processing. | |||||
2011-12-01 | doc/manual/nix-env.xml: fixed "nix-env -qaA" typo | Peter Simons | 1 | -1/+1 | |
2011-12-01 | doc/manual/nix-env.xml: stripped trailing whitespace | Peter Simons | 1 | -100/+100 | |
2011-11-29 | * Don't require a specific Perl version. | Eelco Dolstra | 1 | -1/+0 | |
2011-11-29 | * Fix make check. | Eelco Dolstra | 1 | -1/+3 | |
2011-11-29 | * download-using-manifests: use the Perl bindings. | Eelco Dolstra | 3 | -38/+45 | |
2011-11-29 | * Get rid of some superfluous error messages if a substituter fails. | Eelco Dolstra | 2 | -16/+7 | |
* Say "fetch" instead of "substitute". | |||||
2011-11-29 | * For consistency with "nix-store -q --hash", produce hashes in | Eelco Dolstra | 2 | -3/+3 | |
base-32. (This affects Hydra manifests.) | |||||
2011-11-29 | * Get rid of the shell in ssh calls. | Eelco Dolstra | 1 | -2/+2 | |
2011-11-25 | * Fix race. | Eelco Dolstra | 1 | -0/+1 | |
2011-11-23 | (no commit message) | Eelco Dolstra | 1 | -1/+1 | |
2011-11-23 | * Document the --include-outputs option. | Eelco Dolstra | 1 | -9/+18 | |
2011-11-23 | * Add bzip2 and xz support to nix-copy-closure. | Eelco Dolstra | 2 | -4/+17 | |
2011-11-23 | * Add an API function exportPaths() that provides the functionality of | Eelco Dolstra | 10 | -38/+90 | |
‘nix-store --export’. * Add a Perl module that provides the functionality of ‘nix-copy-closure --to’. This is used by build-remote.pl so it no longer needs to start a separate nix-copy-closure process. Also, it uses the Perl API to do the export, so it doesn't need to start a separate nix-store process either. As a result, nix-copy-closure and build-remote.pl should no longer fail on very large closures due to an "Argument list too long" error. (Note that having very many dependencies in a single derivation can still fail because the environment can become too large. Can't be helped though.) | |||||
2011-11-23 | * build-remote.pl: drop a hard-coded reference to /nix/etc/nix. | Eelco Dolstra | 2 | -1/+3 | |
2011-11-22 | * Move initialisation of variables like nixConfDir from libmain to | Eelco Dolstra | 6 | -36/+46 | |
libstore so that the Perl bindings can use it as well. It's vital that the Perl bindings use the configuration file, because otherwise nix-copy-closure will fail with a ‘database locked’ message if the value of ‘use-sqlite-wal’ is changed from the default. | |||||
2011-11-21 | nix: add /etc/hosts with localhost entry to chroot builds. | Rob Vermaas | 1 | -0/+3 | |
2011-11-21 | * Doh. | Eelco Dolstra | 1 | -1/+1 | |
2011-11-21 | * Put back the "sys_name" variable which got removed somewhere. This | Eelco Dolstra | 1 | -1/+9 | |
broke building on Cygwin and Solaris. | |||||
2011-11-21 | * Escape the [ and ] characters in the sed call, otherwise autoconf | Eelco Dolstra | 1 | -1/+1 | |
will eat them. | |||||
2011-11-20 | * "sed" on FreeBSD doesn't know the "+" operator. | Eelco Dolstra | 1 | -4/+1 | |
2011-11-18 | * In the platform, canonicalise "amd64" to "x86_64". FreeBSD 8.2's | Eelco Dolstra | 1 | -0/+5 | |
uname reports amd64. * Drop the FreeBSD version number, e.g. "i686-freebsd" instead of "i686-freebsd8.2". | |||||
2011-11-16 | configure: Change i*86 to i686 as has always been done. | Ludovic Courtès | 1 | -3/+10 | |
2011-11-16 | configure: Rely on `AC_CANONICAL_HOST' to determine the Nix system name. | Ludovic Courtès | 1 | -30/+13 | |
This should be more robust and also plays better with cross-compilation---it uses the host name, instead of using the build name. | |||||
2011-11-16 | * nix-pull: update the Nix manifest cache if necessary. Also, don't | Eelco Dolstra | 2 | -25/+7 | |
read the manifest just to check the version and print the number of paths. This makes nix-pull very fast for the cached cache (speeding up nixos-rebuild without the ‘--no-pull’ or ‘--fast’ options). | |||||
2011-11-16 | * Don't decompress the manifests in /nix/var/nix/manifest. This saves | Eelco Dolstra | 2 | -12/+9 | |
disk space, and, since they're typically only decompressed once (to fill the manifest cache), doesn't make things slower. | |||||
2011-11-16 | * Remove obsolete line. | Eelco Dolstra | 1 | -1/+0 | |
2011-11-16 | * Re-use prepared statements across insertions into the manifest cache | Eelco Dolstra | 1 | -8/+12 | |
DB. This speeds up creating the cache from 16.1s to 7.9s on my system. |