Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-20 | Add UnimplementedError to ease grepping for these | Carlo Nucera | |
2020-07-17 | Add `DerivationType::CAFloating` | John Ericson | |
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 | Small namespace fix | Carlo Nucera | |
2020-07-15 | Merge branch 'master' of github.com:NixOS/nix into ↵ | Carlo Nucera | |
derivation-header-include-order | |||
2020-07-12 | Change types to prepare the way for CA derivations | John Ericson | |
We've added the variant to `DerivationOutput` to support them, but made `DerivationOutput::path` partial to avoid actually implementing them. With this chage, we can all collaborate on "just" removing `DerivationOutput::path` calls to implement CA derivations. | |||
2020-07-12 | Use more std::visit to prepare for new variant | John Ericson | |
N.B. not using `std::visit` for fetchurl because there is no attempt to handle all the cases (e.g. no `else`) and lambda complicates early return. | |||
2020-07-12 | DerivationOutputExtensional -> DerivationOutputInputAddressed | John Ericson | |
Thanks @regnat for the great name. | |||
2020-07-12 | String .drv suffix to create derivation name | John Ericson | |
2020-07-12 | std::string_view for new derivation name parameters | John Ericson | |
2020-07-12 | BasicDerivation::findOutput cannot return reference anymore | John Ericson | |
2020-07-09 | Fix DerivationOutputExtensional name | Matthew Bauer | |
2020-07-08 | Only store hash of fixed derivation output | Matthew Bauer | |
we don’t need a full storepath for a fixedoutput derivation. So just putting the ingestion method + the hash is sufficient. | |||
2020-07-08 | Add name to BasicDerivation | Matthew Bauer | |
We always have a name for BasicDerivation, since we have a derivation store path that has a name. | |||
2020-07-05 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
derivation-header-include-order | |||
2020-06-24 | Merge remote-tracking branch 'upstream/master' into ca-drv | John Ericson | |
2020-06-21 | Merge remote-tracking branch 'upstream/master' into ca-drv | John Ericson | |
2020-06-21 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
derivation-header-include-order | |||
2020-06-21 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
multi-output-hashDerivationModulo | |||
2020-06-19 | Merge remote-tracking branch 'me/no-stringly-typed-derivation-output' into ↵ | John Ericson | |
validPathInfo-ca-proper-datatype | |||
2020-06-19 | Remove unneeded constructor for `DerivationOutputHash` | John Ericson | |
2020-06-19 | Use designated initializers for `DerivationOutputHash` | John Ericson | |
2020-06-19 | FileSystemHash -> DerivationOutputHash | John Ericson | |
2020-06-18 | Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype | John Ericson | |
2020-06-17 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
no-stringly-typed-derivation-output | |||
2020-06-17 | Move some Store functions from derivations.cc to store-api.cc | John Ericson | |
This further continues with the dependency inverstion. Also I just went ahead and exposed `parseDerivation`: it seems like the more proper building block, and not a bad thing to expose if we are trying to be less wedded to drv files on disk anywas. | |||
2020-06-17 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
derivation-header-include-order | |||
2020-06-17 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
multi-output-hashDerivationModulo | |||
2020-06-17 | Merge remote-tracking branch 'upstream/master' into ca-drv | John Ericson | |
2020-06-16 | Remove StorePath::clone() and related functions | Eelco Dolstra | |
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-03 | Use enum and predicates rather than bitfile for derivation type | John Ericson | |
2020-06-03 | Merge remote-tracking branch 'upstream/master' into ca-drv | John Ericson | |
2020-06-02 | Move file-hash to content-address | Carlo Nucera | |
2020-06-02 | WIP | Carlo Nucera | |
2020-06-01 | Create new file-hash files | Carlo Nucera | |
2020-06-01 | Merge branch 'derivation-header-include-order' of github.com:Ericson2314/nix ↵ | Carlo Nucera | |
into validPathInfo-ca-proper-datatype | |||
2020-05-28 | Merge remote-tracking branch 'me/more-rust-ffi' into ↵ | John Ericson | |
no-stringly-typed-derivation-output | |||
2020-05-28 | Merge remote-tracking branch 'upstream/master' into more-rust-ffi | John Ericson | |
2020-03-30 | Store parsed hashes in `DerivationOutput` | John Ericson | |
It's best to detect invalid data as soon as possible, with data types that make storing it impossible. | |||
2020-03-30 | Merge remote-tracking branch 'me/enum-FileIngestionMethod' into HEAD | John Ericson | |
2020-03-29 | Replace some `bool recursive` with a new `FileIngestionMethod` enum | John Ericson | |
2020-03-25 | Extend Rust FFI | John Ericson | |
Do idiomatic C++ copy and move constructors for a few things, so wrapping structs' defaults can work. | |||
2020-03-24 | Flip dependency so store-api.hh includes derivations.hh | John Ericson | |
I think it makes more sense to define the data model (derivations), before the operations (store api). | |||
2020-03-24 | Use std::string_view | Eelco Dolstra | |
(cherry picked from commit 6529490cc10018d5191e50c482ac1180b96b1a3c) | |||
2020-03-19 | Apply suggestions from code review | John Ericson | |
2020-03-19 | Apply suggestions from code review | John Ericson | |
Co-Authored-By: Cole Helbling <cole.e.helbling@outlook.com> | |||
2020-03-19 | hashDerivationModulo: Generalize for multiple fixed ouputs per drv | John Ericson | |
See documentattion in header and comments in implementation for details. This is actually done in preparation for floating ca derivations, not multi-output fixed ca derivations, but the distinction doesn't yet mattter. Thanks @cole-h for finding and fixing a bunch of typos. | |||
2020-03-15 | Generalize `isFixedOutput` in preparation for CA drvs | John Ericson | |
Today's fixed output derivations and regular derivations differ in a few ways which are largely orthogonal. This replaces `isFixedOutput` with a `type` that returns an enum of possible combinations. |