lix/src/libstore
Dan Peebles e7cb2847ab Explicitly model all settings and fail on unrecognized ones
Previously, the Settings class allowed other code to query for string
properties, which led to a proliferation of code all over the place making
up new options without any sort of central registry of valid options. This
commit pulls all those options back into the central Settings class and
removes the public get() methods, to discourage future abuses like that.

Furthermore, because we know the full set of options ahead of time, we
now fail loudly if someone enters an unrecognized option, thus preventing
subtle typos. With some template fun, we could probably also dump the full
set of options (with documentation, defaults, etc.) to the command line,
but I'm not doing that yet here.
2017-02-22 20:19:25 -05:00
..
binary-cache-store.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
binary-cache-store.hh Provide default implementations for a couple of Store methods 2017-02-07 19:29:21 +01:00
build.cc Explicitly model all settings and fail on unrecognized ones 2017-02-22 20:19:25 -05:00
builtins.cc Support netrc in <nix/fetchurl.nix> 2017-02-16 15:51:50 +01:00
builtins.hh Support netrc in <nix/fetchurl.nix> 2017-02-16 15:51:50 +01:00
crypto.cc Explicitly model all settings and fail on unrecognized ones 2017-02-22 20:19:25 -05:00
crypto.hh Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
derivations.cc Fix S3BinaryCacheStore 2016-12-08 15:31:27 +01:00
derivations.hh Add a mechanism for derivation attributes to reference the derivation's outputs 2016-08-17 17:19:32 +02:00
download.cc Explicitly model all settings and fail on unrecognized ones 2017-02-22 20:19:25 -05:00
download.hh Add support for s3:// URIs 2017-02-14 14:20:00 +01:00
export-import.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
fs-accessor.hh Add NAR / Store accessor abstraction 2016-02-25 17:43:19 +01:00
gc.cc AutoCloseDir: Use std::unique_ptr 2017-01-16 22:39:27 +01:00
globals.cc Explicitly model all settings and fail on unrecognized ones 2017-02-22 20:19:25 -05:00
globals.hh Explicitly model all settings and fail on unrecognized ones 2017-02-22 20:19:25 -05:00
http-binary-cache-store.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
legacy-ssh-store.cc Fix building without S3 support 2017-02-21 13:15:07 +01:00
local-binary-cache-store.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
local-fs-store.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
local-store.cc Explicitly model all settings and fail on unrecognized ones 2017-02-22 20:19:25 -05:00
local-store.hh Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
local.mk Revert "Merge branch 'seccomp' of https://github.com/aszlig/nix" 2016-12-19 11:52:57 +01:00
misc.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
nar-accessor.cc Fix warning on 32-bit systems 2016-12-08 20:37:58 +01:00
nar-accessor.hh Add NAR / Store accessor abstraction 2016-02-25 17:43:19 +01:00
nar-info-disk-cache.cc Periodically purge binary-cache.sqlite 2017-01-27 15:19:33 +01:00
nar-info-disk-cache.hh HttpBinaryCacheStore: Fix caching of WantMassQuery 2016-06-01 16:24:17 +02:00
nar-info.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
nar-info.hh Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00
nix-store.pc.in Install some pkgconfig files 2014-09-18 12:00:40 +02:00
optimise-store.cc Include config.h implicitly with '-include config.h' in CFLAGS 2017-02-08 21:51:02 +02:00
pathlocks.cc Fix assertion failure when a path is locked 2017-01-26 20:40:33 +01:00
pathlocks.hh openLockFile: Return an AutoCloseFD 2017-01-26 20:40:33 +01:00
profiles.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
profiles.hh Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
references.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
references.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
remote-fs-accessor.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
remote-fs-accessor.hh Factor a general remote FS accessor out of BinaryCacheStore 2016-09-02 14:24:34 -04:00
remote-store.cc Add a LegacySSHStore that uses nix-store --serve 2017-02-07 19:29:21 +01:00
remote-store.hh Merge branch 'ssh-store' of https://github.com/shlevy/nix 2016-11-09 18:57:22 +01:00
s3-binary-cache-store.cc Log AWS retries 2017-02-21 11:50:31 +01:00
s3-binary-cache-store.hh Fix getS3Stats() 2016-10-06 17:00:52 +02:00
s3.hh Add support for s3:// URIs 2017-02-14 14:20:00 +01:00
sandbox-defaults.sb.in Revert "remove sandbox-defaults.sb" 2015-11-21 16:40:24 -05:00
schema.sql Mark content-addressed paths in the Nix database and in .narinfo 2016-08-10 18:05:35 +02:00
serve-protocol.hh Provide default implementations for a couple of Store methods 2017-02-07 19:29:21 +01:00
sqlite.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
sqlite.hh Periodically purge binary-cache.sqlite 2017-01-27 15:19:33 +01:00
ssh-store.cc Merge branch 'nix-copy-closure-c++' of https://github.com/shlevy/nix 2017-02-07 20:47:45 +01:00
store-api.cc Explicitly model all settings and fail on unrecognized ones 2017-02-22 20:19:25 -05:00
store-api.hh Merge branch 'nix-copy-closure-c++' of https://github.com/shlevy/nix 2017-02-07 20:47:45 +01:00
worker-protocol.hh Merge branch 'ssh-store' of https://github.com/shlevy/nix 2016-11-09 18:57:22 +01:00