Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-09 | Split out `local-fs-store.hh` | John Ericson | |
This matches the already-existing `local-fs-store.cc`. | |||
2020-10-06 | Shut up some clang warnings | Eelco Dolstra | |
2020-10-05 | Fix s3:// store | Eelco Dolstra | |
Fixes https://github.com/NixOS/nixos-org-configurations/issues/123. | |||
2020-10-05 | Merge pull request #3935 from obsidiansystems/binary-cache-addToStoreFromDump | Eelco Dolstra | |
Get rid of Hash::dummy from BinaryCacheStore | |||
2020-09-23 | Get rid of Hash::dummy from BinaryCacheStore | John Ericson | |
2020-09-22 | Deduplicate basic derivation goals too | John Ericson | |
See comments for security concerns. Also optimize goal creation by not traversing map twice. | |||
2020-09-21 | Document addCAToStore/addToStoreFromDump source drainage | Robert Hensing | |
Also checked that all usages satisfy the requirement and removed dead code. | |||
2020-09-16 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
remove-storetype-delegate-regStore | |||
2020-09-16 | Fix build issues with gcc | regnat | |
2020-09-16 | Add a name to the stores | regnat | |
So that it can be printed by `nix describe-stores` | |||
2020-09-16 | Document the new store hierarchy | regnat | |
2020-09-16 | fixup! Correctly call all the parent contructors of the stores | regnat | |
2020-09-16 | Properly filter the stores according to their declared uriSchemes | regnat | |
When opening a store, only try the stores whose `uriSchemes()` include the current one | |||
2020-09-16 | Correctly call all the parent contructors of the stores | regnat | |
Using virtual inheritance means that only the default constructors of the parent classes will be called, which isn't what we want | |||
2020-09-16 | Separate store configs from the implems | regnat | |
Rework the `Store` hierarchy so that there's now one hierarchy for the store configs and one for the implementations (where each implementation extends the corresponding config). So a class hierarchy like ``` StoreConfig-------->Store | | v v SubStoreConfig----->SubStore | | v v SubSubStoreConfig-->SubSubStore ``` (with virtual inheritance to prevent DDD). The advantage of this architecture is that we can now introspect the configuration of a store without having to instantiate the store itself | |||
2020-09-16 | Separate the instantiation and initialisation of the stores | regnat | |
Add a new `init()` method to the `Store` class that is supposed to handle all the effectful initialisation needed to set-up the store. The constructor should remain side-effect free and just initialize the c++ data structure. The goal behind that is that we can create “dummy” instances of each store to query static properties about it (the parameters it accepts for example) | |||
2020-09-16 | Fix the registration of stores | regnat | |
2020-09-16 | Make the store plugins more introspectable | regnat | |
Directly register the store classes rather than a function to build an instance of them. This gives the possibility to introspect static members of the class or choose different ways of instantiating them. | |||
2020-09-15 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
remove-storetype-delegate-regStore | |||
2020-09-03 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-09-03 | addPermRoot(): Remove indirect flag | Eelco Dolstra | |
2020-08-20 | Rename drv output querying functions, like master | John Ericson | |
- `queryDerivationOutputMapAssumeTotal` -> `queryPartialDerivationOutputMap` - `queryDerivationOutputMapAssumeTotal` -> `queryDerivationOutputMap | |||
2020-08-20 | Merge pull request #3859 from obsidiansystems/drv-outputs-map-allow-missing | Eelco Dolstra | |
`queryDerivationOutputMap` no longer assumes all outputs have a mapping | |||
2020-08-20 | Rename drv output querying functions | John Ericson | |
- `queryDerivationOutputMapAssumeTotal` -> `queryPartialDerivationOutputMap` - `queryDerivationOutputMapAssumeTotal` -> `queryDerivationOutputMap` | |||
2020-08-19 | Merge branch 'master' of github.com:NixOS/nix into ↵ | John Ericson | |
remove-storetype-delegate-regStore | |||
2020-08-14 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-08-14 | Merge pull request #3924 from obsidiansystems/features-per-store | Eelco Dolstra | |
Make `system-features` a store setting | |||
2020-08-12 | Make `system-features` a store setting | John Ericson | |
This seems more correct. It also means one can specify the features a store should support with --store and remote-store=..., which is useful. I use this to clean up the build remotes test. | |||
2020-08-07 | Squashed get CA derivations building | John Ericson | |
2020-08-06 | Minimize the usage of `Hash::dummy` | John Ericson | |
2020-08-04 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
drv-outputs-map-allow-missing | |||
2020-08-03 | Merge remote-tracking branch 'upstream/master' into path-info-header | John Ericson | |
2020-08-03 | `addToStore` in terms of `addToStoreFromDump` is not local-store-specific | John Ericson | |
2020-07-31 | Merge branch 'master' of github.com:NixOS/nix into drv-outputs-map-allow-missing | Carlo Nucera | |
2020-07-30 | Merge remote-tracking branch 'origin/master' into substitute-other-storedir | Matthew Bauer | |
2020-07-30 | unsigned long long -> uint64_t | Eelco Dolstra | |
2020-07-27 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
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-15 | Merge branch 'master' of github.com:NixOS/nix into hash-always-has-type | Carlo Nucera | |
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-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 | toStorePath(): Return a StorePath and the suffix | Eelco Dolstra | |
2020-07-13 | Fix 'nix verify --all' on a binary cache and add a test | Eelco Dolstra | |
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-10 | Factor out commonality between nix-prefetch-url and nix-store --add-fixed | Eelco Dolstra | |
2020-07-03 | Merge branch 'master' of github.com:NixOS/nix into hash-always-has-type | John Ericson | |
2020-07-02 | Merge remote-tracking branch 'origin/master' into substitute-other-storedir | Matthew Bauer | |
2020-06-25 | Move ValidPathInfo to its own header | John Ericson | |