Skip to content
Snippets Groups Projects
  1. Jan 21, 2019
    • Ludovic Courtès's avatar
      store: Rename '&nix-error' to '&store-error'. · f9e8a123
      Ludovic Courtès authored
      * guix/store.scm (&nix-error): Rename to...
      (&store-error): ... this, and adjust users.
      (&nix-connection-error): Rename to...
      (&store-connection-error): ... this, and adjust users.
      (&nix-protocol-error): Rename to...
      (&store-protocol-error): ... this, adjust users.
      (&nix-error, &nix-connection-error, &nix-protocol-error): Define these
      condition types and their getters as deprecrated aliases.
      * build-aux/run-system-tests.scm, guix/derivations.scm,
      guix/grafts.scm, guix/scripts/challenge.scm,
      guix/scripts/graph.scm, guix/scripts/lint.scm,
      guix/scripts/offload.scm, guix/serialization.scm,
      guix/ssh.scm, guix/tests.scm, guix/ui.scm,
      tests/derivations.scm, tests/gexp.scm, tests/guix-daemon.sh,
      tests/packages.scm, tests/store.scm, doc/guix.texi: Adjust to use the
      new names.
      f9e8a123
  2. Jan 17, 2019
  3. Jan 16, 2019
  4. Jan 11, 2019
    • Ludovic Courtès's avatar
      guix build: Re-purpose '--verbosity' and add '--debug'. · f1de676e
      Ludovic Courtès authored
      The previous '--verbosity' option was misleading and rarely what users
      were looking for.  The new option provides a consistent way to choose
      whether or not to display the build log.
      
      * guix/scripts/build.scm (show-build-options-help): Remove "--verbosity"
      and add "--debug".
      (set-build-options-from-command-line): Use the 'debug key of OPTS for
       #:verbosity.
      (%standard-build-options): Change "verbosity" to "debug".  Use
      'string->number*' instead of 'string->number'.
      (%default-options): Change 'verbosity to 'debug and add a 'verbosity
      key.
      (show-help): Add '--verbosity'.
      (%options): Likewise, and change '--quiet' to set the 'verbosity key of
      RESULT.
      (guix-build): Use 'with-status-verbosity' instead of parameterizing
      CURRENT-BUILD-OUTPUT-PORT, honor the 'verbosity key of OPTS, and remove
      'quiet?'.
      * guix/scripts/environment.scm (show-help, %options): Add '--verbosity'.
      (%default-options): Add 'debug'.
      (guix-environment): Honor the 'verbosity key of OPTS.
      * guix/scripts/pack.scm (%default-options): Add 'debug.
      (%options, show-help): Add '--verbosity'.
      (guix-pack): Honor the 'verbosity key of OPTS.
      * guix/scripts/package.scm (%default-options): Add 'debug.
      (show-help, %options): Add '--verbosity'.  Mark '--verbose' as
      deprecated and change it to set 'verbosity.
      (guix-package): Honor the 'verbosity key of OPTS and remove 'verbose?'.
      * guix/scripts/pull.scm (%default-options): Add 'debug.
      (show-help, %options): Add '--verbosity'.
      (guix-pull): Honor the 'verbosity key of OPTS.
      * guix/scripts/system.scm (show-help, %options): Add '--verbosity'.
      (%default-options): Add 'debug.
      (guix-system): Honor the 'verbosity key of OPTS.
      * guix/scripts/archive.scm (%default-options): Add 'debug,
      'print-build-trace?, 'print-extended-build-trace?, and
      'multiplexed-build-output?.
      (show-help, %options): Add '--verbosity'.
      (export-from-store): Remove call to 'set-build-options-from-command-line'.
      (guix-archive): Wrap body in 'with-status-verbosity'. Add call to
      'set-build-options-from-command-line.
      * doc/guix.texi (Common Build Options): Document '--verbosity' and
      '--debug'.
      (Additional Build Options): Adjust description of '--quiet'.
      f1de676e
    • Ludovic Courtès's avatar
      services: Deprecate a few more service procedures. · 84a2de36
      Ludovic Courtès authored
      These procedures were already either undocumented (and de facto
      deprecated) or documented as deprecated or redundant.
      
      * gnu/services/base.scm (guix-service, guix-publish-service): Mark as
      deprecated.
      * gnu/services/mcron.scm (mcron-service): Likewise.
      * gnu/services/networking.scm (tor-service): Likewise.
      * doc/guix.texi (Scheduled Job Execution): Remove 'mcron-service' and
      adjust example.
      (Networking Services): Remove 'tor-service'.
      * gnu/tests/base.scm (%mcron-os): Use 'mcron-service-type' instead of
      'mcron-service'.
      * gnu/tests/networking.scm (%tor-os): Use 'tor-service-type' instead of
      'tor-service'.
      * tests/guix-system.sh: Likewise.
      84a2de36
  5. Jan 10, 2019
    • Danny Milosavljevic's avatar
      services: Add docker. · 8af4c335
      Danny Milosavljevic authored
      * gnu/services/docker.scm: New file.
      * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
      * doc/guix.texi (Miscellaneous Services): Document the service.
      8af4c335
  6. Jan 09, 2019
    • Ludovic Courtès's avatar
      build: Require Guile 2.2. · 0991fd53
      Ludovic Courtès authored
      * configure.ac: Require Guile 2.2.
      * README: Adjust accordingly.
      * doc/guix.texi (Requirements): Likewise.
      * gnu/packages/package-management.scm (guile2.0-guix): Deprecate.
      (guix-minimal): Inherit from GUIX, not from GUILE2.0-GUIX.
      0991fd53
  7. Jan 08, 2019
  8. Dec 27, 2018
    • Efraim Flashner's avatar
      lint: Check for unstable tarballs. · c180017b
      Efraim Flashner authored
      * guix/scripts/lint.scm (check-source-unstable-tarball): New procedure.
      (%checkers): Add it.
      * tests/lint.scm ("source-unstable-tarball", "source-unstable-tarball:
      source #f", "source-unstable-tarball: valid", "source-unstable-tarball:
      package named archive", "source-unstable-tarball: not-github",
      "source-unstable-tarball: git-fetch"): New tests.
      * doc/guix.texi (Invoking guix lint): Document it.
      c180017b
    • Ludovic Courtès's avatar
      pull: Add '--system'. · 5923102f
      Ludovic Courtès authored
      * guix/scripts/pull.scm (%options): Add '--system'.
      (guix-pull): Honor it.
      * doc/guix.texi (Invoking guix pull): Document it.
      5923102f
  9. Dec 24, 2018
    • Ludovic Courtès's avatar
      offload: Use (guix inferior) instead of (ssh dist node). · ed7b4437
      Ludovic Courtès authored
      Using inferiors and thus 'guix repl' simplifies setup on build
      machines (no need to worry about GUILE_LOAD_PATH etc.)
      
      Furthermore, the 'guix repl -t machine' protocol running in a remote
      pipe addresses several issues with the current implementation of nodes
      and RREPLs in Guile-SSH: fewer round trips, doesn't leave a 'guile
      --listen' process behind it, stateless (since a new process is started
      each time), more efficient (the SSH channel can be reused), more
      reliable (no 'pgrep', 'pkill', and shellology; see
      <https://github.com/artyom-poptsov/guile-ssh/issues/11> as an example.)
      
      * guix/ssh.scm (inferior-remote-eval): New procedure.
      (send-files): Use it instead of 'make-node' and 'node-eval'.
      * guix/scripts/offload.scm (node-guile-version): New procedure.
      (node-free-disk-space, transfer-and-offload, node-load)
      (choose-build-machine, assert-node-has-guix): Use 'remote-inferior'
      instead of 'make-node' and 'inferior-eval' instead of 'node-eval'.
      (assert-node-can-import, assert-node-can-export): Likewise, and add
      'session' parameter.
      (check-machine-availability): Likewise, and add calls to
      'close-inferior' and 'disconnect!'.
      (check-machine-status): Likewise.
      * doc/guix.texi (Daemon Offload Setup): Remove bit related to 'guile' in
      $PATH and $GUILE_LOAD_PATH; mention 'guix' alone.
      ed7b4437
    • Efraim Flashner's avatar
      doc: Fix typo. · b599fed5
      Efraim Flashner authored
      This is a follow-up to c3949182
      
      * doc/guix.texi (Invoking guix refresh): Fix texinfo markup
      b599fed5
    • Efraim Flashner's avatar
      scripts: refresh: Allow searching recursively. · c3949182
      Efraim Flashner authored
      * guix/scripts/refresh.scm (refresh-recursive, list-transitive): New
      procedures.
      (show-help): Document it.
      (guix-refresh): Add flags and checks for new options.
      * doc/guix.texi (Invoking guix refresh): Document new options.
      c3949182
    • Efraim Flashner's avatar
      services: Add quassel. · dcad57d5
      Efraim Flashner authored
      * gnu/services/messaging.scm (<quassel-configuration>): New record type.
      (%quassel-account, %quassel-activation): New procedures.
      (quassel-service-type): New variable.
      * gnu/tests/messaging.scm (%test-quassel): New variable.
      (run-quassel-test): New procedure.
      * doc/guix.texi (Messaging): Document quassel service.
      dcad57d5
    • Arun Isaac's avatar
      guix: lint: Check for source URIs redirecting to GitHub. · 0865d8a8
      Arun Isaac authored
      * guix/scripts/lint.scm (check-github-uri): New procedure.
      (%checkers): Add it.
      * doc/guix.texi (Invoking guix lint): Document it.
      * tests/lint.scm ("github-url", "github-url: one suggestion"): New tests.
      0865d8a8
  10. Dec 23, 2018
  11. Dec 21, 2018
  12. Dec 18, 2018
  13. Dec 17, 2018
    • Ludovic Courtès's avatar
      environment: Support package transformation options. · a93c1606
      Ludovic Courtès authored
      Fixes <https://bugs.gnu.org/33776>.
      Reported by Adrien Guilbaud <adrien.guilbaud@inria.fr>.
      
      * guix/scripts/environment.scm (show-help): Add call to
      'show-transformation-options-help'.
      (%options): Add %TRANSFORMATION-OPTIONS.
      (options/resolve-packages): Add 'store' parameter.
      [transform, package->manifest-entry*]: New procedures.
      Use 'package->manifest-entry*' instead of 'package->manifest-entry'.
      (guix-environment): Move definition of 'manifest' within 'with-store'.
      * tests/guix-environment.sh: Add test.
      a93c1606
    • Ludovic Courtès's avatar
      services: udev: Add 'rules' action. · bafcf1f3
      Ludovic Courtès authored
      * gnu/services/base.scm (udev-shepherd-service): Add 'actions' field.
      * doc/guix.texi (Base Services): Move "@end deffn" after 'udev-service'
      definition.  Mention 'herd rules udev'.
      bafcf1f3
    • Oleg Pykhalov's avatar
      services: monitoring: Add 'zabbix-front-end'. · 85c07cff
      Oleg Pykhalov authored
      * gnu/services/monitoring.scm (nginx-server-configuration-list?,
      serialize-nginx-server-configuration-list, zabbix-front-end-configuration,
      zabbix-front-end-config, zabbix-front-end-activation,
      generate-zabbix-front-end-documentation): New procedures.
      (%zabbix-front-end-configuration-nginx, %maintenance.inc.php,
      zabbix-front-end-service-type): New variables.
      * doc/guix.texi (Monitoring Services): Document this.
      85c07cff
    • Oleg Pykhalov's avatar
      services: php-fpm: Add 'timezone' configuration. · e517161d
      Oleg Pykhalov authored
      * gnu/services/web.scm: (<php-fpm-configuration>)[timezone]: New record field.
      (default-php-fpm-config, php-fpm-shepherd-service, php-fpm-activation): Use
      this.
      * doc/guix.texi (Web Services): Document this.
      e517161d
    • Oleg Pykhalov's avatar
      services: monitoring: Add 'zabbix-agent'. · 6106d7ca
      Oleg Pykhalov authored
      * gnu/services/monitoring.scm (zabbix-server-service-type,
      zabbix-agent-account, zabbix-agent-activation, zabbix-agent-config-file,
      zabbix-agent-shepherd-service, generate-zabbix-agent-documentation): New
      procedures.
      (zabbix-agent-service-type): New 'service-type'.
      * gnu/tests/monitoring.scm (run-zabbix-server-test): Test 'zabbix-agent'.
      (%zabbix-os): Add 'zabbix-agent' service.
      * doc/guix.texi (Monitoring Services): Document 'zabbix-agent'.
      6106d7ca
    • Oleg Pykhalov's avatar
      services: monitoring: Add 'zabbix-server'. · 6b1c4179
      Oleg Pykhalov authored
      * gnu/services/monitoring.scm (uglify-field-name, serialize-field,
      serialize-number, serialize-list, serialize-string, group?, serialize-group,
      include-files?, serialize-include-files, zabbix-server-account,
      zabbix-server-config-file, zabbix-server-activation,
      zabbix-server-shepherd-service, generate-zabbix-server-documentation,
      extra-options, serialize-extra-options): New procedures.
      (zabbix-server-service-type): New variable.
      * gnu/tests/monitoring.scm (%psql-user-create-zabbix,
      %psql-db-zabbix-create-script, %psql-db-create-zabbix, %psql-db-import-zabbix,
      %zabbix-os, %test-zabbix): New variables.
      (run-zabbix-server-test): New procedure.
      * doc/guix.texi (Monitoring Services): Document 'zabbix-server'.
      
      squash! services: monitoring: Add 'zabbix-server'.
      6b1c4179
  14. Dec 15, 2018
  15. Dec 14, 2018
  16. Dec 09, 2018
    • Ricardo Wurmus's avatar
      guix: Add support for channel dependencies. · af12790b
      Ricardo Wurmus authored
      * guix/channels.scm (<channel-metadata>): New record.
      (read-channel-metadata, channel-instance-dependencies): New procedures.
      (latest-channel-instances): Include channel dependencies; add optional
      argument PREVIOUS-CHANNELS.
      (channel-instance-derivations): Build derivation for additional channels and
      add it as dependency to the channel instance derivation.
      * doc/guix.texi (Channels): Add subsection "Declaring Channel Dependencies".
      * tests/channels.scm: New file.
      * Makefile.am (SCM_TESTS): Add it.
      af12790b
  17. Dec 06, 2018
  18. Dec 05, 2018
  19. Dec 04, 2018
    • Ludovic Courtès's avatar
      doc: Update "Limitations". · bd3e1f16
      Ludovic Courtès authored
      * doc/guix.texi (Limitations): Update package count.
      bd3e1f16
    • Ludovic Courtès's avatar
      doc: Update substitute server. · 606b1a1e
      Ludovic Courtès authored
      Fixes an accidental revert in commit
      0a5fa004.
      
      * doc/guix.texi (SUBSTITUTE-SERVER): Really change to ci.guix.info.
      606b1a1e
    • Ludovic Courtès's avatar
      build: Default to https://ci.guix.info for substitutes. · 0a5fa004
      Ludovic Courtès authored
      * config-daemon.ac (guix_substitute_urls): Always default to
      "https://ci.guix.info".
      * doc/guix.texi (SUBSTITUTE-SERVER): Switch to ci.guix.info.
      * guix/scripts/build.scm (%default-log-urls): Likewise.
      * guix/scripts/substitute.scm (%default-substitute-urls): Likewise.
      * guix/store.scm (%default-substitute-urls): Likewise.
      0a5fa004
    • Ludovic Courtès's avatar
      Remove most references to hydra.gnu.org. · 0bc02bec
      Ludovic Courtès authored
      * Makefile.am (assert-binaries-available): Don't mention hydra.gnu.org
      in comment.
      * build-aux/check-available-binaries.scm: Likewise.
      * build-aux/check-final-inputs-self-contained.scm: Likewise.
      * doc/guix.texi (SUBSTITUTE-SERVER): New variable.
      Use it throughout instead of "mirror.hydra.gnu.org".
      * doc/contributing.texi (Submitting Patches): Likewise.
      * gnu/services/base.scm (hydra-key-authorization)
      (guix-activation): Remove mentions of "hydra.gnu.org" in comments and
      messages.
      * gnu/system/install.scm (%installation-services): Likewise.
      * guix/scripts/size.scm (guix-size): Likewise.
      0bc02bec
Loading