Commit graph

458 commits

Author SHA1 Message Date
Florian Pelz 92773dedcd
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix refresh -L' entry.
2022-06-23 16:20:34 +02:00
Ludovic Courtès 2873433c72
news: Add entry for 'guix refresh -L' change.
* etc/news.scm: Add entry.
2022-06-22 23:49:06 +02:00
Florian Pelz 3f70501532
news: Add 'de' translation.
* etc/news.scm: Add German translation of edit sub-commands entry.
2022-06-05 11:30:24 +02:00
Florian Pelz 607e677430
news: Update copyright line.
* etc/news.scm: Update Maxime Devos’ copyright header.
2022-06-05 11:30:10 +02:00
Ludovic Courtès ac826aef9c
news: Add entry for 'guix system edit' and 'guix home edit'.
* etc/news.scm: Add entry.

Co-authored-by: Maxime Devos <maximedevos@telenet.be>
2022-06-04 12:09:37 +02:00
Tobias Geerinckx-Rice dc6d92ac93
bash completion: Fix & unify option parsing.
We now correctly recognise ‘guix -Abcdef’ as equivalent to ‘guix -f’.

* etc/completion/bash/guix (_guix_is_short_option, guix_is_long_option):
New functions.
(_guix_is_dash_f, _guix_is_dash_l, _guix_is_dash_L, _guix_is_dash_m)
(_guix_is_dash_C, _guix_is_dash_p): Use them.
2022-05-29 02:00:20 +02:00
Maxim Cournoyer 5e6efdfeec
etc/committer: Teach it how to commit package removal.
* etc/committer.scm.in (hunk-types): New variable.
(<hunk>): Rename hunk-definition? getter to 'hunk-type'.
(diff-info): Mute a git warning by separating file names from arguments with
'--'.  Rename the 'definitions?' variable to 'type'.
Use the 'addition type when a new package addition is detected, 'removal when
removed else #f.
(add-commit-message): Re-indent.
(remove-commit-message): New procedure.
(main)[definitions]: Make commit message conditional depending on whether it
is an addition or removal.
[changes]: Adjust indentation.
2022-05-31 14:52:13 -04:00
Maxim Cournoyer 6c956243bc
etc/committer: Prefix (sxml xpath) symbols to avoid name conflict.
This avoids a naming conflict for 'filter', provided by both (srfi srfi-1)
and (sxml xpath).

* etc/committer.scm.in: Use 'use-modules' instead of 'import', and use a
prefix for the (sxml xpath) module.
(new-sexp): Adjust accordingly.
(change-commit-message): Likewise.
2022-05-31 14:52:13 -04:00
Josselin Poiret dab819d5c4
Move (gnu platform) and (gnu platforms ...) to guix/.
* gnu/platform.scm:
* gnu/platforms/arm.scm:
* gnu/platforms/hurd.scm:
* gnu/platforms/mips.scm:
* gnu/platforms/powerpc.scm:
* gnu/platforms/riscv.scm:
* gnu/platforms/s390.scm:
* gnu/platforms/x86.scm: Move to guix/.

* Makefile.am:
* doc/guix.texi (Porting to a New Platform):
* etc/release-manifest.scm:
* gnu/ci.scm:
* gnu/image.scm:
* gnu/local.mk:
* gnu/packages/bioinformatics.scm:
* gnu/packages/bootstrap.scm:
* gnu/packages/cross-base.scm:
* gnu/packages/instrumentation.scm:
* gnu/packages/linux.scm:
* gnu/system/image.scm:
* gnu/system/images/hurd.scm:
* gnu/system/images/novena.scm:
* gnu/system/images/pine64.scm:
* gnu/system/images/pinebook-pro.scm:
* gnu/system/images/rock64.scm:
* guix/scripts/build.scm:
* guix/scripts/system.scm:
* guix/self.scm: Update (gnu platform...) to (guix platform...).

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-25 09:27:25 +02:00
Florian Pelz a6da02217e
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix import elm' entry.
2022-05-23 11:52:29 +02:00
Mathieu Othacehe dd970122dd
ci: Do not rely on hardcoded cross-targets lists.
* gnu/ci.scm (%cross-targets): Remove it ...
(cross-jobs): ... and use the targets procedure instead.
* etc/release-manifest.scm: Adapt it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-22 15:15:33 +02:00
Ludovic Courtès b782d11f9b
news: Add entry for 'guix import elm'.
* etc/news.scm: Add entry.
2022-05-22 01:42:27 +02:00
Maxim Cournoyer e56ff45600
snippets: Add a 'remove' snippet.
* etc/snippets/text-mode/guix-commit-message-remove-package: New file.
2022-05-12 12:46:07 -04:00
Florian Pelz 968992e499
news: Add 'de' translation.
* etc/news.scm: Add German translation of update of 'linux-libre' entry.
2022-04-24 23:05:24 +02:00
Guillaume Le Vaillant 31a8f0cde6
news: Fix news entry commit reference.
* etc/news: Fix commit reference of news entry about Linux-libre kernel update
  to 5.17.
2022-04-24 12:07:54 +02:00
Leo Famulari 59b91fdbcd
news: Add entry about the update of the 'linux-libre' package.
* etc/news.scm: Add entry.
2022-04-23 13:45:46 -04:00
Ludovic Courtès dbde386794
tests: System tests really parameterize 'current-guix-package'.
Until now, 'current-guix-package' was parameterized in the wrong
context.  Thus, 'current-guix' would end up building a variant of the
'guix' package instead of the package returned by
'channel-source->package', which is much less expensive to build.

* etc/system-tests.scm (mparameterize): New macro.
(tests-for-current-guix): Change the 'value' field of each <system-test>
record to parameterize 'current-guix-package' for good.
2022-04-11 00:25:33 +02:00
Florian Pelz 029cb8c95f
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix shell --export-manifest' entry.
2022-04-05 16:28:48 +02:00
Ludovic Courtès b1e7e64f35
news: Add entry about 'guix shell --export-manifest'.
* etc/news.scm: Add entry.
2022-04-04 23:12:07 +02:00
Florian Pelz 0d21677170
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix home container' entry.
2022-03-20 01:10:57 +01:00
Ludovic Courtès a58defdae8
news: Add entry about 'guix home container'.
* etc/news.scm: Add entry.
2022-03-19 19:20:24 +01:00
Florian Pelz 9e154465b2
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix pull --news' entry.
2022-03-03 12:10:21 +01:00
Tobias Geerinckx-Rice 209a3274f8
news: Add entry about ‘guix pull --news’ changes.
* etc/news.scm: Add entry.
2022-02-27 01:00:06 +01:00
Florian Pelz ad9cd004c8
news: Fix 'de' translation.
* etc/news.scm: Fix typo.
2022-02-09 13:04:05 +01:00
Florian Pelz 758a20569d
news: Add 'de' translation.
* etc/news.scm: Add German translation of end of Gzip substitutes entry.
2022-02-09 11:19:25 +01:00
Florian Pelz 238a63b0eb
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix deploy -x' entry.
2022-02-09 11:04:00 +01:00
Maxim Cournoyer 0f97729034
news: Add entry about the sunsetting of Gzip substitutes.
* etc/news.scm (channel-news): New entry.
2022-02-08 21:59:48 -05:00
Ludovic Courtès 9408a4edcb
news: Add entry about 'guix deploy -x'.
* etc/news.scm: Add entry.
2022-02-02 18:43:08 +01:00
Marius Bakke bbc2fb0d52
etc: Remove redundant SELinux permissions block.
* etc/guix-daemon.cil.in (guix_daemon): Consolidate two blocks adding
sock_file permissions on guix_daemon_conf_t.
2022-01-26 09:31:45 +01:00
Marius Bakke 98e74d520a
etc: Add more SELinux permissions for the daemon.
* etc/guix-daemon.cil.in (guix_daemon): Permit write on guix_daemon_conf_t
sock_file, necessary for garbage collection.
2022-01-24 11:28:14 +01:00
Ricardo Wurmus 67d74daf0c
etc: committer: Support plain input lists.
* etc/committer.scm.in (change-commit-message): Support new-style plain list
inputs in addition to old-style inputs with labels.
2022-01-23 14:01:30 +01:00
Liliana Marie Prikler 2c9f13ba63
etc: Match define-public only at line start.
The current regexp simply matches the first occurence, which more often than
not points to the *previous* variable.

* etc/snippets/text-mode/guix-commit-message-update-package ($1): Restrict
match to beginning of line with optional indentation.
2022-01-19 20:47:03 +01:00
Ludovic Courtès 93d3a2b23c
bash completion: Complete "guix home" sub-commands.
* etc/completion/bash/guix (_guix_complete): Treat "guix home" like
"guix system".
2022-01-17 19:05:48 +01:00
Fulbert e35deac9e7
bash completion: Fix options completion.
Fixes, for example, "guix import pypi --<TAB>", which would previously
fail to show '--recursive'.

* etc/completion/bash/guix (_guix_complete_option): Fix options
completion for first subcommand.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-16 23:56:56 +01:00
Florian Pelz 0891ac16d0
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix style --styling=format' entry.
2022-01-16 09:01:10 +01:00
Ludovic Courtès 9a112a8fe1
news: Fix typos in French text.
* etc/news.scm: Fix typos.
2022-01-10 19:31:03 +01:00
Ludovic Courtès 0976e92a0f
news: Add news entry about 'guix style'.
* etc/news.scm: Add entry.
2022-01-10 15:01:30 +01:00
Ludovic Courtès c4fe13c294
style: Add '--styling' option.
* guix/scripts/style.scm (format-package-definition): New procedure.
(%options, show-help): Add "--styling".
(%default-options): Add 'styling-procedure'.
(guix-style): Honor it.
* tests/style.scm (with-test-package)
("input labels, 'safe' policy")
("input labels, 'safe' policy, nothing changed")
("input labels, margin comment")
("input labels, margin comment on long list")
("input labels, line comment")
("input labels, modify-inputs and margin comment"): Pass "-S inputs".
* etc/indent-code.el: Remove.
* doc/contributing.texi (Formatting Code): Mention "guix style" instead
of "etc/indent-code.el".
(Submitting Patches): Add item for "guix style".
* doc/guix.texi (Invoking guix style): Document "-S" and update.
2022-01-10 14:59:26 +01:00
Florian Pelz 8fcf947591
news: Add 'de' translation.
* etc/news.scm: Add German translation of ‘--tune’ entry.
2022-01-02 14:56:42 +01:00
Florian Pelz f107c20e50
news: Add 'de' translation.
* etc/news.scm: Add German translation of ‘integer expected from stream’ entry.
2022-01-02 11:51:51 +01:00
Ludovic Courtès 40662f7da8
news: Add entry about '--tune'.
* etc/news.scm: Add entry.
2022-01-01 15:56:32 +01:00
Tobias Geerinckx-Rice 1cfb8be3a1
news: Tie the latest news entry to a later commit.
Using 1eb40a6 was more correct than pragmatic, as those who have upgraded
their own Guix since then will not see the message urging them to upgrade
the Guix they don't know about.

This follows up on commit df830ef91a.

* etc/news.scm: Tie latest news entry to an arbitrary later commit.
2021-12-30 13:57:05 +01:00
Tobias Geerinckx-Rice df830ef91a
news: Add ‘integer expected from stream’ entry.
* etc/news.scm: Add entry.
2021-12-30 13:41:27 +01:00
Florian Pelz 8a96bf4c74
news: Add 'de' translation.
* etc/news.scm: Add German translation of GDM Wayland entry.
2021-12-14 22:35:58 +01:00
Florian Pelz af220bfbd2
news: Add 'de' translation.
* etc/news.scm: Add German translation of package inputs entry.
2021-12-14 18:21:59 +01:00
Florian Pelz 644ff4dc69
news: Add 'de' translation.
* etc/news.scm: Add German translation of static networking entry.
2021-12-14 15:41:34 +01:00
Ludovic Courtès 1052ae5f03
Merge branch 'master' into core-updates-frozen 2021-12-13 11:49:15 +01:00
Ludovic Courtès c8609493ba
news: Add entry about 'static-networking-service-type'.
* etc/news.scm: Add entry.
2021-12-13 00:09:33 +01:00
Mathieu Othacehe 32750e8c3e
Merge remote-tracking branch 'signed/master' into core-updates 2021-12-10 21:49:25 +01:00
Tobias Geerinckx-Rice f3af1fb0bc
bash completion: Complete ‘guix shell -f’.
* etc/completion/bash/guix (_guix_complete): Suggest a file name
following ‘guix shell […] -f’.
2021-12-08 21:09:55 +01:00
Ludovic Courtès 3867cb7885
maint: Don't require unsupported packages such as GNOME on i686-linux.
* etc/release-manifest.scm (%system-manifest): Filter out PACKAGE when
it doesn't pass 'supported-package?'.
2021-12-08 18:56:52 +01:00
Ricardo Wurmus 9bc0f45df5
Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-12-05 19:17:41 +01:00
Jonathan Brielmaier 1e5656e7bd
news: Add copyright line for myself.
* etc/news.scm: Add myself to the copyright headers.
2021-12-04 15:10:29 +01:00
Jonathan Brielmaier 205a65839a
news: Add entry about Icedove 91.
* etc/news.scm: New entry.
2021-12-01 22:52:02 +01:00
Josselin Poiret 4b28553e73
news: Notify of Wayland support in GDM
* etc/news.scm: Add a news entry.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-15 11:49:45 +01:00
Efraim Flashner 1c94392a13
Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-11-08 09:06:14 +02:00
Tobias Geerinckx-Rice 071f4e3db3
guix-install.sh: Undo some bugs introduced by shellcheck.
* etc/guix-install.sh: Unquote all file names containing ~root.
2021-11-07 20:09:59 +01:00
Efraim Flashner bc5155b952
Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-10-31 14:49:47 +02:00
Tobias Geerinckx-Rice 8e6989fcaf
bash completion: Complete top-level options.
* etc/completion/bash/guix (_guix_complete_option): Fix operation without a {,sub}command.
(_guix_complete): Call it also when no command is given.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice 0987a0eba4
bash completion: Don't hard-code "guix" binary name.
* etc/completion/bash/guix (_guix_complete_command):
Use ${COMP_WORDS[0]} instead of hard-coding "guix".
2021-10-31 00:57:07 +02:00
Florian Pelz 2efc7819ce
news: Add 'de' translation.
* etc/news.scm: Add German translation of "guix shell" entry.
2021-10-27 15:39:36 +02:00
Ludovic Courtès 4aa41a37f0
news: Add entry about "guix shell".
* etc/news.scm: Add entry.
2021-10-25 20:11:25 +02:00
Ludovic Courtès 80edb7df65
Add 'guix shell'.
* guix/scripts/shell.scm, tests/guix-shell.sh: New files.
* Makefile.am (MODULES): Add 'shell.scm'.
(SH_TESTS): Add 'tests/guix-shell.sh'.
* guix/scripts/environment.scm (show-environment-options-help): New
procedure.
(show-help): Use it.
(guix-environment*): New procedure.
(guix-environment): Use it.
* po/guix/POTFILES.in: Add it.
* doc/guix.texi (Features): Refer to "guix shell"
(Invoking guix package): Likewise.
(Development): Likewise.
(Invoking guix shell): New node.
(Invoking guix environment): Add deprecation warning.
(Debugging Build Failures): Use 'guix shell' in examples.
(Invoking guix container): Refer to 'guix shell'.
(Invoking guix processes, Virtualization Services): Adjust examples to
use 'guix shell'.
* doc/contributing.texi (Building from Git): Refer to 'guix shell'.
* etc/completion/bash/guix: Handle "shell".
2021-10-25 18:58:18 +02:00
Liliana Marie Prikler 55f6d9e818
etc: completion: Filter gratuitous spaces from available packages.
Tested with:

  guix environment --{ad-hoc,pure} zsh guix bash-completion coreutils -- zsh
  % fpath=(~/guix/etc/completion/zsh $fpath)
  % autoload -U compinit; compinit

* etc/completion/zsh/_guix (_guix_list_available_packages): Remove spaces.

Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-10-24 20:17:05 +02:00
Mathieu Othacehe e486b2b674
Merge remote-tracking branch 'signed/master' into core-updates 2021-10-18 14:37:26 +00:00
Sarah Morgensen f8b10932c8
Add git configuration templates to improve diff hunk header detection.
This is a follow-up to commit 9fc8ae4171, which
missed two hunks from <https://issues.guix.gnu.org/50363>.

Reported by hackeryarn on #guix.

* .gitattributes, etc/git/gitconfig: New files.

Signed-off-by: Marius Bakke <marius@gnu.org>
2021-10-14 00:24:34 +02:00
Mathieu Othacehe a1eca979fb
Merge remote-tracking branch 'origin/master' into core-updates-frozen. 2021-10-12 17:46:23 +00:00
Ludovic Courtès 2ad1ef8446
disarchive-manifest: Provide valid 'version' string.
* etc/disarchive-manifest.scm <top level>: Turn 'version' field into a
string.
2021-10-09 01:02:18 +02:00
Tobias Geerinckx-Rice ed14bc2984
bash completion: Fix ‘system’ & ‘container’ subcommands.
* etc/completion/bash/guix (_guix_complete): Count words from the
innermost command.
2021-10-03 19:23:49 +02:00
Tobias Geerinckx-Rice d71cfaea30
bash completion: Complete ‘guix size’ file names.
* etc/completion/bash/guix (_guix_complete): Complete store file names
after the ‘size’ command.
2021-10-03 19:23:49 +02:00
Tobias Geerinckx-Rice 9e3355d2a3
bash completion: Complete ‘guix build’ file names.
* etc/completion/bash/guix
(_guix_complete_available_package_or_store_file): New function.
(_guix_complete): Call it in place of _guix_complete_available_package
after the ‘build’ command.
2021-10-03 19:23:48 +02:00
Tobias Geerinckx-Rice ee5e4779e2
bash completion: Complete ‘guix weather’ packages.
* etc/completion/bash/guix (_guix_complete): Complete available package
names for ‘guix weather’ when not following ‘-m’.
2021-10-03 19:23:48 +02:00
Tobias Geerinckx-Rice 17f76b209c
bash completion: Append to $COMPREPLY where possible.
_guix_complete is always called with a fresh empty array.

* etc/completion/bash/guix (_guix_complete_command)
(_guix_complete_subcommand, _guix_complete_installed_package)
(_guix_complete_option, _guix_complete_pid): Append to $COMPREPLY rather
than re-assigning.
2021-10-03 19:23:48 +02:00
Tobias Geerinckx-Rice 6fba67df19
bash completion: Consolidate similar $command ‘if’ branches.
* etc/completion/bash/guix (_guix_complete): Combine the ‘upgrade’ and
‘remove’ commands, as well as ‘download’, ‘gc’, and ‘hash’.
2021-10-03 19:23:48 +02:00
Tobias Geerinckx-Rice e4ed0b3969
guix-install.sh: Don't swallow wget errors.
Using ‘-q’ suppresses *all* stderr output, including errors.

* etc/guix-install.sh (chk_gpg_keyring, guix_get_bin_list, guix_get_bin):
Substitute ‘--no-verbose’ for ‘-q’.

Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-09-29 16:56:40 +02:00
Florian Pelz 4687ee9cac
news: Adapt 'de' translation.
* etc/news.scm: Mention that Guix Home is a "technology preview".
2021-09-29 10:40:45 +02:00
Ludovic Courtès 62180be2ee
news: Mention that Home is a "technology preview".
* etc/news.scm: Mention that Home is a "technology preview".
2021-09-28 15:43:00 +02:00
Florian Pelz 1c1bfe681a
news: Add 'de' translation.
* etc/news.scm: Add German translation of Guix Home entry.
2021-09-27 23:47:53 +02:00
Oleg Pykhalov 6ae4644984
Merge branch 'wip-guix-home' 2021-09-27 17:27:12 +03:00
Andrew Tropin a2b937984a
news: Add entry about Guix Home.
* etc/news.scm: Add entry.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-27 17:27:02 +03:00
Florian Pelz d96582f810
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix graph -M' entry.
2021-09-23 08:51:48 +02:00
Florian Pelz 84db46783b
news: Add 'de' translation.
* etc/news.scm: Add German translation of fallback to SWH entry.
2021-09-23 08:33:10 +02:00
Ludovic Courtès 09289d0d2b
news: Add entry for Git clone fallback to SWH.
Suggested by zimoun.

* etc/news.scm: Add entry.
2021-09-22 16:14:39 +02:00
Ludovic Courtès 9102512748
news: Add entry for "guix graph -M".
* etc/news.scm: Add entry.
2021-09-21 15:16:20 +02:00
Xinglu Chen 3d15a19874
etc: committer: Amend previous commit if a copyright line was added.
Previously, the script would raise an error if a copyright line was added to a
file in gnu/packages/.  With this change, it will amend the previous commit
whenever a copyright line is added, and add the copyright line to the commit.

* etc/committer.scm.in (add-copyright-line): New procedure.
(main): Check if a copyright line was added and call ‘add-copyright-line’ if
necessary.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-21 15:15:52 +02:00
Thiago Jung Bauermann 5c4fd77097
etc: Add systemd files for running ‘guix gc’ periodically
* etc/guix-gc.service.in: New file.
* etc/guix-gc.timer: Likewise.
* .gitignore: Ignore generated ‘guix-gc.service’.
* nix/local.mk (nodist_systemdservice_DATA): Add ‘guix-gc.service’ and
‘guix-gc.timer’.
(EXTRA_DIST): Add ‘guix-gc.service.in’ and ‘guix-gc.timer’.
* doc/guix.texi (Binary Installation): Mention the new systemd files.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-09-20 14:18:21 +00:00
Marius Bakke 5c3cb22c9b
Merge branch 'master' into core-updates-frozen
Conflicts:
	gnu/packages/bioinformatics.scm
	gnu/packages/chez.scm
	gnu/packages/docbook.scm
	gnu/packages/ebook.scm
	gnu/packages/gnome.scm
	gnu/packages/linux.scm
	gnu/packages/networking.scm
	gnu/packages/python-web.scm
	gnu/packages/python-xyz.scm
	gnu/packages/tex.scm
	gnu/packages/version-control.scm
	gnu/packages/xml.scm
	guix/build-system/dune.scm
	guix/build-system/go.scm
	guix/build-system/linux-module.scm
	guix/packages.scm
2021-09-17 01:25:52 +02:00
Ludovic Courtès 98712c14fe
etc: Add 'disarchive-manifest.scm'.
* etc/disarchive-manifest.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2021-09-14 11:50:58 +02:00
Ludovic Courtès 3b758dd22d
etc: Add 'source-manifest.scm'.
* etc/source-manifest.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2021-09-14 11:50:58 +02:00
Ludovic Courtès d9dfbf886d
Merge branch 'master' into core-updates-frozen 2021-09-07 14:19:08 +02:00
Marius Bakke c4133c43c7
Merge branch 'master' into core-updates-frozen
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
2021-08-12 00:30:27 +02:00
Noah Evans a8dd285d5a
zsh completion: Add missing commands and arguments.
* etc/completion/zsh/_guix (_guix_install, _guix_remove, _guix_upgrade):
  New functions.
  (_guix_build, _guix_challenge, _guix_download, _guix_environment,
  _guix_packages, _guix_gc, _guix_hash, _guix_lint, _guix_package,
  _guix_publish, _guix_pull, _guix_refresh, _guix_size, _guix_system):
  Add some of the missing arguments.
  (_guix_cmds): Add missing commands.

Co-authored-by: Brice Waegeneire <brice@waegenei.re>
2021-08-28 17:57:50 +02:00
Sarah Morgensen 80fc776a61
etc/committer: Pass command-line arguments to main.
* etc/committer.scm.in: Call main with command line arguments.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10 17:32:19 +02:00
Sarah Morgensen 73177859bc
etc/committer: Support custom commit messages.
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>
2021-08-10 17:32:19 +02:00
Maxime Devos 50c2dcd1c9
etc: committer: Support reading G-expressions.
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>
2021-08-07 14:01:20 +02:00
Ludovic Courtès 0e47fcced4
Merge branch 'master' into core-updates 2021-07-18 19:50:01 +02:00
Maxim Cournoyer 073904c553
guix-install.sh: Untabify.
* etc/guix-install.sh (sys_create_build_user): Normalize to spaces.
2021-07-14 08:50:22 -04:00
Ludovic Courtès 9b4c3c675c
news: Add news entry for simplified package inputs.
* etc/news.scm: Add entry.
2021-07-11 01:06:04 +02:00
Maxim Cournoyer 4cbe0127a6
guix-install.sh: Prompt for configuring substitutes discovery.
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.
2021-07-07 23:54:20 -04:00
Hartmut Goebel 7f06567b83
guix-install.sh: No longer export GUIX_PROFILE.
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.
2021-07-07 21:25:16 +02:00