summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-02-23tests: cuirass: Restore "cuirass running"....This is a follow-up of ab054868afe6a4ba9d8aa9943e265bd6a871d0ae. The test was failing because the Shepherd control socket wasn't ready yet. Restore it but make sure that the control socket is available first. * gnu/tests/cuirass.scm ("shepherd socket ready"): New test. ("cuirass running"): Restore it. Mathieu Othacehe
2021-02-23tests: cuirass: Remove "cuirass running" test....* gnu/tests/cuirass.scm ("cuirass running"): Remove it as it fails if all the dependencies are not started yet. Mathieu Othacehe
2021-02-23services: cuirass: Fix services requirements....* gnu/services/cuirass.scm (cuirass-shepherd-service): Add "postgres-roles" to cuirass requirements. Set cuirass-web requirements to cuirass only. Remove "guix-daemon" and "networking" from cuirass-remote-server requirements as are already required by cuirass. Mathieu Othacehe
2021-02-23services: postgresql-roles: Fix race condition....Make sure that the postgresql-roles script is completed before declaring the postgresql-roles service as started. * gnu/services/databases.scm (postgresql-create-roles): Return the command line instead of a program-file. (postgresql-role-shepherd-service): Use fork+exec-command to start the role creation script and wait for its completion before returning. Mathieu Othacehe
2021-02-23services: cuirass: Improve simple-cuirass-services....Instead of returning multiple services in simple-cuirass-services, rely on the instantiate-missing-services procedure to instantiate postgresql and postgresql-role-service-type when missing. Turn simple-cuirass-services procedure into simple-cuirass-configuration->specs, that takes a simple-cuirass-configuration record and returns a Cuirass specification. Suggested-by: Ludovic Courtès <ludo@gnu.org> * gnu/services/cuirass.scm (%default-cuirass-config): Remove it. (simple-cuirass-services): Rename it to ... (simple-cuirass-configuration->specs): ... this procedure. * gnu/tests/cuirass.scm (cuirass-services): Remove postgresql and postgresql-role services that are automatically instantiated. (simple-cuirass-service): New variable. (%cuirass-simple-test): Adapt it to use simple-cuirass-configuration->specs instead of simple-cuirass-services. * doc/guix.texi (Simple Cuirass): Update it. Mathieu Othacehe
2021-02-23gnu: sbcl-common-lisp-jupyter: Update to 20210217....* gnu/packages/lisp-xyz.scm (sbcl-common-lisp-jupyter): Update to 20210217. Pierre Neidhardt
2021-02-23gnu: sbcl-trivial-clipboard: Update to 20210219....* gnu/packages/lisp-xyz.scm (sbcl-trivial-clipboard): Update to 20210219. Pierre Neidhardt
2021-02-23gnu: youtube-dl: Update to 2021.02.22....* gnu/packages/video.scm (youtube-dl): Update to 2021.02.22. Tobias Geerinckx-Rice
2021-02-22scripts: Don't trigger option hints for short options....Previously, 'guix install foo -r bar' would crash with a backtrace because NAME would be #\r (a character instead of a string). * guix/scripts.scm (parse-command-line)[parse-options-from]: Call 'option-hint' only when NAME is a string. Ludovic Courtès
2021-02-22profiles: Fix typo in manifest comment....* guix/build/profiles.scm (build-profile): Fix typo. Ludovic Courtès
2021-02-22describe: Fix typo in 'manifest-entry-with-provenance'....* guix/describe.scm (manifest-entry-with-provenance): Fix first argument to 'assq'. Ludovic Courtès
2021-02-22gnu: ocaml-llvm: Remove duplicate package....Commit 8f710cc598fb675d267f49a82cffc197f03ad52c introduced a duplicate ocaml-llvm@9.0.1 package, which was flagged by a test failure in tests/packages.scm. * gnu/packages/ocaml.scm (make-ocaml-llvm): Define as 'mlambdaq'. Ludovic Courtès
2021-02-22gnu: linux-libre-headers@5.11: Refer to 5.11, not 5.10....Fixes a typo introduced in b819512ca2cce1051c5fea26328da2e5d6a9a101. * gnu/packages/linux.scm (linux-libre-headers-5.11): Really refer to 5.11. Ludovic Courtès
2021-02-22packages: 'package-field-location' preserves the original file name....This fixes a regression introduced in 9a38bed2cf32e9462badfa43e74cdd4580e804fc. * guix/packages.scm (package-field-location): Do not shadow the 'file' variable. Ludovic Courtès
2021-02-22gnu: isync: Update to 1.3.5 [fixes CVE-2021-20247]....* gnu/packages/mail.scm (isync): Update to 1.3.5. Leo Famulari
2021-02-22gnu: Add temper-exporter....* gnu/packages/monitoring.scm (temper-exporter): New variable. Christopher Baines
2021-02-22system: hurd: Have the static networking provision 'networking....Some services require networking, I'm looking at the Guix Build Coordinator agent. Networking seems to work in the childhurd VM, so I think this change makes sense. * gnu/system/hurd.scm (%base-services/hurd): Add 'networking to the provision parameter for the static-networking service. Christopher Baines
2021-02-22substitute: Rework connection error handling....This is part of trying to reduce the interdependency of code within the substitute module. This commit addresses some of the error handling that was performed through open-connection-for-uri/maybe. The new approach is to use call-with-connection-error-handling, and wrap calls to http-multiple-get and http-fetch with that procedure, which takes care of handling connection errors. I think this is even slightly more rigerous than the previous setup, because this approach handles connection errors that occur when http-multiple-get reconnects to a host. * guix/scripts/substitute.scm (open-connection-for-uri/maybe): Transform in to call-with-connection-error-handling. (fetch-narinfos): Use call-with-connection-error-handling. (process-query): Replace open-connection-for-uri/maybe with open-connection-for-uri/cached. (open-connection-for-uri/cached): Set a default timeout, matching the behaviour in open-connection-for-uri/maybe. (process-substitution): Use call-with-connection-error-handling. Christopher Baines
2021-02-22substitute: Remove fetch-narinfos use open-connection-for-uri/maybe....At least by default. Instead, make the open-connection procedure a parameter, and make the default guix:open-connection-for-uri. Do so similarly for lookup-narinfos and lookup-narinfos/diverse which work towards calling fetch-narinfos. This means this code can be moved to a different module, without having use/move the connection caching code. * guix/scripts/substitute.scm (fetch-narinfos): Add #:open-connection argument, and call http-multiple-get with it. (lookup-narinfos) Add #:open-connection argument, and call fetch-narinfos with it. (lookup-narinfos/diverse): Add #:open-connection argument, and call lookup-narinfos with it. (process-query): Call lookup-narinfos/diverse with #:open-connection open-connection-for-uri/maybe. Christopher Baines
2021-02-22substitute: Inline fetch in to process-substitutes....As it's only called in one place, and this should make the code easier to read. * guix/scripts/substitute.scm (fetch): Move procedure inside… (process-substitution): …here. Christopher Baines
2021-02-22substitute: Remove redundant fetch arguments....It's just called in one place, with hardcoded argument values, so just inline them. * guix/scripts/substitute.scm (fetch): Remove arguments that don't vary, copy the values from the call site in process-substitution. (process-substitution): Remove unnecessary argument values from fetch call. Christopher Baines
2021-02-22substitute: Remove now redundant connection caching helpers....Failures now should be handled where they occur, and if there's a problem that's symptomatic of an issue with the connection, the port should be closed. * guix/scripts/substitute.scm (call-with-cached-connection): Remove procedure. (with-cached-connection): Remove syntax rule. Christopher Baines
2021-02-22substitute: Change connection cache handling in process-substitution....Just pass open-connection-for-uri/maybe to http-fetch, this removes the need for with-cached-connection and passing the port in. * guix/scripts/substitute.scm (fetch): Don't take a port as an argument, and pass open-connection-for-uri/maybe to http-fetch. (process-substitution): Don't call fetch with with-cached-connection. Christopher Baines
2021-02-22http-client: Accept #:open-connection in http-fetch....So that an alternative procedure can be passed in, perhaps to perform connection caching. * guix/http-client.scm (http-fetch): Add an #:open-connection keyword argument. Christopher Baines
2021-02-22substitute: Stop using call-with-cached-connection in fetch-narinfos....Instead, just pass open-connection-for-uri/maybe to http-multiple-get. This code should be functionaly similar to the previous code. The eventual aim of this is to make the connection caching not mandatory in fetch-narinfos. * guix/scripts/substitute.scm (fetch-narinfos): Remove use of call-with-cached-connection. Christopher Baines
2021-02-22substitute: open-connection-for-uri/maybe add #:verify-certificate?....As this is used by http-fetch and http-multiple-get when they call the specified open connection procedure. * guix/scripts/substitute.scm (open-connection-for-uri/maybe): Support #:verify-certificate?. Christopher Baines
2021-02-22http-client: Add error handling to http-multiple-get....Making sure to close the port if it looks to be unusable. This closing of the port will allow for caching connections, without caching broken connections, as the cache can avoid handing out closed ports. * guix/http-client.scm (http-multiple-get): Try to catch exceptions that happen if the port is unusable, this is a adaptation of code within the (guix scripts substitute) module. Christopher Baines
2021-02-22guix: Move http-multiple-get to (guix http-client)....From (guix scripts substitute). This will make it easier to reuse this code. * guix/scripts/substitute.scm (http-multiple-get): Remove, and move to… * guix/http-client.scm (http-multiple-get): …here. Christopher Baines
2021-02-22substitute: Remove redundant let block from fetch....* guix/scripts/substitute.scm (fetch): Remove redundant let block. Christopher Baines
2021-02-22substitute: Remove connection handling from fetch....http-fetch does this, so just use that code instead. * guix/scripts/substitute.scm (fetch): Remove connection handling when the port is closed. Christopher Baines
2021-02-22substitute: Remove buffer handling from fetch....http-fetch does this, so just set the right option. * guix/scripts/substitute.scm (fetch): Remove buffering code, and pass #:buffered? to http-fetch. Christopher Baines
2021-02-22gnu: star: Update to 2.7.8a....* gnu/packages/bioinformatics.scm (star): Update to 2.7.8a. Ricardo Wurmus
2021-02-22gnu: Add dstask....* gnu/packages/task-management.scm (dstask): New variable. Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net> Stefan Reichör
2021-02-22gnu: gnome-keyring: Propagate gcr to fix unlock prompts....On desktop environments other than GNOME, it is not obvious gcr package needs to be installed in the profile for gnome-keyring unlock prompts to work. Propagating it ensures no one will need to figure this out in the future. * gnu/packages/gnome.scm (gnome-keyring)[propagated-inputs]: Add "gcr". Léo Le Bouter
2021-02-22gnu: gita: Update to 0.12.9....* gnu/packages/version-control.scm (gita): Update to 0.12.9. Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net> Stefan Reichör
2021-02-22gnu: python-sane: Correct the license....This is a followup to commit f500905ce1baf85a2407c5ccde148ee6c2ea2584. * gnu/packages/python-xyz.scm (python-sane)[license]: Describe the license. Leo Famulari
2021-02-22gnu: Add python-screenkey....* gnu/packages/python-xyz.scm (python-screenkey): New variable. Co-authored-by: Léo Le Bouter <lle-bout@zaclys.net> Alexandros Theodotou
2021-02-22doc: Fix build....This is a follow-up of b309a28678664c295e97a70607def02b0c9b4296. * doc/guix.texi (Tor): Fix build. Mathieu Othacehe
2021-02-22gnu: cuirass: Add missing dependency....* gnu/packages/ci.scm (cuirass)[inputs]: Add gnutls. [arguments]: Adapt accordingly. Mathieu Othacehe
2021-02-22services: postgresql: Define a default value....* gnu/services/databases.scm (postgresql-service-type): Define a default value. Mathieu Othacehe
2021-02-22services: cuirass: Instantiate postgresql service....* gnu/services/cuirass.scm (cuirass-service-type): Instantiate postgresql service when missing. Mathieu Othacehe
2021-02-22services: tor: Add control-socket? option....* doc/guix.texi (Networking Services): Document new `control-socket?' option for `tor-configuration`. * gnu/services/networking.scm (<tor-configuration>): (tor-configuration->torrc): Christopher Lemmer Webber
2021-02-22gnu: ruby-omniauth-oauth2: Update to 1.7.1....* gnu/packages/ruby.scm (ruby-omniauth-oauth2): Update to 1.7.1. Efraim Flashner
2021-02-22gnu: ruby-omniauth: Update to 2.0.3....* gnu/packages/ruby.scm (ruby-omniauth): Update to 2.0.3. [arguments]: Don't skip tests. [propagated-inputs]: Add ruby-rack-protector. [native-inputs]: Add ruby-rspec. Efraim Flashner
2021-02-22gnu: cuirass: Update to 0.0.1-72.543e26a....* gnu/packages/ci.scm (guile-mastodon-dev): New variable. (guile-mastodon-dev): Update to 0.0.1-72.543e26a. [inputs]: Use guile-mastodon-dev instead of guile-mastodon. Mathieu Othacehe
2021-02-22gnu: Fix "license:" prefix in scanner.scm....* gnu/packages/scanner.scm: Change "licence:" to "license:". Ludovic Courtès
2021-02-22gnu: Add python-sane....* gnu/packages/python-xyz.scm (python-sane): New variable Signed-off-by: Ludovic Courtès <ludo@gnu.org> Andy Tai
2021-02-22gnu: guile-dsv: Update to 0.4.0....* gnu/packages/guile-xyz.scm (guile-dsv): Update to 0.4.0 [arguments]: Remove phase "configure-support-guile3.0". Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jack Hill
2021-02-22news: Add 'zh' translation....Signed-off-by: Ludovic Courtès <ludo@gnu.org> Zhu Zihao
2021-02-22packages: 'package-field-location' handles 'search-path' returning #f....Fixes <https://bugs.gnu.org/46390>. Reported by zimoun <zimon.toutoune@gmail.com>. This is similar to the fix in d10474c38d58bdc676e64336769dc2e00cdfa8ed. * guix/packages.scm (package-field-location): Handle FILE not in %LOAD-PATH. * tests/guix-lint.sh: Add test. Ludovic Courtès