mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
8cb1a49a39
Use *unspecified* as a marker for field values that have not been set. Rationale: 'disabled may easily clash with user values for boolean fields, is confusing (i.e. its meaning is *not* boolean false, but unspecified) and it also passes silently through the symbol? predicate of a field of type symbol. * gnu/services/configuration.scm (configuration-missing-default-value): Renamed from configuration-no-default-value. (define-maybe-helper): Use *unspecified* instead of 'disabled, and make the default value optional. * gnu/home/services/desktop.scm (home-redshift-configuration): Change (maybe-xyz 'disabled) to maybe-xyz. * gnu/services/authentication.scm (nslcd-configuration): Likewise. * gnu/services/cgit.scm (repository-cgit-configuration): Likewise. * gnu/services/file-sharing.scm (serialize-maybe-string) (serialize-maybe-file-object): Use 'unspecified?' instead of (eq? val 'disabled). * gnu/services/messaging.scm (raw-content?): Likewise. (ssl-configuration): Change (maybe-xyz 'disabled) to maybe-xyz. (prosody-configuration): Likewise. * gnu/services/file-sharing.scm (transmission-daemon-configuration): Likewise. * gnu/services/messaging.scm (define-all-configurations): Use *unspecified* instead of 'disabled'. * gnu/services/networking.scm (opendht-configuration): Likewise. * gnu/services/pm.scm (tlp-configuration): Likewise. * gnu/services/telephony.scm (jami-account): Likewise. (jami-configuration): Likewise. * gnu/services/vpn.scm (openvpn-client-configuration): Likewise. * tests/services/configuration.scm ("maybe type, no default") ("maybe type, with default"): New tests. Signed-off-by: Ludovic Courtès <ludo@gnu.org> |
||
---|---|---|
.. | ||
keys | ||
services | ||
accounts.scm | ||
base16.scm | ||
base32.scm | ||
base64.scm | ||
boot-parameters.scm | ||
bournish.scm | ||
build-utils.scm | ||
builders.scm | ||
cache.scm | ||
challenge.scm | ||
channels.scm | ||
combinators.scm | ||
containers.scm | ||
cpan.scm | ||
cpio.scm | ||
cran.scm | ||
crate.scm | ||
cve-sample.json | ||
cve.scm | ||
debug-link.scm | ||
derivations.scm | ||
discovery.scm | ||
egg.scm | ||
elm.scm | ||
elpa.scm | ||
file-systems.scm | ||
gem.scm | ||
gexp.scm | ||
git-authenticate.scm | ||
git.scm | ||
glob.scm | ||
gnu-maintenance.scm | ||
go.scm | ||
grafts.scm | ||
graph.scm | ||
gremlin.scm | ||
guix-archive.sh | ||
guix-authenticate.sh | ||
guix-build-branch.sh | ||
guix-build.sh | ||
guix-daemon.sh | ||
guix-describe.sh | ||
guix-download.sh | ||
guix-environment-container.sh | ||
guix-environment.sh | ||
guix-gc.sh | ||
guix-git-authenticate.sh | ||
guix-graph.sh | ||
guix-hash.sh | ||
guix-home.sh | ||
guix-lint.sh | ||
guix-pack-localstatedir.sh | ||
guix-pack-relocatable.sh | ||
guix-pack.sh | ||
guix-package-aliases.sh | ||
guix-package-net.sh | ||
guix-package.sh | ||
guix-repl.sh | ||
guix-shell-export-manifest.sh | ||
guix-shell.sh | ||
guix-system.sh | ||
hackage.scm | ||
home-import.scm | ||
home-services.scm | ||
http-client.scm | ||
import-git.scm | ||
import-github.scm | ||
import-utils.scm | ||
inferior.scm | ||
ipfs.scm | ||
lint.scm | ||
minetest.scm | ||
modules.scm | ||
monads.scm | ||
nar.scm | ||
networking.scm | ||
offload.scm | ||
opam.scm | ||
openpgp.scm | ||
pack.scm | ||
packages.scm | ||
pki.scm | ||
print.scm | ||
processes.scm | ||
profiles.scm | ||
publish.scm | ||
pypi.scm | ||
records.scm | ||
scripts.scm | ||
search-paths.scm | ||
services.scm | ||
sets.scm | ||
size.scm | ||
status.scm | ||
store-database.scm | ||
store-deduplication.scm | ||
store-roots.scm | ||
store.scm | ||
style.scm | ||
substitute.scm | ||
swh.scm | ||
syscalls.scm | ||
system.scm | ||
test.drv | ||
texlive.scm | ||
transformations.scm | ||
ui.scm | ||
union.scm | ||
upstream.scm | ||
utils.scm | ||
uuid.scm | ||
workers.scm |