Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-23 | Merge remote-tracking branch 'upstream/master' into misc-ca | John Ericson | |
2020-07-22 | Separate concerns in `scanForReferences` with TeeSink | John Ericson | |
This also will make it easier to use a `HashModuloSink` instead for CA derivations. | |||
2020-07-21 | Merge pull request #3736 from ↵ | Eelco Dolstra | |
obsidiansystems/allow-relative-paths-in-store-option Allow relative paths in --store option | |||
2020-07-21 | Merge pull request #3714 from obsidiansystems/add-body-to-network-errors | Eelco Dolstra | |
Add response body to network errors | |||
2020-07-21 | Change logic for deciding what is a relative path for the local store | John Ericson | |
The was Eelco's prefered logic, and it looks good to me! | |||
2020-07-21 | Update chunkSize to the suggested value | Carlo Nucera | |
This was a suggested course of action in a review in one of our earlier commits, https://github.com/NixOS/nix/pull/3801#discussion_r457557079 | |||
2020-07-21 | Merge remote-tracking branch 'upstream/master' into add-body-to-network-errors | John Ericson | |
2020-07-21 | Update src/libstore/build.cc | John Ericson | |
2020-07-21 | Merge branch 'fix-and-document-addToStoreSlow' of ↵ | John Ericson | |
github.com:obsidiansystems/nix into from-dump-stream | |||
2020-07-21 | Merge branch 'fix-and-document-addToStoreSlow' of ↵ | John Ericson | |
github.com:obsidiansystems/nix into misc-ca | |||
2020-07-20 | Correct bug, thoroughly document addToStoreSlow | Carlo Nucera | |
2020-07-20 | Use heuristics to decide when to show the response | Carlo Nucera | |
Due to https://github.com/NixOS/nix/issues/3841 we don't know how print different messages for different verbosity levels. | |||
2020-07-20 | Add another Unimplemented case | Carlo Nucera | |
2020-07-20 | Merge branch 'ca-derivation-data-types' of github.com:obsidiansystems/nix ↵ | Carlo Nucera | |
into misc-ca | |||
2020-07-20 | Add UnimplementedError to ease grepping for these | Carlo Nucera | |
2020-07-20 | Merge remote-tracking branch 'upstream/master' into from-dump-stream | John Ericson | |
2020-07-20 | Merge pull request #3822 from obsidiansystems/dump-thrice-fixme | Eelco Dolstra | |
Optimize `addToStoreSlow` and remove `TeeParseSink` | |||
2020-07-20 | Apply suggestions from code review | John Ericson | |
Co-authored-by: Eelco Dolstra <edolstra@gmail.com> | |||
2020-07-17 | Add `DerivationType::CAFloating` | John Ericson | |
2020-07-17 | Merge branch 'master' of github.com:NixOS/nix into ↵ | Carlo Nucera | |
allow-relative-paths-in-store-option | |||
2020-07-17 | Revert "Don't anticipate CA but not fixed outputs for now" | Carlo Nucera | |
This reverts commit 3a9e4c32624b36b70cf8d553fd76a85ee97773ab. | |||
2020-07-17 | Revert "Don't anticipate multiple CA outputs for now" | Carlo Nucera | |
This reverts commit 74b251b2f3d6414de051c8523011c0ee3c5ea154. | |||
2020-07-17 | Revert "Don't anticipate hash algo without hash in derivation for now" | Carlo Nucera | |
This reverts commit 3804e3df9bb479fe1d399f29d16a1aabaf352c19. | |||
2020-07-17 | Merge branch 'ca-drv' of github.com:Ericson2314/nix into misc-ca | Carlo Nucera | |
2020-07-17 | Merge branch 'multi-output-hashDerivationModulo' of ↵ | Carlo Nucera | |
github.com:Ericson2314/nix into misc-ca | |||
2020-07-16 | Merge branch 'optional-derivation-output-storepath' of ↵ | Carlo Nucera | |
github.com:obsidiansystems/nix into ca-derivation-data-types | |||
2020-07-16 | Merge branch 'master' of github.com:NixOS/nix into ↵ | Carlo Nucera | |
optional-derivation-output-storepath | |||
2020-07-16 | Merge branch 'master' of github.com:NixOS/nix into add-body-to-network-errors | Carlo Nucera | |
2020-07-16 | Fix bug in TeeSource | John Ericson | |
We use this to simplify `LocalStore::addToStoreFromDump`. Also, hope I fixed build error with old clang (used in Darwin CI). | |||
2020-07-16 | Generations API cleanup | Eelco Dolstra | |
2020-07-16 | Merge remote-tracking branch 'origin/flakes' | Eelco Dolstra | |
2020-07-16 | Optimize `addToStoreSlow` and remove `TeeParseSink` | John Ericson | |
2020-07-15 | Revert "LocalStore::addToStoreFromDump copy in chunks" | John Ericson | |
This reverts commit 592851fb67cd15807109d6f65fb81f6af89af966. We don't need this extra feature anymore | |||
2020-07-15 | Get rid of `LocalStore::addToStoreCommon` | John Ericson | |
I got it to just become `LocalStore::addToStoreFromDump`, cleanly taking a store and then doing nothing too fancy with it. `LocalStore::addToStore(...Path...)` is now just a simple wrapper with a bare-bones sinkToSource of the right dump command. | |||
2020-07-15 | Merge remote-tracking branch 'obsidian/fix-add-to-star-narhash' into ↵ | John Ericson | |
from-dump-stream | |||
2020-07-15 | Merge branch 'master' of github.com:NixOS/nix into add-body-to-network-errors | Carlo Nucera | |
2020-07-15 | Revert "LocalStore::addToStore(srcPath): Handle the flat case" | Eelco Dolstra | |
This reverts commit a2c27022e9afc394e08d34d349587c8903fc1a97. See addToStoreSlow(), we don't need to handle this case efficiently anymore. In fact, we can almost remove the method/hashAlgo arguments since the non-recursive and/or non-SHA256 are almost not used anymore. | |||
2020-07-14 | Rename variable `nar` -> `dump` according to TODO | John Ericson | |
2020-07-14 | Fix localhost::addToStore(...Path...) | John Ericson | |
We were calculating the nar hash wrong when the file ingestion method was flat. I don't think there's anything we can do in that case but dump the file again, so that's what I do. As an optomization, we again could reuse the original dump for just the recursive and non-sha256 case, but I rather do that after this fix, and after my other PRs which deduplicate this code. | |||
2020-07-14 | LocalStore::addToStoreFromDump copy in chunks | John Ericson | |
Rather than copying byte-by-byte, we let the coroutine know how much data we would like it to send back to us. | |||
2020-07-14 | Dedup `LocalStore::addToStore*` | John Ericson | |
The downsides is that the coroutine has byte-by-byte loop transfer. Will fix that next. | |||
2020-07-14 | Crudely make `addToStoreFromDump` take `Source` not string | John Ericson | |
I just as little beyond the type as possible, so the implementation changes this enables can be reviewed separately. | |||
2020-07-14 | Narrow scope of temporary value | John Ericson | |
2020-07-14 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-07-14 | Doh | Eelco Dolstra | |
2020-07-13 | Fix 'nix verify --all' on a binary cache (cached case) | Eelco Dolstra | |
2020-07-13 | Make 'nix copy' to s3:// binary caches run in constant memory | Eelco Dolstra | |
2020-07-13 | Remove istringstream_nocopy | Eelco Dolstra | |
2020-07-13 | Remove 'accessor' from addToStore() | Eelco Dolstra | |
This is only used by hydra-queue-runner and it's better to implement it there. | |||
2020-07-13 | NarAccessor: Run in constant memory | Eelco Dolstra | |