summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2021-06-03news: Add entry for 'guix import egg'.Xinglu Chen
* etc/news.scm: Add entry.
2021-06-03import: Add CHICKEN egg importer.Xinglu Chen
* guix/import/egg.scm: New file. * guix/scripts/import/egg.scm: New file. * tests/egg.scm: New file. * Makefile.am (MODULES, SCM_TESTS): Register them. * po/guix/POTFILES.in: Likewise. * guix/scripts/import.scm (importers): Add egg importer. * doc/guix.texi (Invoking guix import, Invoking guix refresh): Document it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-05-22etc: Add more SELinux permissions for the daemon.Marius Bakke
* etc/guix-daemon.cil.in (guix_daemon): Add more permissions, necessary for garbage collection.
2021-05-11Merge branch 'version-1.3.0'Maxim Cournoyer
2021-05-05guix-install.sh: Exit early if Guix is already installed.Maxim Cournoyer
* etc/guix-install.sh (sys_create_store): Move the check & exit before The Guix binary archive is unpacked. Re-indent tar extraction command.
2021-05-05guix-install.sh: Propose automatically fetching OpenPGP keys.Maxim Cournoyer
Via, for example, yes | ./guix-install.sh. * etc/guix-install.sh (prompt_yes_no): New procedure. (chk_gpg_keyring, sys_authorize_build_farms): Use it.
2021-05-05guix-install.sh: Please the shellcheck linter.Maxim Cournoyer
* etc/guix-install.sh <FUNCNAME>: Explicitly refer to the first item of the FUNCNAME array. (ROOT_HOME): Replace variable by ~root directly; manually expanding it via echo was not necessary. (chk_gpg_keyring): Use an if branch for the exit to avoid a warning about expression precedence. (chk_term) <ansi_term>: Remove unused variable. (guix_get_bin) <wget, gpg>: Test the commands directly. Use an array for the wget arguments, which can then be properly expanded. (sys_create_store): Disable SC1090 for the source command, as we don't care about following the sourced script. <_msg>: Reuse the GUIX_PROFILE variable in the message. (sys_create_build_user) <getent>: Test the command directly.
2021-05-04etc: Break long lines in commit messages.Ricardo Wurmus
* etc/committer.scm.in (break-string): New procedure. (change-commit-message): Use it.
2021-05-01guix-install.sh: Add support for more than one signing key.Maxim Cournoyer
The forthcoming 1.3.0 release will be signed with my personal GnuPG key; the installation script needs to tell users how to fetch it. * etc/guix-install.sh (OPENPGP_SIGNING_KEY_ID): Remove variable. (GPG_SIGNING_KEYS): New associative array. (chk_gpg_keyring): Process all the keys contained in the above array. (main) <GUIX_BINARY_FILE_NAME>: Double quote variable.
2021-05-01guix-install.sh: Ensure GUIX_BINARY_FILE_NAME is an absolute path.Maxim Cournoyer
This is necessary as the directory context is changed in the script, breaking the use of a relative path. * etc/guix-install.sh (main) <GUIX_BINARY_FILE_NAME>: Resolve its absolute path via the 'realpath' command.
2021-05-01guix-install.sh: Allow overriding the Guix binary source.Maxim Cournoyer
This is useful for example for testing release candidates not yet uploaded to the FTP, or for testing manually downloaded images from the CI. * etc/guix-install.sh (main)[GUIX_BINARY_FILE_NAME]: When this variable is defined, use it as the file name of a Guix binary, instead of automatically retrieving the latest archive from the FTP.
2021-05-01guix-install.sh: Add support for more than one signing key.Maxim Cournoyer
The forthcoming 1.3.0 release will be signed with my personal GnuPG key; the installation script need to tell users how fetch it. * etc/guix-install.sh (OPENPGP_SIGNING_KEY_ID): Remove variable. (GPG_SIGNING_KEYS): New associative array. (chk_gpg_keyring): Process all the keys contained in the above array. (main) <GUIX_BINARY_FILE_NAME>: Double quote variable.
2021-04-29guix-install.sh: Ensure GUIX_BINARY_FILE_NAME is an absolute path.Maxim Cournoyer
This is necessary as the directory context is changed in the script, breaking the use of a relative path. * etc/guix-install.sh (main) <GUIX_BINARY_FILE_NAME>: Resolve its absolute path via the 'realpath' command.
2021-04-27maint: Require "emacs-no-x" instead of "emacs" on armhf-linux.Ludovic Courtès
* etc/release-manifest.scm (%base-packages/armhf): New variable. (%base-manifest): Use it.
2021-04-27maint: Don't require 'bootstrap-tarballs' for powerpc64le-linux.Ludovic Courtès
* etc/release-manifest.scm (%base-manifest): Special-case "powerpc64le-linux".
2021-04-25import: Remove Nix importer.Ludovic Courtès
This importer has suffered from bitrot and no longer works with current Nix and Nixpkgs. See <https://bugs.gnu.org/32339> and <https://bugs.gnu.org/36255>. * guix/import/snix.scm, guix/scripts/import/nix.scm, tests/snix.scm: Remove. * Makefile.am (MODULES, SCM_TESTS): Remove them. * guix/scripts/import.scm (importers): Remove "nix". * build-aux/test-env.in: Remove NIXPKGS variable. * configure.ac: Remove '--with-nixpkgs' option. * doc/guix.texi (Invoking guix import): Remove bit about "guix import nix". * etc/completion/fish/guix.fish: Likewise.
2021-04-24guix-install.sh: Allow overriding the Guix binary source.Maxim Cournoyer
This is useful for example for testing release candidates not yet uploaded to the FTP, or for testing manually downloaded images from the CI. * etc/guix-install.sh (main)[GUIX_BINARY_FILE_NAME]: When this variable is defined, use it as the file name of a Guix binary, instead of automatically retrieving the latest archive from the FTP.
2021-04-20import: Remove Nix importer.Ludovic Courtès
This importer has suffered from bitrot and no longer works with current Nix and Nixpkgs. See <https://bugs.gnu.org/32339> and <https://bugs.gnu.org/36255>. * guix/import/snix.scm, guix/scripts/import/nix.scm, tests/snix.scm: Remove. * Makefile.am (MODULES, SCM_TESTS): Remove them. * guix/scripts/import.scm (importers): Remove "nix". * build-aux/test-env.in: Remove NIXPKGS variable. * configure.ac: Remove '--with-nixpkgs' option. * doc/guix.texi (Invoking guix import): Remove bit about "guix import nix". * etc/completion/fish/guix.fish: Likewise.
2021-04-14guix-install.sh: Add the build users to the 'kvm' group.Leo Famulari
Fixes <https://bugs.gnu.org/42129>. * etc/guix-install.sh (sys_create_build_user): If a 'kvm' group exists, add it to the guixbuilders' lists of supplementary groups.
2021-04-12etc/committer: Add missing newline.Morgan Smith
* etc/committer.scm.in (main): Add newline to message. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-04-12etc/committer: Use git plumbing instead of porcelain.Morgan Smith
* etc/committer.scm.in (diff-info): Use "git diff-files" instead of "git diff". (old-sexp): Use "git cat-file" instead of "git show". Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-04-08etc/committer: Disable diff colors.Ricardo Wurmus
Reported by: morgansmith on IRC. * etc/committer.scm.in (diff-info): Invoke "git diff" with "--no-color".
2021-04-08etc/committer: Recompute hunks before processing changes.Ricardo Wurmus
* etc/committer.scm.in (main): Re-evaluate diff-info after processing insertions.
2021-04-08etc/committer: Record minimal context for hunks to avoid problems.Ricardo Wurmus
With zero context new definitions would be applied to the wrong location in the file. More context lines lead to larger hunks, though, so we use just one line of context. * etc/committer.scm.in (diff-info): Invoke "git diff" with one line of context. [info]: Merge line break and first line. (lines-to-first-change): New procedure. (old-sexp, new-sexp): Use it.
2021-04-08etc/committer: Define delay duration as a variable.Ricardo Wurmus
* etc/committer.scm.in (%delay): New variable. (main): Use it.
2021-04-08etc/committer: Handle package additions.Ricardo Wurmus
* etc/committer.scm.in (<hunk>)[diff]: Rename this field... [diff-lines]: ...to this. [definition?]: New field. (hunk->patch): Join diff lines. (diff-info): Do not join diff lines; record whether a hunk is a new definition. (commit-message): Rename this procedure... (change-commit-message): ...to this. (add-commit-message): New procedure. (main): Handle new package definitions before changes.
2021-04-04news: Add 'de' translation.Florian Pelz
* etc/news.scm: Add German translation of user activation entry.
2021-04-03news: Clarify time window for account activation vulnerability.Ludovic Courtès
* etc/news.scm: Tweak wording about skeleton files.
2021-04-03news: Recommend upgrade for account activation vulnerability.Ludovic Courtès
* etc/news.scm: Recommend upgrade.
2021-04-03news: Add entry for user account activation vulnerability.Maxime Devos
* etc/news.scm: Add entry. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-04-01news: Add 'de' translation.Florian Pelz
* etc/news.scm: Add German translation of POWER9 entry.
2021-03-31news: Add 'fr' translation.Ludovic Courtès
* etc/news.scm: Add French translation of POWER9 entry.
2021-03-30news: Add entry announcing powerpc64le-linux support.Chris Marusich
* etc/news.scm: Add entry.
2021-03-23Add powerpc64le-linux as a supported Guix architecture.Chris Marusich
This makes powerpc64le-linux a supported architecture for Guix, but not for Guix System. * Makefile.am (SUPPORTED_SYSTEMS): Add an entry for powerpc64le-linux. * etc/guix-install.sh (chk_sys_arch): Same. * guix/packages.scm (%supported-systems): Same. * m4/guix.m4 (GUIX_ASSERT_SUPPORTED_SYSTEM): Same. * tests/guix-build.sh (all_systems): Same.
2021-03-18news: Add ‘de’ translation.Florian Pelz
* etc/news.scm (channel-news): Add German translation.
2021-03-18news: Add ‘nl’ translation.Tobias Geerinckx-Rice
* etc/news.scm (channel-news): Add a Dutch translation.
2021-03-18news: Update erratum for '--keep-failed' vulnerability.Tobias Geerinckx-Rice
* etc/news.scm: Change commit to behave in a (hopefully) more expected manner. Change http:// to https:// URL whilst here.
2021-03-18news: Add erratum for '--keep-failed' vulnerability.Tobias Geerinckx-Rice
* etc/news.scm: Add entry.
2021-03-18news: Fix ‘nl’ typo.Tobias Geerinckx-Rice
* etc/news.scm (channel-news): This locale's ‘locale’'s ‘lokale’.
2021-03-18news: Add ‘nl’ translation.Tobias Geerinckx-Rice
* etc/news.scm (channel-news): Add a Dutch translation.
2021-03-18news: Add ‘de’ translation.Florian Pelz
2021-03-18news: Add entry for '--keep-failed' vulnerability.Ludovic Courtès
* etc/news.scm: Add entry.
2021-03-17news: Add 'fr' translation.Julien Lepiller
* etc/news.scm: Add missing French translations.
2021-03-16news: Add ‘de’ translation.Florian Pelz
2021-03-15news: Add news entry about changes to the QEMU binfmt service.Maxim Cournoyer
* etc/news.scm: Add entry.
2021-03-11news: Update copyright.Florian Pelz
* etc/news.scm: Add missing copyright header.
2021-03-11news: Add ‘nl’ translation.Tobias Geerinckx-Rice
* etc/news.scm (channel-news): Add a Dutch translation.
2021-03-11news: Add ‘de’ translation.Florian Pelz
2021-03-10news: Add entry for 'guix import go'.Ludovic Courtès
* etc/news.scm: Add entry.
2021-03-10ci: Remove hydra support.Mathieu Othacehe
This removes hydra support to use Cuirass as the only continuous integration system. * build-aux/hydra/gnu-system.scm: Remove it. * build-aux/hydra/guix-modular.scm: Ditto. * build-aux/hydra/guix.scm: Ditto. * build-aux/cuirass/hydra-to-cuirass.scm: Ditto. * Makefile.am (EXTRA_DIST): Update it. (hydra-jobs.scm): Remove it. (cuirass-jobs.scm): Update it. * build-aux/hydra/evaluate.scm: Move it to ... * build-aux/cuirass/evaluate.scm: ... here. * build-aux/cuirass/guix-modular.scm: Remove it. * build-aux/cuirass/gnu-system.scm: Ditto. * guix/packages.scm (%hydra-supported-systems): Rename it to ... (%cuirass-supported-systems): ... this variable. * build-aux/check-final-inputs-self-contained: Adapt it. * etc/release-manifest.scm: Ditto. * gnu/ci.scm (package->alist): Remove it. (derivation->job): New procedure. (package-job, package-cross-job, cross-jobs, image-jobs, system-test-jobs, tarball-jobs): Use it. (guix-jobs): New procedure. (hydra-jobs): Rename it to ... (cuirass-jobs): ... this procedure.