Thiago Jung Bauermann via Guix-patches via
ca8c7a36df
news: Add 'pt' translation.
...
The menu entry reference is kept in English because the manual isn't
translated to Portuguese yet.
* etc/news.scm: Add Portuguese translation of 'guix style -f' entry.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-08-14 08:51:41 +02:00
Mathieu Othacehe
26629d3c9e
etc: teams: Add Mathieu Othacehe to mentors.
...
* etc/teams.scm.in (mentors): New member.
2022-08-11 14:47:14 +02:00
Florian Pelz
6ce3e51aa8
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of 'guix style -f' entry.
Correct manual references in previous 'guix style' entries.
2022-08-10 12:45:41 +02:00
Ludovic Courtès
5bce4c8242
build-system: Add 'channel-build-system'.
...
* gnu/ci.scm (channel-build-system, channel-source->package): Remove.
* gnu/packages/package-management.scm (channel-source->package): New
procedure, moved from (gnu ci).
* guix/build-system/channel.scm: New file, with code moved from (gnu ci).
* doc/guix.texi (Build Systems): Document it.
2022-08-09 15:16:06 +02:00
Ludovic Courtès
a109ee9048
news: Add entry for 'guix style -f'.
...
* etc/news.scm: Add entry.
2022-08-08 11:54:23 +02:00
Ludovic Courtès
eab5366e67
disarchive-manifest: Exclude the Chromium tarball.
...
* etc/disarchive-manifest.scm (disarchive-collection): Exclude
"chromium-" tarballs.
2022-08-06 23:14:41 +02:00
Mathieu Othacehe
0e6e037417
etc: teams: Add entry for Mathieu Othacehe.
...
* etc/teams.scm.in ("Mathieu Othacehe"): New member.
2022-08-05 17:14:59 +02:00
Eric Bavier
791620b61d
etc: teams: Add entry for Eric Bavier.
...
* etc/teams.scm.in ("Eric Bavier"): New member.
(mozilla): Add #:description keyword before description.
2022-08-05 09:48:16 -05:00
Ludovic Courtès
6d4a0ccecb
disarchive-manifest: Filter out origins without a hash.
...
* etc/disarchive-manifest.scm (disarchive-collection): Filter out
origins with a phony hash.
2022-08-05 15:28:02 +02:00
Ludovic Courtès
2acffd56a5
disarchive-manifest: Handle tar.xz archives.
...
* etc/disarchive-manifest.scm (tarball-origin?): Add ".tar.xz".
2022-08-05 00:14:29 +02:00
Jonathan Brielmaier
45ca6967ab
etc: teams: Add entry for Jonathan Brielmaier.
...
* etc/teams.scm.in ("Jonathan Brielmaier"): New member.
2022-07-13 20:06:26 +02:00
Jonathan Brielmaier
a3f8eac564
etc: teams: Add mozilla team.
...
* etc/teams.scm.in (mozilla): New team.
2022-07-13 20:03:35 +02:00
Thiago Jung Bauermann
d301374d97
etc: teams: Add entry for Thiago Jung Bauermann.
...
* etc/teams.scm.in ("Thiago Jung Bauermann"): New member.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-10 23:57:15 +02:00
Ludovic Courtès
5d0437ea8c
time-travel-manifest: Use a separate Git checkout cache.
...
* etc/time-travel-manifest.scm (guix-instance-compiler): Parameterize
%REPOSITORY-CACHE-DIRECTORY.
2022-07-10 23:57:14 +02:00
Ludovic Courtès
9fdc4b6c28
monads: Add 'mparameterize'.
...
* etc/system-tests.scm (mparameterize): Move to...
* guix/monads.scm (mparameterize): ... here.
* tests/monads.scm ("mparameterize"): New test.
* .dir-locals.el (c-mode): Add it.
2022-07-10 23:57:14 +02:00
Christopher Baines
6e2f5fe217
etc: teams: Add entry for Christopher Baines.
...
* etc/teams.scm.in ("Christopher Baines"): New member.
2022-07-08 23:36:24 +01:00
Ludovic Courtès
e80f0cda96
etc: Add 'time-travel-manifest.scm'.
...
This manifest makes it easy to test travels from the current revision
back to the revision of a past Guix release.
Suggested by zimoun <zimon.toutoune@gmail.com>.
* etc/time-travel-manifest.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2022-07-08 23:58:11 +02:00
Björn Höfling
ff751a68dc
etc: teams: Add entry for Björn Höfling.
...
* etc/teams.scm.in ("Björn Höfling"): New member.
2022-07-08 17:11:24 +02:00
jgart via Guix-patches via
3e8a1e8f25
etc: teams: Add entry for jgart.
...
* etc/teams.scm.in ("jgart"): New member.
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-07-07 20:08:01 +02:00
Lars-Dominik Braun
c3e4532498
etc: teams: Add entry for Lars-Dominik Braun.
...
* etc/teams.scm.in ("Lars-Dominik Braun"): New member.
2022-07-07 20:06:49 +02:00
Florian Pelz
b150c70b15
etc: teams: Add entry for Florian Pelz.
...
* etc/teams.scm.in ("Florian Pelz"): New member.
2022-07-07 00:29:14 +02:00
Julien Lepiller
3ce152bf5b
etc: teams: Add entry for Julien Lepiller.
...
* etc/teams.scm.in ("Julien Lepiller"): New member.
2022-07-06 22:16:46 +02:00
Philip McGrath
3348e485b7
etc/guix-install.sh: Check for profile from 'guix home'.
...
If "$HOME/.guix-home/profile" exists, use it for GUIX_PROFILE instead of
"$HOME/.guix-profile".
* etc/guix-install.sh (sys_create_init_profile): Check for 'guix home'
profile.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 23:38:38 +02:00
Philip McGrath
23aafc800c
etc/guix-install.sh: Initialize XDG base directories.
...
The default values from the XDG base directory specification make little
sense for Guix System, and some scripts in Guix assume that they are not
"empty or unset": for example, see <https://issues.guix.gnu.org/56050 >.
On foreign distros, however, omitting the default values is likely to
break software from the distro, perhaps even preventing the desktop
environment from starting. To smooth over the difference, use the
system-wide configuration to ensure the environment variables are always
explicitly set on foreign distros.
* etc/guix-install.sh (sys_create_init_profile): Explicitly initialize
XDG base directory variables.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 23:38:37 +02:00
Efraim Flashner
47ed000d4d
etc: teams: Add entry for Efraim Flashner.
...
* etc/teams.scm.in ("Efraim Flashner"): New member.
2022-07-04 11:14:39 +03:00
Leo Famulari
1f33ff1173
teams: Add leo Famulari.
...
* etc/teams.scm.in ("Leo Famulari"): New member.
2022-07-03 22:50:31 -04:00
Liliana Marie Prikler
9cdfecc8a3
etc: teams: Add entry for Liliana Prikler.
...
* etc/teams.scm.in ("Liliana Marie Prikler"): New member.
2022-07-03 17:11:21 +02:00
Liliana Marie Prikler
672c863f55
etc: teams: Sort members lexicographically by last name.
...
* etc/teams.scm.in: Sort members lexicographically by last name.
2022-07-03 17:11:18 +02:00
Andreas Enge
4a2f487740
etc: Update teams.
...
* etc/teams.scm.in: Rename maths team to science and add myself to it.
2022-07-03 16:33:26 +02:00
Ricardo Wurmus
4eaf90470f
etc: Add teams.scm.
...
* etc/teams.scm.in: New file.
* configure.ac: Generate executable.
* .gitignore: Ignore generated file.
2022-07-03 14:12:32 +02:00
Florian Pelz
c86484782e
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of update of 'linux-libre' entry.
2022-06-29 16:28:35 +02:00
Leo Famulari
75c5003a4a
news: Add entry about the update of the 'linux-libre' package.
...
* etc/news.scm: Add entry.
2022-06-29 08:52:58 -04:00
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
Florian Pelz
20dfda3d9e
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of 'guix pack --format=deb' entry.
2021-06-30 16:02:29 +02:00
Maxim Cournoyer
6396f0c235
news: Add entry for the new 'deb' guix pack format.
...
* etc/news.scm: Add entry.
2021-06-29 15:01:10 -04:00
Xinglu Chen
d822c59243
etc: snippets: Use ‘hg-file-name’ when origin uses ‘hg-fetch’
...
Adjust to changes in commit aaafd19bd1
.
* 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>
2021-06-26 22:45:28 +02:00
Tobias Geerinckx-Rice
fa0dc1229c
bash_completion: Complete options for ‘guix environment’.
...
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.
2021-06-16 12:13:39 +02:00
Tobias Geerinckx-Rice
dc3ba8c836
bash completion: Complete options for the right command.
...
* 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.
2021-06-16 12:13:39 +02:00
Tobias Geerinckx-Rice
80a17aae79
bash completion: Really support subcommands.
...
* 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.
2021-06-16 12:13:39 +02:00
Tobias Geerinckx-Rice
0b17dc4aae
etc: indent-code.el: Remove any existing tabs.
...
* etc/indent-code.el (main): Call UNTABIFY on the sexp or entire buffer.
2021-06-12 10:26:02 +02:00
Ludovic Courtès
f9d8206e5b
news: Fix typo.
...
* etc/news.scm: Remove 'x' introduced by mistake in
dfdcd9d812
.
2021-06-08 09:07:36 +02:00
Christopher Baines
26499816a9
etc: Add "bordeaux.guix.gnu.org.pub" public key file.
...
* 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".
2021-06-07 11:31:17 +01:00
Florian Pelz
dfdcd9d812
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of 'guix import egg' entry.
2021-06-05 13:58:20 +02:00
Xinglu Chen
c78d6c60cf
news: Add entry for 'guix import egg'.
...
* etc/news.scm: Add entry.
2021-06-03 13:06:52 +02:00
Xinglu Chen
bdc298ecee
import: Add CHICKEN egg importer.
...
* 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-06-03 13:05:18 +02:00
Marius Bakke
35bd94a492
etc: Add more SELinux permissions for the daemon.
...
* etc/guix-daemon.cil.in (guix_daemon): Add more permissions, necessary for
garbage collection.
2021-05-22 19:53:17 +02:00
Maxim Cournoyer
b7cbca221f
Merge branch 'version-1.3.0'
2021-05-11 22:42:59 -04:00
Maxim Cournoyer
74009c4cf0
guix-install.sh: Exit early if Guix is already installed.
...
* 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-05 11:01:07 -04:00
Maxim Cournoyer
5b0ce3393b
guix-install.sh: Propose automatically fetching OpenPGP keys.
...
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-05 11:01:07 -04:00
Maxim Cournoyer
e61fe664a4
guix-install.sh: Please the shellcheck linter.
...
* 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-05 11:01:06 -04:00
Ricardo Wurmus
570b3d32b9
etc: Break long lines in commit messages.
...
* etc/committer.scm.in (break-string): New procedure.
(change-commit-message): Use it.
2021-05-04 11:52:23 +02:00