aboutsummaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAge
* Merge branch 'master' into core-updates-frozenMarius Bakke2021-08-12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gnu/packages/algebra.scm gnu/packages/games.scm gnu/packages/golang.scm gnu/packages/kerberos.scm gnu/packages/mail.scm gnu/packages/python.scm gnu/packages/ruby.scm gnu/packages/scheme.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm
| * etc/committer: Pass command-line arguments to main.Sarah Morgensen2021-08-10
| | | | | | | | | | | | * etc/committer.scm.in: Call main with command line arguments. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * etc/committer: Support custom commit messages.Sarah Morgensen2021-08-10
| | | | | | | | | | | | | | | | | | | | | | | | Allow custom change commit messages by supplying a commit message and optionally a changelog message as arguments. * etc/committer.scm.in (break-string-with-newlines) (custom-commit-message): New procedures. (main)[change-commit-message*]: New sub-procedure. Use them. (main): Use it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * etc: committer: Support reading G-expressions.Maxime Devos2021-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | Some package definitions use G-expressions (see, e.g., chez-scheme). Import (guix gexp) such that Guile knows how to read those. Otherwise, an exception such as the following might be raised: ERROR: In procedure read: In procedure scm_lreadr: gnu/services/networking.scm:480:16: Unknown # object: #\~ * etc/committer.scm.in: Import (guix gexp). Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
* | Merge branch 'master' into core-updatesLudovic Courtès2021-07-18
|\|
| * guix-install.sh: Untabify.Maxim Cournoyer2021-07-14
| | | | | | | | * etc/guix-install.sh (sys_create_build_user): Normalize to spaces.
| * guix-install.sh: Prompt for configuring substitutes discovery.Maxim Cournoyer2021-07-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also ensure prompt_yes_no always print the message with a trailing space, which is more pleasing to the eye. * etc/guix-daemon.conf.in <--discover=no>: New guix-daemon option. * etc/guix-daemon.service.in: Likewise. * etc/init.d/guix-daemon.in: Likewise. * etc/openrc/guix-daemon.in: Likewise. * etc/guix-install.sh (configure_substitute_discovery): New procedure. (sys_enable_guix_daemon): Ask the user whether automatic substitute discovery should be enabled. Set the '--discover' argument accordingly. (prompt_yes_no): Add a trailing space to the message. (sys_authorize_build_farms): Remove trailing space from the message argument. * NEWS (Distribution): Add news.
| * guix-install.sh: No longer export GUIX_PROFILE.Hartmut Goebel2021-07-07
| | | | | | | | | | | | | | | | If GUIX_PROFILE is exported here, any subsequent "source /some/other/profile/etc/profile" will set variables pointing to "$HOME/.guix-profile" instead of pointing to the sourced profile. * etc/guix-install.sh (sys_create_init_profile): No longer export GUIX_PROFILE.
| * news: Add 'de' translation.Florian Pelz2021-06-30
| | | | | | | | * etc/news.scm: Add German translation of 'guix pack --format=deb' entry.
| * news: Add entry for the new 'deb' guix pack format.Maxim Cournoyer2021-06-29
| | | | | | | | * etc/news.scm: Add entry.
| * etc: snippets: Use ‘hg-file-name’ when origin uses ‘hg-fetch’Xinglu Chen2021-06-26
| | | | | | | | | | | | | | | | | | Adjust to changes in commit aaafd19bd1e37265de07e246286a6819792c25b4. * etc/snippets/scheme-mode/guix-origin: Use ‘hg-file-name’ instead of ‘string-append’ when ‘method’ for origin is ‘hg-fetch’. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* | news: Add news entry for simplified package inputs.Ludovic Courtès2021-07-11
|/ | | | * etc/news.scm: Add entry.
* bash_completion: Complete options for ‘guix environment’.Tobias Geerinckx-Rice2021-06-16
| | | | | | | | | | Note that there are still plenty of bugs that this series didn't fix, e.g.: $ guix time-machine -- system reconf<Tab> * etc/completion/bash/guix (_guix_complete): Call _guix_complete_option if the word at point looks like an option.
* bash completion: Complete options for the right command.Tobias Geerinckx-Rice2021-06-16
| | | | | | | | * etc/completion/bash/guix (_guix_complete_option): Receive two arguments and complete the second based on the first, instead of blindly completing the very last word based on the very first (sub)command. (_guix_complete): Adjust both calls.
* bash completion: Really support subcommands.Tobias Geerinckx-Rice2021-06-16
| | | | | | | * etc/completion/bash/guix (_guix_is_option): New function. (_guix_is_command): Remove function to replace it with simple string comparison… (_guix_complete): …here. Complete the ‘innermost’ command at point.
* etc: indent-code.el: Remove any existing tabs.Tobias Geerinckx-Rice2021-06-12
| | | | * etc/indent-code.el (main): Call UNTABIFY on the sexp or entire buffer.
* news: Fix typo.Ludovic Courtès2021-06-08
| | | | | * etc/news.scm: Remove 'x' introduced by mistake in dfdcd9d812d20a86babc4da8a01bc17e44900c3c.
* etc: Add "bordeaux.guix.gnu.org.pub" public key file.Christopher Baines2021-06-07
| | | | | | | * etc/substitutes/bordeaux.guix.gnu.org.pub: New file. * Makefile.am (dist_pkgdata_DATA): Add it. * guix/self.scm (miscellaneous-files): Add "share/guix/bordeaux.guix.gnu.org.pub".
* news: Add 'de' translation.Florian Pelz2021-06-05
| | | | * etc/news.scm: Add German translation of 'guix import egg' entry.
* news: Add entry for 'guix import egg'.Xinglu Chen2021-06-03
| | | | * etc/news.scm: Add entry.
* import: Add CHICKEN egg importer.Xinglu Chen2021-06-03
| | | | | | | | | | | | * 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>
* etc: Add more SELinux permissions for the daemon.Marius Bakke2021-05-22
| | | | | * etc/guix-daemon.cil.in (guix_daemon): Add more permissions, necessary for garbage collection.
* Merge branch 'version-1.3.0'Maxim Cournoyer2021-05-11
|\
| * guix-install.sh: Exit early if Guix is already installed.Maxim Cournoyer2021-05-05
| | | | | | | | | | * etc/guix-install.sh (sys_create_store): Move the check & exit before The Guix binary archive is unpacked. Re-indent tar extraction command.
| * guix-install.sh: Propose automatically fetching OpenPGP keys.Maxim Cournoyer2021-05-05
| | | | | | | | | | | | | | 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.
| * guix-install.sh: Please the shellcheck linter.Maxim Cournoyer2021-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * guix-install.sh: Add support for more than one signing key.Maxim Cournoyer2021-05-01
| | | | | | | | | | | | | | | | | | | | 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.
| * guix-install.sh: Ensure GUIX_BINARY_FILE_NAME is an absolute path.Maxim Cournoyer2021-04-29
| | | | | | | | | | | | | | | | 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.
| * maint: Require "emacs-no-x" instead of "emacs" on armhf-linux.Ludovic Courtès2021-04-27
| | | | | | | | | | * etc/release-manifest.scm (%base-packages/armhf): New variable. (%base-manifest): Use it.
| * maint: Don't require 'bootstrap-tarballs' for powerpc64le-linux.Ludovic Courtès2021-04-27
| | | | | | | | | | * etc/release-manifest.scm (%base-manifest): Special-case "powerpc64le-linux".
| * import: Remove Nix importer.Ludovic Courtès2021-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * guix-install.sh: Allow overriding the Guix binary source.Maxim Cournoyer2021-04-24
| | | | | | | | | | | | | | | | | | 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.
* | etc: Break long lines in commit messages.Ricardo Wurmus2021-05-04
| | | | | | | | | | * etc/committer.scm.in (break-string): New procedure. (change-commit-message): Use it.
* | guix-install.sh: Add support for more than one signing key.Maxim Cournoyer2021-05-01
| | | | | | | | | | | | | | | | | | | | 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.
* | guix-install.sh: Ensure GUIX_BINARY_FILE_NAME is an absolute path.Maxim Cournoyer2021-05-01
| | | | | | | | | | | | | | | | 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.
* | guix-install.sh: Allow overriding the Guix binary source.Maxim Cournoyer2021-05-01
| | | | | | | | | | | | | | | | | | 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.
* | import: Remove Nix importer.Ludovic Courtès2021-04-20
|/ | | | | | | | | | | | | | | | 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.
* guix-install.sh: Add the build users to the 'kvm' group.Leo Famulari2021-04-14
| | | | | | | 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.
* etc/committer: Add missing newline.Morgan Smith2021-04-12
| | | | | | * etc/committer.scm.in (main): Add newline to message. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
* etc/committer: Use git plumbing instead of porcelain.Morgan Smith2021-04-12
| | | | | | | * 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>
* etc/committer: Disable diff colors.Ricardo Wurmus2021-04-08
| | | | | | Reported by: morgansmith on IRC. * etc/committer.scm.in (diff-info): Invoke "git diff" with "--no-color".
* etc/committer: Recompute hunks before processing changes.Ricardo Wurmus2021-04-08
| | | | | * etc/committer.scm.in (main): Re-evaluate diff-info after processing insertions.
* etc/committer: Record minimal context for hunks to avoid problems.Ricardo Wurmus2021-04-08
| | | | | | | | | | | | 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.
* etc/committer: Define delay duration as a variable.Ricardo Wurmus2021-04-08
| | | | | * etc/committer.scm.in (%delay): New variable. (main): Use it.
* etc/committer: Handle package additions.Ricardo Wurmus2021-04-08
| | | | | | | | | | | | | * 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.
* news: Add 'de' translation.Florian Pelz2021-04-04
| | | | * etc/news.scm: Add German translation of user activation entry.
* news: Clarify time window for account activation vulnerability.Ludovic Courtès2021-04-03
| | | | * etc/news.scm: Tweak wording about skeleton files.
* news: Recommend upgrade for account activation vulnerability.Ludovic Courtès2021-04-03
| | | | * etc/news.scm: Recommend upgrade.
* news: Add entry for user account activation vulnerability.Maxime Devos2021-04-03
| | | | | | * etc/news.scm: Add entry. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* news: Add 'de' translation.Florian Pelz2021-04-01
| | | | * etc/news.scm: Add German translation of POWER9 entry.