Skip to content
Snippets Groups Projects
  1. Jun 16, 2020
    • Ludovic Courtès's avatar
      channels: 'latest-channel-instance' authenticates Git checkouts. · 43badf26
      Ludovic Courtès authored
      Fixes <https://bugs.gnu.org/22883>.
      
      * guix/channels.scm (<channel>)[introduction]: New field.
      (<channel-introduction>): New record type.
      (%guix-channel-introduction): New variable.
      (%default-channels): Use it.
      (<channel-metadata>)[keyring-reference]: New field.
      (%default-keyring-reference): New variable.
      (read-channel-metadata, read-channel-metadata-from-source): Initialize
      the 'keyring-reference' field.
      (commit-short-id, verify-introductory-commit)
      (authenticate-channel): New procedures.
      (latest-channel-instance): Call 'authenticate-channel' when CHANNEL has
      an introduction.
      * tests/channels.scm (gpg+git-available?, commit-id-string): New
      procedures.
      ("authenticate-channel, wrong first commit signer"):
      ("authenticate-channel, .guix-authorizations"): New tests.
      * doc/guix.texi (Invoking guix pull): Mention authentication.
      43badf26
    • Ludovic Courtès's avatar
      doc: Recommend "make authenticate" after ./bootstrap. · 33391ee5
      Ludovic Courtès authored
      * doc/contributing.texi (Building from Git): Move "make authenticate"
      instructions below.
      33391ee5
    • Tobias Geerinckx-Rice's avatar
      pack: Add zstd compressor. · 38ee8f7d
      Tobias Geerinckx-Rice authored
      * guix/scripts/pack.scm (%compressors): Add zstd.
      * doc/guix.texi (Invoking guix pack): Document it.
      38ee8f7d
  2. Jun 15, 2020
  3. Jun 14, 2020
    • Marius Bakke's avatar
      doc: Adjust branching and rebuilding strategy to match reality. · bb9a99e6
      Marius Bakke authored
      The amount of packages has more than tripled since this section was written.
      Adjust the rebuild limits and cycle lengths based on current practices.
      
      * doc/contributing.texi (Submitting Patches): Increase 'staging' rebuild limit
      to 1800 packages, and adjust the cycle to six weeks.  Increase 'core-updates'
      cycle to six months.
      bb9a99e6
    • Konrad Hinsen's avatar
      guix repl: Add script execution. · c924e541
      Konrad Hinsen authored
      
      * guix/scripts/repl.scm: Add filename options for script execution.
      * doc/guix.texi (Invoking guix repl): Document it.
      * tests/guix-repl.sh: Test it.
      * Makefile.am: (SH_TESTS): Add it.
      
      Signed-off-by: default avatarLudovic Courtès <ludo@gnu.org>
      c924e541
    • Jan (janneke) Nieuwenhuizen's avatar
      services: Add 'hurd-vm service-type'. · 5e9cf933
      Jan (janneke) Nieuwenhuizen authored
      * gnu/services/virtualization.scm (hurd-vm-shepherd-service,
      hurd-vm-disk-image): New procedures.
      (%hurd-vm-operating-system, hurd-vm-service-type): New variables.
      (<hurd-vm-configuration>): New record type.
      * doc/guix.texi (Virtualization Services): Document it.
      * gnu/services/shepherd.scm (scm->go): Use let-system, remove FIXME.  Fixes
      fixes cross-building of shepherd modules for the Hurd image.
      5e9cf933
    • Ludovic Courtès's avatar
      lint: Add 'check-for-collisions' checker. · 993023a2
      Ludovic Courtès authored
      Suggested by Edouard Klein <edk@beaver-labs.com>.
      
      * guix/profiles.scm (check-for-collisions): Export.
      * guix/lint.scm (check-profile-collisions): New procedure.
      (%local-checkers): Add 'profile-collisions' checker.
      * tests/lint.scm ("profile-collisions: no warnings")
      ("profile-collisions: propagated inputs collide")
      ("profile-collisions: propagated inputs collide, store items"): New tests.
      * doc/guix.texi (Invoking guix lint): Document it.
      993023a2
    • Ludovic Courtès's avatar
      doc: Mention 'guix lint -c derivation'. · 20d9034c
      Ludovic Courtès authored
      * doc/guix.texi (Invoking guix lint): Mention the 'derivation' checker.
      20d9034c
  4. Jun 09, 2020
  5. Jun 08, 2020
  6. Jun 04, 2020
  7. Jun 03, 2020
    • Ludovic Courtès's avatar
      doc: Mention Btrfs compression. · b6c44593
      Ludovic Courtès authored
      Suggested by Pierre Neidhardt <mail@ambrevar.xyz>.
      
      * doc/guix.texi (Keyboard Layout and Networking and Partitioning):
      Mention Btrfs compression.
      b6c44593
    • Maxim Cournoyer's avatar
      gnu: services: docker: Add a debug? parameter. · 7c9be7b7
      Maxim Cournoyer authored
      * gnu/services/docker.scm (docker-configuration): Add a debug? field.
      (containerd-shepherd-service): Pass the "--log-level=debug" argument when
      DEBUG? is true.
      (docker-shepherd-service): Pass the "--debug" and "--log-level=debug"
      arguments when DEBUG? is true.
      * doc/guix.texi (Miscellaneous Services): Update doc.
      7c9be7b7
  8. Jun 02, 2020
  9. May 30, 2020
    • Maxim Cournoyer's avatar
      services: nfs: Expose configuration options for TCP and UDP. · c08fac0f
      Maxim Cournoyer authored
      * gnu/services/nfs.scm (<nfs-configuration>)[nfsd-tcp?, nfsd-udp?]: New
      fields.
      (nfs-shepherd-services)[rpc.nfsd]: Populate the --{no-,}tcp and --{no-,}udp
      command line options based on the values of the nfsd-tcp? and nfsd-upd?
      fields.
      * doc/guix.texi (Network File System): Add doc.
      c08fac0f
  10. May 29, 2020
  11. May 28, 2020
    • Efraim Flashner's avatar
      doc: Remove explicit support for mips64el-linux. · 03e64049
      Efraim Flashner authored
      It's been a good run, but no one is maintaining the architecture.
      So long, and thanks for all the fish.
      
      * doc/guix.texi (GNU Distribution): Change text for mips64el-linux
      to denote it is deprecated.
      (Daemon Offload Setup): Change occurrences of mips64el-linux to
      aarch64-linux and adjust local code snippets.
      (Guix Environment)[cross-compilation]: Change mips64el-linux-gnu to
      aarch64-linux-gnu.
      (GNU Build System)(package-cross-derivation]: Same.
      (G-Expressions)[cross compilation]: Same.
      (Additional Build Options)[cross-compilation, build logs]: Same.
      (qemu-binfmt-service-type): Remove mips64el.
      * doc/contributing.texi (Submitting Patches): Same.
      * m4/guix.m4: (GUIX_ASSERT_SUPPORTED_SYSTEM): Remove mips64el-linux.
      03e64049
  12. May 27, 2020
  13. May 25, 2020
  14. May 24, 2020
  15. May 22, 2020
    • Jan Nieuwenhuizen's avatar
      doc: Update 'Bootstrapping' for further binary seed reduction. · cd5d5f53
      Jan Nieuwenhuizen authored
      * doc/images/gcc-core-mesboot0-graph.dot: New image, replacing
      * doc/images/gcc-mesboot0-bag-graph.dot: ... remove file.
      * doc/local.mk (DOT_FILES): Update for new image file.
      * doc/guix.texi (Reduced Binary Seed Bootstrap): Use it in updated description
      of further reduction of the trusted computing base.
      cd5d5f53
  16. May 21, 2020
    • Ludovic Courtès's avatar
      packages: Introduce <content-hash> and use it in <origin>. · ce0be567
      Ludovic Courtès authored
      * guix/packages.scm (<content-hash>): New record type.
      (define-content-hash-constructor, build-content-hash)
      (content-hash): New macros.
      (print-content-hash): New procedure.
      (<origin>): Rename constructor to '%origin'.
      [sha256]: Remove field.
      [hash]: New field.  Adjust users.
      (origin-compatibility-helper, origin): New macros.
      (origin-sha256): New deprecated procedure.
      (origin->derivation): Adjust accordingly.
      * tests/packages.scm ("package-source-derivation, origin, sha512"): New
      test.
      * guix/tests.scm: Hide (gcrypt hash) 'sha256' for proper syntax
      matching.
      * tests/challenge.scm: Add #:prefix for (gcrypt hash) and adjust users.
      * tests/derivations.scm: Likewise.
      * tests/store.scm: Likewise.
      * tests/graph.scm ("bag DAG, including origins"): Provide 'sha256' field
      with the right length.
      * gnu/packages/aspell.scm (aspell-dictionary)
      (aspell-dict-ca, aspell-dict-it): Use 'hash' and 'content-hash' for
      proper syntax matching.
      * gnu/packages/bash.scm (bash-patch): Rename 'sha256' to 'sha256-bv'.
      * gnu/packages/bootstrap.scm (bootstrap-executable): Rename 'sha256' to 'bv'.
      * gnu/packages/readline.scm (readline-patch): Likewise.
      * gnu/packages/virtualization.scm (qemu-patch): Rename 'sha256' to
      'sha256-bv'.
      * guix/import/utils.scm: Hide (gcrypt hash) 'sha256'.
      ce0be567
    • Ludovic Courtès's avatar
      guix hash, guix download: Support base64 format. · 0e4e9c8e
      Ludovic Courtès authored
      * guix/scripts/download.scm (show-help, %options): Support "base64"
      format.
      * guix/scripts/hash.scm (show-help, %options): Likewise.
      * tests/guix-hash.sh: Test it.
      * doc/guix.texi (Invoking guix hash): Document it.
      0e4e9c8e
    • Ludovic Courtès's avatar
      guix hash, guix download: Add '--hash'. · 18ae1ec3
      Ludovic Courtès authored
      * guix/scripts/download.scm (%default-options): Add 'hash-algorithm'.
      (show-help, %options): Add "--hash".
      (guix-download): Honor it.
      * guix/scripts/hash.scm (%default-options): Add 'hash-algorithm'.
      (show-help, %options): Add "--hash".
      (guix-hash): Honor it.
      * tests/guix-hash.sh: Test '-H sha512'.
      * doc/guix.texi (Invoking guix download): Document it.
      (Invoking guix hash): Document it.
      18ae1ec3
    • Ludovic Courtès's avatar
      maint: Add "make check-channel-news". · 1ad5209d
      Ludovic Courtès authored
      * build-aux/check-channel-news.scm: New file.
      * Makefile.am (EXTRA_DIST): Add it.
      (check-channel-news): New phony rule.
      * doc/contributing.texi (Commit Access): Mention "make check-channel-news".
      1ad5209d
    • Ludovic Courtès's avatar
      doc: Use "Alternatively" instead of "Alternately". · 5e46b827
      Ludovic Courtès authored
      These two words have different meanings and we really meant
      "alternatively" here.
      
      * doc/guix.texi (System Installation):
      (Preparing for Installation):
      (Invoking guix refresh):
      (Invoking guix challenge):
      (Networking Services): "Alternatively", not "Alternately".
      5e46b827
  17. May 20, 2020
    • Maxim Cournoyer's avatar
      bootloader: grub: Allow booting from a Btrfs subvolume. · b460ba79
      Maxim Cournoyer authored
      * gnu/bootloader/grub.scm (strip-mount-point): Remove procedure.
      (normalize-file): Add procedure.
      (grub-configuration-file): New BTRFS-SUBVOLUME-FILE-NAME parameter.  When
      defined, prepend its value to the kernel and initrd file names, using the
      NORMALIZE-FILE procedure.  Adjust the call to EYE-CANDY to pass the
      BTRFS-SUBVOLUME-FILE-NAME argument.  Normalize the KEYMAP file as well.
      (eye-candy): Add a BTRFS-SUBVOLUME-FILE-NAME parameter, and use it, along with
      the NORMALIZE-FILE procedure, to normalize the FONT-FILE and IMAGE nested
      variables.  Adjust doc.
      * gnu/bootloader/depthcharge.scm (depthcharge-configuration-file): Adapt.
      * gnu/bootloader/extlinux.scm (extlinux-configuration-file): Likewise.
      * gnu/system/file-systems.scm (btrfs-subvolume?)
      (btrfs-store-subvolume-file-name): New procedures.
      * gnu/system.scm (operating-system-bootcfg): Specify the Btrfs
      subvolume file name the store resides on to the
      `operating-system-bootcfg' procedure, using the new
      BTRFS-SUBVOLUME-FILE-NAME argument.
      * doc/guix.texi (File Systems): Add a Btrfs subsection to document the use of
      subvolumes.
      * gnu/tests/install.scm (%btrfs-root-on-subvolume-os)
      (%btrfs-root-on-subvolume-os-source)
      (%btrfs-root-on-subvolume-installation-script)
      (%test-btrfs-root-on-subvolume-os): New variables.
      b460ba79
    • Maxim Cournoyer's avatar
      file-systems: Add helpers for parsing the options string into an alist. · fa35fb58
      Maxim Cournoyer authored
      * gnu/system/file-systems.scm (file-system-options->alist)
      (alist->file-system-options): New procedures.
      * tests/file-systems.scm: New tests.
      * doc/guix.texi (File Systems): Add note about the newly added procedures.
      fa35fb58
    • Maxim Cournoyer's avatar
      linux-boot: Refactor boot-system. · 281d80d8
      Maxim Cournoyer authored
      The --root option can now be omitted, and inferred from the root file system
      declaration instead.
      
      * gnu/build/file-systems.scm (canonicalize-device-spec): Extend to support NFS
      directly, and...
      * gnu/build/linux-boot.scm (boot-system): ...remove NFS special casing from
      here.  Remove nested definitions for root-fs-type, root-fs-flags and
      root-fs-options, and bind those inside the let* instead.  Make "--root" take
      precedence over the device field string representation of the root file
      system.
      * doc/guix.texi (Initial RAM Disk): Document that "--root" can be left
      unspecified.
      281d80d8
  18. May 18, 2020
  19. May 17, 2020
  20. May 16, 2020
Loading