Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-16 | ssh:// -> ssh-ng://, legacy-ssh:// -> ssh:// | Eelco Dolstra | |
2017-03-16 | copyPaths(): Use queryValidPaths() to reduce SSH latency | Eelco Dolstra | |
2017-03-16 | copyPaths(): Don't query path info for a path the target already has | Eelco Dolstra | |
For example, this cuts "nix-copy-closure --from" on a NixOS system closure from 15.9s to 0.5s. | |||
2017-03-16 | LegacySSHStore: Provide a faster implementation of computeFSClosure() | Eelco Dolstra | |
This avoids the latency of the standard implementation, which can make a huge difference (e.g. 16.5s -> 0.5s on a NixOS system closure). | |||
2017-03-16 | Fix nix-copy-closure --to | Eelco Dolstra | |
2017-03-16 | Remove "killing process <pid>" messages | Eelco Dolstra | |
They convey no useful information. | |||
2017-03-16 | nix-copy-closure: Fix assertion failure | Eelco Dolstra | |
$ ./inst/bin/nix-copy-closure --to bla $(type -p firefox) nix-copy-closure: src/libstore/store-api.cc:80: std::__cxx11::string nix::storePathToHash(const Path&): Assertion `base.size() >= storePathHashLen' failed. | |||
2017-03-15 | More precise compression settings | Eelco Dolstra | |
2017-03-15 | runProgram(): Distinguish between empty input and no input | Eelco Dolstra | |
For example, if we call brotli with an empty input, it shouldn't read from the caller's stdin. | |||
2017-03-15 | Compress NAR listings using the "text-compression" method | Eelco Dolstra | |
So if "text-compression=br", the .ls file in S3 will get a Content-Encoding of "br". Brotli appears to compress better than xz for this kind of file and is natively supported by browsers. | |||
2017-03-15 | S3BinaryCacheStore: Set Content-Type | Eelco Dolstra | |
This is necessary for serving log files to browsers. | |||
2017-03-15 | S3BinaryCacheStore: Support compression of narinfo and log files | Eelco Dolstra | |
You can now set the store parameter "text-compression=br" to compress textual files in the binary cache (i.e. narinfo and logs) using Brotli. This sets the Content-Encoding header; the extension of compressed files is unchanged. You can separately specify the compression of log files using "log-compression=br". This is useful when you don't want to compress narinfo files for backward compatibility. | |||
2017-03-15 | Fix assertion failure on SIGINT | Eelco Dolstra | |
nix: src/libutil/compression.cc:142: virtual nix::XzSink::~XzSink(): Assertion `finished' failed. | |||
2017-03-15 | Fix deadlock in runProgram() when input is larger than the pipe buffer size | Eelco Dolstra | |
2017-03-15 | Add support for brotli compression | Eelco Dolstra | |
Build logs on cache.nixos.org are compressed using Brotli (since this allows them to be decompressed automatically by Chrome and Firefox), so it's handy if "nix log" can decompress them. | |||
2017-03-15 | Remove dependency on "curl" binary | Eelco Dolstra | |
2017-03-15 | BinaryCacheStore: Implement getBuildLog() | Eelco Dolstra | |
We assume that build logs are stored under log/<drv>, e.g. /nix/store/q7ab198v13p0f8x8wgnd75dva7d5mip6-friday-devil-0.1.1.1.drv maps to https://cache.nixos.org/log/q7ab198v13p0f8x8wgnd75dva7d5mip6-friday-devil-0.1.1.1.drv | |||
2017-03-15 | Add a "nix log" command | Eelco Dolstra | |
This replaces "nix-store --read-log". It checks the local store and any configured substituters for the requested logs. | |||
2017-03-15 | Store: Add a method for getting build logs | Eelco Dolstra | |
This allows various Store implementations to provide different ways to get build logs. For example, BinaryCacheStore can get the build logs from the binary cache. Also, remove the log-servers option since we can use substituters for this. | |||
2017-03-12 | Merge branch 'configurable-aws-region' | Shea Levy | |
2017-03-11 | Dockerfile: 1.11.2 -> 1.11.7 | Domen Kožar | |
2017-03-09 | nix -> Nix | Eelco Dolstra | |
2017-03-09 | Merge branch 'allow-import-from-derivation' of https://github.com/shlevy/nix | Eelco Dolstra | |
2017-03-09 | Merge pull request #1267 from adevress/master | Eelco Dolstra | |
Add missing header <sstream> | |||
2017-03-08 | Add missing header <sstream> | Adrien Devresse | |
2017-03-08 | Add docs for allow-import-from-derivation | Shea Levy | |
2017-03-08 | Add option to disable import-from-derivation completely, even if the drv is ↵ | Shea Levy | |
already realized | |||
2017-03-06 | Merge pull request #1264 from shlevy/s3-ca-file | Eelco Dolstra | |
Properly set the caFile for aws-sdk-cpp s3 | |||
2017-03-06 | Properly set the caFile for aws-sdk-cpp s3 | Shea Levy | |
2017-03-06 | Revert fa125b9b28bea25a4eeb4d39a71a481563127cb9 | Eelco Dolstra | |
This causes quadratic performance. | |||
2017-03-05 | nix-daemon.plist: Set XDG_CACHE_HOME | Shea Levy | |
2017-03-05 | Add signing and s3 support on darwin | Shea Levy | |
2017-03-03 | Add aws-region param to S3 store URLs | Shea Levy | |
2017-03-03 | Cache connection failures | Eelco Dolstra | |
2017-03-03 | SSHMaster: Make thread-safe | Eelco Dolstra | |
2017-03-03 | build-remote: Don't use a SSH master | Eelco Dolstra | |
This is unnecessary because we make only one connection. | |||
2017-03-03 | Pool: Don't hang if creating a connection fails | Eelco Dolstra | |
2017-03-03 | Improve SSH handling | Eelco Dolstra | |
* Unify SSH code in SSHStore and LegacySSHStore. * Fix a race starting the SSH master. We now wait synchronously for the SSH master to finish starting. This prevents the SSH clients from starting their own connections. * Don't use a master if max-connections == 1. * Add a "max-connections" store parameter. * Add a "compress" store parameter. | |||
2017-03-03 | build-remote: Fix passing SSH key | Eelco Dolstra | |
2017-03-03 | build-remote: Misc cleanup | Eelco Dolstra | |
2017-03-03 | Fix fatal "broken pipe" error when $NIX_BUILD_HOOK is missing | Eelco Dolstra | |
2017-03-02 | builtins.fetchgit: Support paths | Eelco Dolstra | |
2017-03-02 | builtins.fetchgit: Fix bad format string | Eelco Dolstra | |
2017-03-01 | TeeSink: Pre-reserve string space | Eelco Dolstra | |
When receiving a very large file, this can prevent the string from having tobe copied, which temporarily doubles memory consumption. | |||
2017-03-01 | RemoteStore::addToStore(): Send NAR rather than string containing NAR | Eelco Dolstra | |
This allows the NAR to be streamed in the future (though we're not doing that yet). | |||
2017-03-01 | readString(): Read directly into std::string | Eelco Dolstra | |
When reading a huge string, this halves memory consumption. (Strictly speaking, this appears only valid in C++17, but who cares...) | |||
2017-03-01 | Tweak message | Eelco Dolstra | |
2017-03-01 | nix-store --import: Fix importing unsigned paths | Eelco Dolstra | |
2017-03-01 | Fix assertion failure in nix-store --export | Eelco Dolstra | |
Fixes #1173. | |||
2017-03-01 | Handle importing NARs containing files greater than 4 GiB | Eelco Dolstra | |
Also templatize readInt() to work for various integer types. |