about summary refs log tree commit diff
path: root/src/libstore/s3-binary-cache-store.cc
AgeCommit message (Collapse)AuthorFilesLines
2016-05-31 Shut up some clang warningsEelco Dolstra1-6/+6
2016-05-30 Fix buildEelco Dolstra1-1/+1
2016-05-30 Re-implement the WantMassQuery property of binary cachesEelco Dolstra1-1/+1
2016-05-30 BinaryCacheStore: Remove buildPaths() / ensurePath()Eelco Dolstra1-4/+3
2016-05-04 Make the aws-cpp-sdk dependency optionalEelco Dolstra1-0/+6
2016-04-29 nix verify --all: Support local binary cachesEelco Dolstra1-2/+2
2016-04-29 BinaryCacheStore: Make the signing key a parameterEelco Dolstra1-4/+3
2016-04-29 Allow parameters in store URIsEelco Dolstra1-1/+4
This is to allow store-specific configuration, e.g. s3://my-cache?compression=bzip2&secret-key=/path/to/key.
2016-04-21 Implement S3BinaryCacheStore::queryAllValidPaths()Eelco Dolstra1-1/+34
This allows commands like "nix verify --all" or "nix path-info --all" to work on S3 caches. Unfortunately, this requires some ugly hackery: when querying the contents of the bucket, we don't want to have to read every .narinfo file. But the S3 bucket keys only include the hash part of each store path, not the name part. So as a special exception queryAllValidPaths() can now return store paths *without* the name part, and queryPathInfo() accepts such store paths (returning a ValidPathInfo object containing the full name).
2016-04-21 Move S3BinaryCacheStore from HydraEelco Dolstra1-0/+218
This allows running arbitrary Nix commands against an S3 binary cache. To do: make this a compile time option to prevent a dependency on aws-sdk-cpp.