- Mar 15, 2017
-
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
This is necessary for serving log files to browsers.
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
nix: src/libutil/compression.cc:142: virtual nix::XzSink::~XzSink(): Assertion `finished' failed.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
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
-
Eelco Dolstra authored
This replaces "nix-store --read-log". It checks the local store and any configured substituters for the requested logs.
-
Eelco Dolstra authored
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.
-
- Mar 12, 2017
-
-
Shea Levy authored
-
- Mar 11, 2017
-
-
Domen Kožar authored
-
- Mar 09, 2017
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Add missing header <sstream>
-
- Mar 08, 2017
-
-
Adrien Devresse authored
-
Shea Levy authored
-
Shea Levy authored
-
- Mar 06, 2017
-
-
Eelco Dolstra authored
Properly set the caFile for aws-sdk-cpp s3
-
Shea Levy authored
-
Eelco Dolstra authored
This causes quadratic performance.
-
- Mar 05, 2017
- Mar 03, 2017
-
-
Shea Levy authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This is unnecessary because we make only one connection.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
* 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.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Mar 02, 2017
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Mar 01, 2017
-
-
Eelco Dolstra authored
When receiving a very large file, this can prevent the string from having tobe copied, which temporarily doubles memory consumption.
-
Eelco Dolstra authored
This allows the NAR to be streamed in the future (though we're not doing that yet).
-
Eelco Dolstra authored
When reading a huge string, this halves memory consumption. (Strictly speaking, this appears only valid in C++17, but who cares...)
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Fixes #1173.
-