Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-12-08 | Fix S3BinaryCacheStore | Eelco Dolstra | 2 | -52/+1 | |
It failed with AWS error uploading ‘6gaxphsyhg66mz0a00qghf9nqf7majs2.ls.xz’: Unable to parse ExceptionName: MissingContentLength Message: You must provide the Content-Length HTTP header. possibly because the istringstream_nocopy introduced in 0d2ebb4373e509521f27a6e8f16bfd39d05b2188 doesn't supply the seek method that the AWS library expects. So bring back the old version, but only for S3BinaryCacheStore. | |||||
2016-12-06 | Use a steady clock for timeouts | Eelco Dolstra | 1 | -0/+1 | |
Fixes #1146. | |||||
2016-11-26 | Revert "Get rid of unicode quotes (#1140)" | Eelco Dolstra | 10 | -67/+67 | |
This reverts commit f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7. There really is no need for such a massive change... | |||||
2016-11-25 | Get rid of unicode quotes (#1140) | Guillaume Maudoux | 10 | -67/+67 | |
2016-11-17 | Typo | Eelco Dolstra | 1 | -1/+1 | |
2016-11-17 | Fix binary-cache-store build | Shea Levy | 1 | -7/+8 | |
2016-11-17 | istringstream_nocopy: Implement in a standards-compliant way | Shea Levy | 1 | -4/+40 | |
Fixes #1135. | |||||
2016-11-16 | S3BinaryCacheStore:: Eliminate a string copy while uploading | Eelco Dolstra | 2 | -1/+15 | |
This cuts hydra-queue-runner's peak memory usage by about a third. | |||||
2016-11-07 | Add missing #include | Eelco Dolstra | 1 | -0/+2 | |
2016-10-19 | Merge branch 'regex' of https://github.com/groxxda/nix | Eelco Dolstra | 2 | -79/+0 | |
2016-10-19 | Fix Darwin build | Eelco Dolstra | 1 | -2/+0 | |
Done slightly differently from https://github.com/NixOS/nix/pull/1093. | |||||
2016-10-18 | replace own regex class with std::regex | Alexander Ried | 2 | -79/+0 | |
2016-10-12 | Add some functions needed by hydra | Eelco Dolstra | 3 | -0/+17 | |
2016-10-06 | toJSON(): Support some more types | Eelco Dolstra | 2 | -0/+12 | |
2016-10-06 | Merge pull request #998 from veprbl/rx_chmod_fix | Eelco Dolstra | 1 | -4/+5 | |
override rx directory permissions in deletePath() | |||||
2016-09-21 | nix-build, nix-shell: Don't print error message if nix-store/nix-instantiate ↵ | Eelco Dolstra | 2 | -2/+11 | |
fails | |||||
2016-09-21 | printMsg(lvlError, ...) -> printError(...) etc. | Eelco Dolstra | 6 | -13/+13 | |
2016-09-21 | Some notational convenience for formatting strings | Eelco Dolstra | 4 | -18/+77 | |
We can now write throw Error("file '%s' not found", path); instead of throw Error(format("file '%s' not found") % path); and similarly printError("file '%s' not found", path); instead of printMsg(lvlError, format("file '%s' not found") % path); | |||||
2016-09-20 | Tweak | Eelco Dolstra | 2 | -3/+4 | |
2016-09-20 | nix-shell: Fix $PATH handling in the impure case | Eelco Dolstra | 2 | -0/+20 | |
We were passing "p=$PATH" rather than "p=$PATH;", resulting in some invalid shell code. Also, construct a separate environment for the child rather than overwriting the parent's. | |||||
2016-09-16 | Make computeFSClosure() single-threaded again | Eelco Dolstra | 2 | -0/+50 | |
The fact that queryPathInfo() is synchronous meant that we needed a thread for every concurrent binary cache lookup, even though they end up being handled by the same download thread. Requiring hundreds of threads is not a good idea. So now there is an asynchronous version of queryPathInfo() that takes a callback function to process the result. Similarly, enqueueDownload() now takes a callback rather than returning a future. Thus, a command like nix path-info --store https://cache.nixos.org/ -r /nix/store/slljrzwmpygy1daay14kjszsr9xix063-nixos-16.09beta231.dccf8c5 that returns 4941 paths now takes 1.87s using only 2 threads (the main thread and the downloader thread). (This is with a prewarmed CloudFront.) | |||||
2016-09-16 | printMsg(): Don't check for interrupts | Eelco Dolstra | 3 | -17/+15 | |
Having the logger function potentially throw exceptions is Heisenbuggy. | |||||
2016-09-14 | Add a toLower utility function | Eelco Dolstra | 2 | -0/+14 | |
2016-09-14 | Move some .drv parsing functions out of util | Eelco Dolstra | 2 | -55/+0 | |
2016-08-30 | Fix 32-bit build | Eelco Dolstra | 2 | -0/+6 | |
2016-08-29 | nix path-info: Add --json flag | Eelco Dolstra | 2 | -0/+354 | |
Also, factor out JSON generation from value-to-json.{cc,hh}, and support producing indented JSON. | |||||
2016-07-25 | override rx directory permissions in deletePath() | Dmitry Kalinkin | 1 | -4/+5 | |
This fixes instantiation of pythonPackages.pytest that produces a directory with less permissions during one of it's tests that leads to a nix error like: error: opening directory ‘/tmp/nix-build-python2.7-pytest-2.9.2.drv-0/pytest-of-user/pytest-0/testdir/test_cache_failure_warns0/.cache’: Permission denied | |||||
2016-07-21 | Fix assertion failure | Eelco Dolstra | 1 | -1/+1 | |
2016-07-21 | NarInfo::NarInfo(): Ensure that we get a NAR size/hash | Eelco Dolstra | 1 | -0/+1 | |
2016-07-21 | Fix assertion failure in ThreadPool::enqueue() | Eelco Dolstra | 2 | -2/+6 | |
2016-07-13 | FdSink: Restore move constructor/assignment | Shea Levy | 1 | -0/+2 | |
2016-07-13 | Make Buffered{Source,Sink} move-safe | Shea Levy | 2 | -27/+12 | |
2016-07-11 | Modernize AutoCloseFD | Shea Levy | 4 | -54/+42 | |
2016-06-09 | Use O_CLOEXEC in most places | Eelco Dolstra | 3 | -7/+11 | |
2016-06-02 | createTempDir(): Don't do a chown on Linux | Eelco Dolstra | 1 | -0/+2 | |
It's not needed and can cause problems in a user namespace. | |||||
2016-06-02 | Allow setting the state directory as a store parameter | Eelco Dolstra | 1 | -3/+14 | |
E.g. "local?store=/tmp/store&state=/tmp/var". | |||||
2016-05-31 | use $(LIBLZMA_LIBS) instead of -llzma | Dmitry Kalinkin | 1 | -1/+1 | |
This is needed in case of non-standard lzma installation path that will be specified in pkgconfig manifest as extra -L option for LDFLAGS. | |||||
2016-05-04 | Cleanup: Remove singleton() | Eelco Dolstra | 1 | -9/+0 | |
2016-05-04 | Do compression in a sink | Eelco Dolstra | 3 | -92/+186 | |
2016-05-04 | Add a Store::addToStore() variant that accepts a NAR | Eelco Dolstra | 2 | -10/+10 | |
As a side effect, this ensures that signatures are propagated when copying paths between stores. Also refactored import/export to make use of this. | |||||
2016-05-04 | Fix segfault in xz compression/decompression | Eelco Dolstra | 1 | -2/+2 | |
2016-05-04 | Add a copyStorePath() utility function | Eelco Dolstra | 1 | -0/+7 | |
2016-04-29 | Support Git repos in the Nix path | Eelco Dolstra | 2 | -0/+10 | |
E.g. $ nix-build -I nixpkgs=git://github.com/NixOS/nixpkgs '<nixpkgs>' -A hello This is not extremely useful yet because you can't specify a branch/revision. | |||||
2016-04-29 | BinaryCacheStore: Support bzip2 compression | Eelco Dolstra | 2 | -35/+117 | |
2016-04-29 | BinaryCacheStore: Support "none" compression method | Eelco Dolstra | 2 | -6/+29 | |
2016-04-29 | Eliminate the substituter mechanism | Eelco Dolstra | 1 | -0/+12 | |
Substitution is now simply a Store -> Store copy operation, most typically from BinaryCacheStore to LocalStore. | |||||
2016-04-25 | Improved logging abstraction | Eelco Dolstra | 5 | -168/+165 | |
This also gets rid of --log-type, since the nested log type isn't useful in a multi-threaded situation, and nobody cares about the "pretty" log type. | |||||
2016-04-22 | Factor out parallel processing of work items that have dependencies | Eelco Dolstra | 1 | -0/+60 | |
2016-04-22 | ThreadPool: Start doing work as soon as work items are enqueued | Eelco Dolstra | 2 | -59/+84 | |
2016-04-22 | Make compression interruptible | Eelco Dolstra | 1 | -1/+3 | |