Skip to content
Snippets Groups Projects
  1. Feb 01, 2021
    • Maxim Cournoyer's avatar
      build: test-driver.scm: Add a new '--errors-only' option. · 93a628c4
      Maxim Cournoyer authored
      * build-aux/test-driver.scm (show-help): Add the help text for the
      new '--errors-only' option.
      (%options): Add the errors-only option.
      (test-runner-gnu): Add the errors-only? parameter and update doc.  Move the
      logging of the test data after the test has completed, so a choice can be made
      whether to keep it or discard it based on the value of the test result.
      (main): Pass the errors-only? option to the driver.
      * doc/guix.texi (Running the Test Suite): Document the new option.
      93a628c4
    • Maxim Cournoyer's avatar
      build: test-driver.scm: Add test cases filtering options. · a1ea2acb
      Maxim Cournoyer authored
      * build-aux/test-driver.scm (show-help): Add help text for the new --select
      and --exclude options.
      (%options): Add the new select and exclude options.
      (test-runner-gnu): Pass them to the test runner.  Update doc.
      (test-match-name*, test-match-name*/negated, %test-match-all): New variables.
      (main): Compute the test specifier based on the values of the new options and
      apply it to the current test runner when running the test file.
      * doc/guix.texi (Running the Test Suite): Document the new options.
      a1ea2acb
  2. Jan 31, 2021
  3. Jan 30, 2021
    • Maxime Devos's avatar
      services: shepherd: Allow custom 'shepherd' package. · 95f72dcd
      Maxime Devos authored
      
      * gnu/services/shepherd.scm (<shepherd-configuration>): New record.
      (shepherd-boot-gexp, shepherd-root-service-type): Use it.
      (scm->go, shepherd-configuration-file): Allow passing custom
      shepherd package.
      * gnu/system.scm (operating-system-shepherd-service-names): Use the new
      record.
      * guix/scripts/system.scm (export-shepherd-graph): Adjust accordingly.
      * doc/guix.texi (Shepherd Services). Document it.
      
      Co-authored-by: default avatarLudovic Courtès <ludo@gnu.org>
      95f72dcd
    • nixo's avatar
      build-system/julia: Don't rely on file name to set module name. · ba093a6d
      nixo authored
      
      * guix/build/julia-build-system.scm (project.toml->name): New procedure.
        (precompile, check, julia-build): Accept new key argument #:julia-package-name.
      * guix/build-system/julia.scm (julia-build): ... add it.
      * doc/guix.texi (julia-build-system): Update julia-package-name accordingly.
      
      Signed-off-by: default avatarLudovic Courtès <ludo@gnu.org>
      ba093a6d
    • nixo's avatar
      build-system/julia: Enable tests. · a23b384f
      nixo authored
      
      * guix/build-system/julia.scm (julia-build): Set tests? default to #t.
      * guix/build/julia-build-system.scm (check): Respect tests? and fix julia
        invocation.
        (%standard-phases): Add check phase after install.
      * doc/guix.texi (julia-build-system): Update accordingly.
      
      Signed-off-by: default avatarLudovic Courtès <ludo@gnu.org>
      a23b384f
  4. Jan 29, 2021
  5. Jan 28, 2021
    • Joshua Branson's avatar
      doc: Fix mapped devices example in the manual. · 4a480147
      Joshua Branson authored
      
      Reported by Raghav Gururajan <rg@raghavgururajan.name> and Mikhail Tsykalov
      <tsymsh@gmail.com>.
      
      * doc/guix.texi (Mapped Devices): Replace target with targets.
      
      Signed-off-by: default avatarLeo Famulari <leo@famulari.name>
      4a480147
    • Mathieu Othacehe's avatar
      services: postgresql: Add postgresql-role-service-type. · ec145a2f
      Mathieu Othacehe authored
      * gnu/services/databases.scm (postgresql-role,
      postgresql-role?, postgresql-role-name,
      postgresql-role-permissions, postgresql-role-create-database?,
      postgresql-role-configuration, postgresql-role-configuration?,
      postgresql-role-configuration-host, postgresql-role-configuration-roles,
      postgresql-role-service-type): New procedures.
      * gnu/tests/databases.scm: Test it.
      * doc/guix.texi: Document it.
      ec145a2f
    • Mathieu Othacehe's avatar
      services: postgresql: Add log directory support. · fe4b8823
      Mathieu Othacehe authored
      * gnu/services/databases.scm (postgresql-configuration-log-directory): New
      procedure.
      (<postgresql-configuration>)[log-directory]: New field.
      (postgresql-activation): Create the log directory.
      (postgresql-shepherd-service): Honor it.
      * gnu/tests/databases.scm (%postgresql-log-directory): New variable.
      (log-file): New test case.
      * doc/guix.texi (Database Services): Document it.
      fe4b8823
    • Mathieu Othacehe's avatar
      services: postgresql: Add socket directory support. · 6c067921
      Mathieu Othacehe authored
      
      * gnu/services/databases.scm (postgresql-config-file-socket-directory): New
      procedure.
      (<postgresql-config-file>)[socket-directory]: New field.
      (postgresql-config-file-compiler): Honor it.
      (postgresql-activation): Create the socket directory if needed.
      * doc/guix.texi (Database Services): Document it.
      * gnu/tests/guix.scm (%guix-data-service-os): Adapt it.
      * gnu/tests/monitoring.scm (%zabbix-os): Ditto.
      * gnu/tests/web.scm (patchwork-os): Ditto.
      
      Signed-off-by: default avatarMathieu Othacehe <othacehe@gnu.org>
      6c067921
    • Mathieu Othacehe's avatar
      services: postgresql: Use Guile datatypes. · a38d0b01
      Mathieu Othacehe authored
      * gnu/services/databases.scm (postgresql-config-file-compiler): Support Guile
      datatypes in the "extra-config" field.
      * gnu/tests/databases.scm (%postgresql-os): Test it.
      * doc/guix.texi (Database Services): Document it.
      a38d0b01
  6. Jan 24, 2021
  7. Jan 21, 2021
    • Nicolas Goaziou's avatar
      doc: Properly close sentences ending with an upper-case letter. · 55e097e2
      Nicolas Goaziou authored
      * doc/guix.texi (Application Setup):
      (USB Stick and DVD Installation):
      (Proxy Settings):
      (Primary URL):
      (origin Reference):
      (Build Systems):
      (The Store):
      (Package Transformation Options):
      (Invoking guix lint):
      (Invoking guix graph):
      (operating-system Reference):
      (X Window):
      (Desktop Services):
      (Database Services):
      (Mail Services):
      (Messaging Services):
      (Monitoring Services):
      (LDAP Services):
      (Certificate Services):
      (DNS Services):
      (VPN Services):
      (Power Management Services):
      (Virtualization Services):
      (Version Control Services):
      (Name Service Switch):
      (Bootloader Configuration):
      (Running Guix in a VM):
      (Separate Debug Info): Use "@." to indicate to Texinfo the sentence does end
      with a capital letter.
      55e097e2
    • Joshua Branson's avatar
      doc: cookbook: Add "Guix System Image API" section. · 07ef129d
      Joshua Branson authored
      
      * doc/guix-cookbook.texi (Guix System Image API): New section.
      
      Signed-off-by: default avatarMathieu Othacehe <othacehe@gnu.org>
      07ef129d
  8. Jan 20, 2021
    • Julien Lepiller's avatar
      doc: Replace TP with Weblate mentions. · 2a9784ff
      Julien Lepiller authored
      * doc/contributing.texi: Replace link to TP with a link to Weblate.
      * doc/guix.texi: Replace link to TP with a link to Weblate.
      * doc/guix-cookbook.texi: Replace link to TP with a link to Weblate.
      2a9784ff
  9. Jan 19, 2021
    • Ludovic Courtès's avatar
      transformations: Add '--with-latest'. · 9ab817b2
      Ludovic Courtès authored
      * guix/upstream.scm (upstream-source-compiler): New procedure.
      (%updaters): Set! it.
      * guix/transformations.scm (transform-package-latest): New procedure.
      (%transformations): Add 'with-latest'.
      (%transformation-options, show-transformation-options-help/detailed):
      Add '--with-latest'.
      * tests/transformations.scm ("options->transformation, with-latest"):
      New test.
      * doc/guix.texi (Package Transformation Options): Document it.
      9ab817b2
    • Mathieu Othacehe's avatar
      system: Rename 'disk-image' command 'image'. · e74baa12
      Mathieu Othacehe authored
      * guix/scripts/system.scm (system-derivation-for-action): Rename 'disk-image'
      command 'image'. Warn when using the now deprecated 'disk-image' command.
      (show-help): Adapt accordingly.
      (guix-system): Ditto.
      * tests/guix-system.sh: Ditto.
      * gnu/system/examples/bare-hurd.tmpl: Ditto.
      * doc/guix.texi (Building the Installation Image,
      Building the Installation Image for ARM Boards,
      Invoking guix pack,
      Invoking guix system): Adapt documentation.
      e74baa12
    • Joshua C. Randall's avatar
      doc: Fix typo. · cb68ae66
      Joshua C. Randall authored
      Fixes <http://bugs.gnu.org/35004
      
      >.
      
      * doc/guix.texi (Invoking guix package): Fix typo.
      
      Signed-off-by: default avatarMathieu Othacehe <othacehe@gnu.org>
      cb68ae66
  10. Jan 17, 2021
  11. Jan 16, 2021
    • Simon South's avatar
      services: openntpd: Remove support for deprecated "-s" option. · 181f290a
      Simon South authored
      
      * gnu/services/networking.scm (openntpd-configuration): Remove
      "allow-large-adjustment?" field.
      (openntpd-shepherd-service): Remove use of "allow-large-adjustment?"
      configuration field and "-s" daemon option.
      * tests/networking.scm (%openntpd-conf-sample): Remove
      "allow-large-adjustment?" field.
      * doc/guix.texi (Networking Services)[openntpd-service-type]: Remove
      "allow-large-adjustment?" field from sample configuration.
      [openntpd-configuration]: Remove description of "allow-large-adjustment?"
      field.
      
      Signed-off-by: default avatarLudovic Courtès <ludo@gnu.org>
      181f290a
    • Stefan's avatar
      services: qemu-binfmt: 'guix-support?' defaults to #t. · d4f5ea50
      Stefan authored
      
      * gnu/services/virtualization.scm (qemu-binfmt-service-type)[guix-support?]:
      Change the default from #f to #t.
      * doc/guix.texi (Transparent Emulation with QEMU): Change the default of
      ‘guix-support?’ from #f to #t.  Describe the implication of setting it to #f.
      
      Co-authored-by: default avatarLudovic Courtès <ludo@gnu.org>
      d4f5ea50
  12. Jan 13, 2021
    • Ludovic Courtès's avatar
      doc: Mention optional dependency on Guile-zstd. · e28d2cdd
      Ludovic Courtès authored
      * doc/guix.texi (Requirements): Add Guile-zstd.
      e28d2cdd
    • Ludovic Courtès's avatar
      publish: Add support for zstd compression. · d288a4de
      Ludovic Courtès authored
      * guix/scripts/publish.scm (compress-nar)[write-compressed-file]: New
      procedure.
      Use it for 'gzip' and 'lzip'.  Add 'zstd.
      (nar-response-port, string->compression-type): Add case for 'zstd'.
      * tests/publish.scm (zstd-supported?): New procedure.
      ("/nar/zstd/*"): New test.
      * doc/guix.texi (Invoking guix publish): Document zstd compression.
      (Base Services): Add cross-reference to the above node.
      d288a4de
  13. Jan 12, 2021
    • Florian Pelz's avatar
      doc: Remove trace of ci.guix.info. · 89dbcac1
      Florian Pelz authored
      * doc/guix.texi (Invoking guix weather): Use default substitute server
      in example.
      89dbcac1
    • Oleg Pykhalov's avatar
      services: Add keepalived service. · 4e511fcf
      Oleg Pykhalov authored
      * gnu/services/networking.scm (<keepalived-configuration>): New record.
      (keepalived-shepherd-service): New procedure.
      (keepalived-service-type): New variable.
      * doc/guix.texi (Networking Services): Document this.
      4e511fcf
    • Oleg Pykhalov's avatar
      services: Add syncthing service. · 79ba12a1
      Oleg Pykhalov authored
      * gnu/services/syncthing.scm: New file.
      * gnu/local.mk: Add this.
      * doc/guix.texi: Document this.
      79ba12a1
    • Nicolas Goaziou's avatar
      doc: DNS Services: Fix typography. · 2c87a25d
      Nicolas Goaziou authored
      * doc/guix.texi (DNS Services): Use appropriate Texinfo markup and capitalization.
      2c87a25d
    • Nicolas Goaziou's avatar
      doc: Use two spaces after full stop. · c0255739
      Nicolas Goaziou authored
      * doc/guix.texi:
      (GNU Distribution):
      (Invoking guix-daemon):
      (Invoking guix pull):
      (Invoking guix time-machine):
      (Specifying Additional Channels):
      (Build Systems):
      (Invoking guix refresh):
      (Invoking guix processes):
      (Mapped Devices):
      (Base Services):
      (Networking Services):
      (Mail Services):
      (Telephony Services):
      (Monitoring Services):
      (Web Services):
      (DNS Services):
      (Continuous Integration):
      (Audio Services):
      (Virtualization Services):
      (Version Control Services):
      (Guix Services):
      (Miscellaneous Services):
      (Initial RAM Disk):
      (Bootloader Configuration):
      (Invoking guix deploy): Use two spaces after full stop, as required by Texinfo
      syntax.
      c0255739
  14. Jan 10, 2021
  15. Jan 06, 2021
  16. Jan 04, 2021
    • Ludovic Courtès's avatar
      guix system: Add '--graph-backend'. · 6c3690fc
      Ludovic Courtès authored
      * guix/scripts/system.scm (lookup-backend): New procedure.
      (export-extension-graph, export-shepherd-graph): Add #:backend parameter
      and honor it.
      (show-help, %options): Add "--graph-backend".
      (%default-options): Add 'graph-backend'.
      (process-action): Pass #:backend to 'export-extension-graph' and
      'export-shepherd-graph'.
      * doc/guix.texi (Invoking guix system): Document '--graph-backend'.
      6c3690fc
  17. Jan 03, 2021
  18. Dec 27, 2020
    • Jonathan Brielmaier's avatar
      services: Add radicale-service-type. · b4db1136
      Jonathan Brielmaier authored
      * gnu/services/mail.scm (radicale-configuration)
      (radicale-configuration?): New procedures.
      (%default-radicale-config-file)
      (radicale-service-type): New variables.
      * doc/guix.texi: Document it.
      b4db1136
    • Ludovic Courtès's avatar
      transformations: Add '--with-patch'. · e38d90d4
      Ludovic Courtès authored
      Suggested by Philippe Swartvagher <philippe.swartvagher@inria.fr>.
      
      * guix/transformations.scm (transform-package-patches): New procedure.
      (%transformations): Add it as 'with-patch'.
      (%transformation-options, show-transformation-options-help/detailed):
      Add '--with-patch'.
      * tests/transformations.scm ("options->transformation, with-patch"): New
      test.
      * doc/guix.texi (Package Transformation Options): Document it.
      e38d90d4
  19. Dec 23, 2020
    • Ludovic Courtès's avatar
      ssh: Use 'guix repl' instead of 'guile'. · 7624ebba
      Ludovic Courtès authored
      This simplifies setup of build machines: no need to install Guile in
      addition to Guix, no need to set 'GUILE_LOAD_PATH' & co., leading to
      fewer failure modes.
      
      * guix/ssh.scm (remote-run): New procedure.
      (remote-daemon-channel): Use it instead of 'open-remote-pipe*'.
      (store-import-channel)[import]: Remove check for module availability.
      Add call to 'primitive-exit'.
      Use 'remote-run' instead of 'open-remote-pipe'.
      (store-export-channel)[export]: Remove check for module availability.
      Add calls to 'primitive-exit'.
      Use 'remote-run' instead of 'open-remote-pipe'.
      (handle-import/export-channel-error): Remove 'module-error' clause.
      (report-module-error): Remove.
      * guix/scripts/offload.scm (assert-node-has-guix): Replace call to
      'report-module-error' by 'leave'.
      * doc/guix.texi (Daemon Offload Setup): Remove mention of Guile.
      7624ebba
    • Pierre Neidhardt's avatar
      doc: cookbook: Fix "fiction-less" typo. · af67e8d0
      Pierre Neidhardt authored
      * doc/guix-cookbook.texi (Guix Profiles in Practice): Change "friction-less"
      to "frictionless".
      af67e8d0
  20. Dec 22, 2020
    • Ricardo Wurmus's avatar
      import/cran: Add input style "specification". · 5f5e3873
      Ricardo Wurmus authored
      * guix/import/cran.scm (%input-style): New parameter.
      (format-inputs): Use it.
      * guix/scripts/import/cran.scm (guix-import-cran): Set the %input-style
      parameter.
       (%options): Add "--style" option.
      * doc/guix.texi (Invoking guix import): Document it.
      5f5e3873
  21. Dec 17, 2020
Loading