Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-30 | unsigned long long -> uint64_t | Eelco Dolstra | |
2020-07-29 | Cleanup | Eelco Dolstra | |
2020-07-29 | Fix RemoteStore::addToStore() latency | Eelco Dolstra | |
Since 6185d25e523a3cd223dd6f6aca10cf6ff15b4823, this was very latency-bound since it required a round-trip for every 32 KiB. So for example copying a 514 MiB closure over a virtual ethernet device with a articial delay of just 1 ms took 343s. Now it takes 2.7s. Fixes #3372. | |||
2020-07-24 | `queryDerivationOutputMap` no longer assumes all outputs have a mapping | John Ericson | |
This assumption is broken by CA derivations. Making a PR now to do the breaking daemon change as soon as possible (if it is already too late, we can bump protocol intead). | |||
2020-07-17 | Remove StoreType abstraction and delegate regStore | Carlo Nucera | |
to each Store implementation. The generic regStore implementation will only be for the ambiguous shorthands, like "" and "auto". This also could get us close to simplifying the daemon command. | |||
2020-07-16 | Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into ↵ | John Ericson | |
better-ca-parse-errors | |||
2020-07-15 | Merge branch 'master' of github.com:NixOS/nix into hash-always-has-type | Carlo Nucera | |
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 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-07-10 | Merge remote-tracking branch 'origin/master' into substitute-other-storedir | Matthew Bauer | |
2020-07-06 | Merge branch 'master' of github.com:NixOS/nix into better-ca-parse-errors | Carlo Nucera | |
2020-07-03 | Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into ↵ | John Ericson | |
better-ca-parse-errors | |||
2020-07-03 | Merge branch 'master' of github.com:NixOS/nix into hash-always-has-type | John Ericson | |
2020-07-03 | Merge branch 'master' into add-trace | Ben Burdette | |
2020-07-02 | Merge remote-tracking branch 'origin/master' into substitute-other-storedir | Matthew Bauer | |
2020-07-02 | move showTrace to new loggerSettings | Ben Burdette | |
2020-07-01 | Rename two hash constructors to proper functions | Carlo Nucera | |
2020-07-01 | Cleanup | Eelco Dolstra | |
2020-06-29 | Fix some things in remote store | John Ericson | |
2020-06-25 | WIP: store separate `hasValidPath` bool | John Ericson | |
2020-06-24 | Add a way to get all the outputs of a derivation with their label | regnat | |
Generalize `queryDerivationOutputNames` and `queryDerivationOutputs` by adding a `queryDerivationOutputMap` that returns the map `outputName=>outputPath` (not that this is not equivalent to merging the results of `queryDerivationOutputs` and `queryDerivationOutputNames` as sets don't preserve the order, so we would end up with an incorrect mapping). squash! Add a way to get all the outputs of a derivation with their label Rename StorePathMap to OutputPathMap | |||
2020-06-23 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-06-22 | Merge remote-tracking branch 'origin/master' into substitute-other-storedir | Matthew Bauer | |
2020-06-19 | Update worker protocol to support sending storepath maps | Matthew Bauer | |
We need to also send the ca to daemon in addition to the path. | |||
2020-06-19 | WIP: Make Hash always store a valid hash type | John Ericson | |
2020-06-18 | Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype | John Ericson | |
2020-06-18 | Revert the `enum struct` change | John Ericson | |
Not a regular git revert as there have been many merges and things. | |||
2020-06-18 | Merge remote-tracking branch 'upstream/master' into enum-class | John Ericson | |
2020-06-17 | Add StorePathCAMap for querySubstitutablePathInfos | Matthew Bauer | |
I’m not 100% sure this is wanted since it kind of makes everything have to know about ca even if they don’t really want to. But it also make things easier in dealing with looking up ca. | |||
2020-06-17 | Merge remote-tracking branch 'origin/master' into substitute-other-storedir | Matthew Bauer | |
2020-06-17 | replaced uncaught_exception with uncaught_exceptions | p01arst0rm | |
2020-06-16 | Remove StorePath::clone() and related functions | Eelco Dolstra | |
2020-06-15 | Merge branch 'errors-phase-2' of https://github.com/bburdette/nix | Eelco Dolstra | |
2020-06-12 | Allow substituting from different storeDir | Matthew Bauer | |
Substituters can substitute from one store dir to another with a little bit of help. The store api just needs to have a CA so it can recompute the store path based on the new store dir. We can only do this for fixed output derivations with no references, though. | |||
2020-06-12 | Remove Store::queryDerivationOutputNames() | Eelco Dolstra | |
This function was used in only one place, where it could easily be replaced by readDerivation() since it's not performance-critical. (This function appears to have been modelled after queryDerivationOutputs(), which exists only to make the garbage collector faster.) | |||
2020-06-02 | Apply suggestions from code review | John Ericson | |
Co-authored-by: Matthew Bauer <mjbauer95@gmail.com> | |||
2020-06-02 | Change parseCa(Opt) to parseContentAddress(Opt) | Carlo Nucera | |
2020-06-02 | WIP | John Ericson | |
2020-05-29 | Merge remote-tracking branch 'upstream/master' into errors-phase-2 | Ben Burdette | |
2020-05-28 | Merge branch 'master' of github.com:NixOS/nix into enum-class | Carlo Nucera | |
2020-05-12 | remove unused extra json fields | Ben Burdette | |
2020-05-01 | convert some errors | Ben Burdette | |
2020-04-29 | errorinfo constructor test | Ben Burdette | |
2020-04-21 | remove 'format' from Error constructor calls | Ben Burdette | |
2020-03-29 | Replace some `bool recursive` with a new `FileIngestionMethod` enum | John Ericson | |
2020-03-29 | Use `enum struct` and drop prefixes | John Ericson | |
This does a few enums; the rest will be gotten in subsequent commits. | |||
2019-12-10 | Make the Store API more type-safe | Eelco Dolstra | |
Most functions now take a StorePath argument rather than a Path (which is just an alias for std::string). The StorePath constructor ensures that the path is syntactically correct (i.e. it looks like <store-dir>/<base32-hash>-<name>). Similarly, functions like buildPaths() now take a StorePathWithOutputs, rather than abusing Path by adding a '!<outputs>' suffix. Note that the StorePath type is implemented in Rust. This involves some hackery to allow Rust values to be used directly in C++, via a helper type whose destructor calls the Rust type's drop() function. The main issue is the dynamic nature of C++ move semantics: after we have moved a Rust value, we should not call the drop function on the original value. So when we move a value, we set the original value to bitwise zero, and the destructor only calls drop() if the value is not bitwise zero. This should be sufficient for most types. Also lots of minor cleanups to the C++ API to make it more modern (e.g. using std::optional and std::string_view in some places). | |||
2019-10-29 | queryPathInfoUncached(): Return const ValidPathInfo | Eelco Dolstra | |
2019-10-11 | ssh-ng: Don't set CPU affinity on the remote | Eelco Dolstra | |
Fixes #3138. | |||
2019-10-04 | Revert "std::uncaught_exception() -> std::uncaught_exceptions()" | Eelco Dolstra | |
This reverts commit 6b83174ffffbdfc3f876d94d5178e0b83f675cae because it doesn't work on macOS yet. https://hydra.nixos.org/build/102617587 |