me
/
guix
Archived
1
0
Fork 0
Commit Graph

725 Commits (3c309a7b7020a9645bfe775d9f53f43f05d076bf)

Author SHA1 Message Date
Andrew Tropin 7309da3ba6
teams: emacs: Add tree-sitter.scm to scope.
* etc/teams.scm.in (emacs): Add "gnu/packages/tree-sitter.scm" to scope.
2023-09-01 23:08:53 +04:00
Maxim Cournoyer d6966b8a5b
etc: teams: Fix regexp match and execution.
This is a follow up to commit 4d7b25a0 ("etc: teams: Sort and improve display
of regular expression in 'scope' field.").

* etc/teams.scm.in (regexp-exec*): Rename to...
(regexp*-exec): ... this.
(find-team-by-scope): Replace regexp? with regexp*?.  Replace regexp-exec with
regexp*-exec.
2023-08-30 15:40:34 -04:00
zimoun 4d7b25a0e2
etc: teams: Sort and improve display of regular expression in 'scope' field.
Fixes <https://issues.guix.gnu.org/65208>.

* etc/teams.scm.in (<regexp*>): New record type.
(make-regexp*, regexp-exec*): New procedures.
(python, haskell, julia, java, emacs, rust, core, translations, installer,
home): Use it.
(find-team-by-scope): Use it.
(list-teams): Use it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Reported-by: Greg Hogan <code@greghogan.com>
2023-08-29 14:52:21 -04:00
zimoun c4fec3b480
etc: teams: Itemize 'scope' field.
* etc/teams.scm.in (list-teams): Itemize the 'scope' field.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-08-29 14:52:21 -04:00
zimoun 60dc07a461
etc: teams: Add 'show' subcommand and sort teams.
* etc/teams.scm.in: Add 'show' subcommand.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-08-29 14:52:21 -04:00
Maxim Cournoyer ee4a429d49
etc: teams: Refactor list-teams.
* etc/teams.scm.in (print-team, sort-teams): New procedures.
(list-teams): Use them.
2023-08-29 14:52:21 -04:00
Maxim Cournoyer c0dad02e9f
etc: teams: Drop unused port argument for list-members procedure.
* etc/teams.scm.in (list-members): Drop port optional argument.  Turn PREFIX
into a keyword argument.
(print-team): Adjust accordingly.
2023-08-29 14:52:20 -04:00
Maxim Cournoyer 270cb1db2f
teams: Register the guix-emacs.el file to the Emacs team.
* etc/teams.scm.in (emacs): Add the
"gnu/packages/aux-files/emacs/guix-emacs.el" file to the scope of the Emacs
team.
2023-08-29 14:52:20 -04:00
Andreas Enge 8b4a248fc4
Update tex team.
* etc/teams.scm.in: Add gnu/packages/texlive.scm to the files and Andreas
Enge to the members of the tex team.
2023-08-27 12:26:49 +02:00
Maxim Cournoyer 0b994bb9b1
etc: Add Qt manifests for Qt maintenance.
* etc/teams/qt/common.scm: New file.
* etc/teams/qt/qt-manifest.scm: Likewise.
* etc/teams/qt/qt5-manifest.scm: Likewise.
2023-08-22 12:32:20 -04:00
Janneke Nieuwenhuizen 3c6b6941a2
maint: Add 'etc/hurd-manifest.scm'.
* build-aux/cuirass/hurd-manifest.scm: Move to...
* etc/hurd-manifest.scm: ...here.
* Makefile.am (EXTRA_DIST): Update accordingly.
2023-08-21 10:45:45 +02:00
Katherine Cox-Buday 2c6fc97959
teams: Add Katherine Cox-Buday to emacs, go, and lisp teams.
* etc/teams.scm.in: Add Katherine Cox-Buday.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-08-16 11:32:46 -04:00
Ludovic Courtès 530455be02
teams: Add myself to 'installer' and leave 'embedded'.
* etc/teams.scm.in (Ludovic Courtès): Drop 'embedded' (added in
7cf606a5a0) and add
'installer'.
2023-08-12 22:55:56 +02:00
Leo Famulari 16e2547df5
news: Add entry about the removal of linux-libre 6.3.
* etc/news.scm: Add entry.
2023-07-23 22:26:00 -04:00
Leo Famulari bb7d40c1cd
news: Add entry for the linux-libre 6.4 update.
* etc/news.scm: Add entry.
2023-07-23 22:26:09 -04:00
Maxim Cournoyer 9ff1e7652a
etc: Add a Qt team.
* etc/teams.scm.in (qt): New variable.
('Maxim Cournoyer'): Add to qt team.
2023-07-25 12:00:56 -04:00
Maxim Cournoyer 996e006644
etc: Add a telephony team.
* etc/teams.scm.in (telephony): New variable.
('Maxim Cournoyer'): Add to telephony team.
2023-07-25 12:00:56 -04:00
Tobias Geerinckx-Rice 7419b187d1
guix-install.sh: Fix incomplete installation.
‘false || return’ returns false, and
‘set -e’ aborts the script.  This leaves
Guix half installed with visual indication of error.

* etc/guix-install.sh (sys_customize_bashrc, sys_maybe_setup_selinux):
Explicitly return 0.
2023-07-16 02:00:07 +02:00
Tobias Geerinckx-Rice c89e0b4d20
guix-install.sh: Install SELinux policy only if tools are present.
* etc/guix-install.sh (sys_maybe_setup_selinux): Silently return if
the ‘semodule’ or ‘restorecon’ commands are missing.
2023-07-16 02:00:07 +02:00
Christopher Baines c0d3d494cd
teams: Change email address for Christopher Baines.
This will allow me to automatically detect when I'm getting emails related to
Guix teams.

* etc/teams.scm.in: Change email address for Christopher Baines.
2023-07-17 08:52:49 +01:00
Tobias Geerinckx-Rice 93243a6ca4
guix-install.sh: Remove any old systemd units first.
Don't clobber /dev/null permissions if units are masked.

* etc/guix-install.sh (sys_enable_guix_daemon): Factor out unit
installation.  Unconditionally remove any old units.  Install and enable
gnu-store.mount after guix-daemon.service.
2023-07-09 02:00:09 +02:00
Tobias Geerinckx-Rice 024f78aba2
guix-install.sh: Don't patch guix-daemon.service.
* etc/guix-install.sh (sys_enable_guix_daemon):
Remove obsolete sed invocations.
2023-07-09 02:00:09 +02:00
Tobias Geerinckx-Rice 67790e7f2f
guix-install.sh: Unconditionally install gnu-store.mount.
* etc/guix-install.sh (sys_enable_guix_daemon):
Remove obsolete conditional.
2023-07-09 02:00:08 +02:00
Tobias Geerinckx-Rice ff23e34f56
guix-install.sh: Don't extract the binary ‘.’.
* etc/guix-install.sh (sys_create_store): Strip the first tar
file name component.
2023-07-05 22:28:56 +02:00
Ludovic Courtès bcdff1d9fc
news: Fix typo.
* etc/news.scm: Fix typo in French version.
2023-06-21 00:10:49 +02:00
Ludovic Courtès bf9afedef9
news: Add entry for 'guix locate'.
* etc/news.scm: Add entry.

Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de>
2023-06-18 23:45:12 +02:00
Ludovic Courtès 4166b583fb
guix-install.sh: Install SELinux policy and relabel file systems if needed.
Fixes <https://issues.guix.gnu.org/62487>.

* etc/guix-install.sh (sys_maybe_setup_selinux): New function.
(main): Use it.
2023-05-25 12:51:15 +02:00
Ludovic Courtès 3bf612eaa1
etc: SELinux: Update policy file.
Tested on Rocky Linux 9, as discussed
at <https://issues.guix.gnu.org/62487>.

* etc/guix-daemon.cil.in: Add rules for /gnu/store remount and file
creation in /tmp.
2023-05-25 12:51:15 +02:00
Vagrant Cascadian 36c72c1595
teams: Add Vagrant Cascadian to the embedded team.
* etc/teams.scm.in ("Vagrant Cascadian"): Add to embedded team.
2023-05-24 16:08:48 -07:00
Vagrant Cascadian 7cf606a5a0
teams: Split Embedded and Bootstrap into separate teams.
* etc/teams.scm.in (embedded-bootstrap): Replace by two separate teams.
  (embedded): New variable.
  (bootstrap): New variable.
  Adjust membership to use new teams.
2023-05-24 15:27:56 -07:00
Antero Mejr 5a6acda4fb
teams: Correct chemistry.scm typo.
* etc/teams.scm.in (science): Change chemestry.scm to chemistry.scm.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-19 16:46:34 +02:00
Maxim Cournoyer 03b453cfe5
etc: gitconfig: Do not enforced signed commits.
This change was more invasive than initially thought, and cannot be disabled
easily, as raised by a few people.  Let's revert it for now.  At least the
pre-push hook should be deployed automatically and catch any unsigned commits
attempted to be pushed to Savannah.

* etc/git/gitconfig [commit]: Remove section.
2023-05-18 23:17:31 -04:00
Ludovic Courtès 2344ccee2f
news: Add entry to 'guix style -S arguments'.
* etc/news.scm: Add entry.
2023-05-18 20:05:55 +02:00
Ludovic Courtès fddf97456c
doc: Change '--with-configure-flag' example to something that works.
Passing '-DBUILD_COMPLEX=OFF' to lapack would eventually lead to a link
error.

Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

* doc/guix.texi (Package Transformation Options): Change
'--with-configure-flag' example.
* etc/news.scm: Likewise.
2023-05-18 19:20:58 +02:00
Maxim Cournoyer 125f52c443
teams: Fix script to produce a single X-Debbugs-Cc header.
Fixes <https://issues.guix.gnu.org/63378>.

* etc/teams.scm.in (cc): Adjust format pattern.
(sort-members, member->string): New procedures.
(list-members): Refactor in terms of the above procedures.
(main): Adjust the output of the 'cc-members-header-cmd' and
'cc-mentors-header-cmd' actions.

Reviewed-by: Arun Isaac <arunisaac@systemreboot.net>
2023-05-11 09:15:48 -04:00
Efraim Flashner b9873d6c67
etc: teams: Add sequoia.scm to the rust team.
* etc/teams.scm.in (rust): Add gnu/packages/sequoia.scm to the rust team
module scope.
2023-05-07 19:29:20 +03:00
Florian Pelz 3efdc84bbd
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'with-configure-flag' entry.
2023-05-05 10:20:55 +02:00
Ludovic Courtès 388cf3066e
news: Add entry for '--with-configure-flag'.
* etc/news.scm: Add entry.
2023-05-04 17:07:15 +02:00
Maxim Cournoyer e04161fd25
teams: Add a 'cc-mentors-header-cmd' action.
* etc/teams.scm.in (main): Register a new "cc-mentors-header-cmd" action.
Document it.
2023-05-01 12:39:11 -04:00
Maxim Cournoyer 8b972da068
Makefile.am: Auto-configure Git on 'make'.
This means we do not need to worry anymore about manually syncing the pre-push
git hook or the Guix-provided git configuration.

* etc/git/gitconfig: Augment configuration template with useful options to
allow for auto-configuration.
* Makefile.am (.git/hooks/pre-push, .git/config): New targets.
(nodist_noinst_DATA): New primary variable holding the above targets.
2023-05-01 12:39:11 -04:00
Maxim Cournoyer 0eddeb9896
teams: Add 'cc-members-header-cmd' action.
* etc/teams.scm.in (patch->teams): New procedure.
(main): Use it.  Add a new "cc-members-header-cmd" command; document it.
2023-05-01 12:39:11 -04:00
Florian Pelz c22765c933
news: Add 'de' translation.
* etc/news.scm: Add German translation of core-updates entry.
2023-04-26 12:27:11 +02:00
Ludovic Courtès 5f0474ba87
news: Add entry for 'core-updates' merge.
* etc/news.scm: Add entry.
2023-04-26 11:25:59 +02:00
Maxim Cournoyer e29571afc6
guix-install.sh: Fix GUIX_ALLOW_OVERWRITE condition.
Before this change, the "Overwriting existing installation!" would be
displayed erroneously.

* etc/guix-install.sh (sys_create_store): Fix overwrite conditional.
2023-04-24 12:51:41 -04:00
Nicolas Graves 38fa64c4b5
snippets: tempel: Simplify git-commit-mode detection.
* etc/snippets/tempel/text-mode: Simplify git-commit-mode detection.

Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-04-18 14:59:02 +04:00
Jonathan Brielmaier 48a1ed92f6
news: Add entry for the linux-libre-lts 6.1 update.
* etc/news.scm: Add entry.
2023-04-14 15:12:13 -04:00
Florian Pelz 985dab8e73
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix shell -CW' entry.
2023-04-14 15:12:13 -04:00
Ludovic Courtès 62a14c552f
news: Add entry for 'guix shell --container --nesting'.
* etc/news.scm: Add entry.
2023-04-14 15:12:13 -04:00
Andrew Tropin 02033bfc05
guix-install.sh: Source both profiles, default user's and home.
* etc/guix-install.sh (sys_create_init_profile): Source both profiles, default
user's and home.
2023-04-09 11:06:54 +04:00
Jonathan Brielmaier 73ade0bbe5
news: Add entry for the linux-libre-lts 6.1 update.
* etc/news.scm: Add entry.
2023-04-07 17:18:18 +02:00
Florian Pelz db4ddd0454
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'guix shell -CW' entry.
2023-04-07 12:16:23 +02:00
Ludovic Courtès 47fe66586e
news: Add entry for 'guix shell --container --nesting'.
* etc/news.scm: Add entry.
2023-04-06 18:34:31 +02:00
Liliana Marie Prikler fe17b667d9
teams: Add Maxim Cournoyer.
* etc/teams.scm.in ("Maxim Cournoyer"): New member.
2023-04-06 07:30:12 +02:00
宋文武 d8eccb6e7b
teams: Add Andreas Enge to lxqt team.
* etc/teams.scm.in ("Andreas Enge"): Add lxqt.
2023-03-30 17:53:16 +08:00
宋文武 6f231e31a3
teams: lxqt: Add qt.scm to scope.
* etc/teams.scm.in (lxqt): Add "gnu/packages/qt.scm" to scope.
2023-03-30 17:51:17 +08:00
Andreas Enge 4ba06192aa
maint: Add icecat to the release manifest.
* etc/release-manifest.scm (%system-packages): Uncomment icecat.
2023-03-30 11:14:53 +02:00
宋文武 6d500ad544
teams: Add Zhu Zihao.
* etc/teams.scm.in: Add Zhu Zihao.
2023-03-28 19:57:43 +08:00
Liliana Marie Prikler e6f29ad0e3
etc: Add gnome team.
* etc/teams.scm.in (gnome): New team.
("Liliana Marie Prikler", "Raghav Gururajan"): Add to gnome.
2023-03-26 07:52:36 +02:00
宋文武 302680dbce
teams: Add 宋文武 to xfce and lxqt teams.
* etc/teams.scm.in ("宋文武"): Add xfce and lxqt.
2023-03-14 17:54:48 +08:00
宋文武 aef9b68ea4
teams: Add Xfce and LXQt teams.
* etc/teams.scm.in (xfce, lxqt): New teams.
2023-03-14 17:54:44 +08:00
Leo Famulari 962277fd43
news: Add entry for the linux-libre 6.2 update.
* etc/news.scm: Add entry.
2023-03-11 11:38:26 -05:00
Liliana Marie Prikler d92ec2f281
etc: Default to variables in tempel's git-reference... et al.
Since we encourage using variables rather than magic hashes in the commit
fields, e.g. (commit version) and (commit commit), the default for
tempel to use quoted strings is rather off.  Thus, let the placeholder reflect
actual usage.

* etc/snippets/tempel/scheme-mode (git-reference...)[commit]: Use field name
as placeholder and don't quote value.
(svn-reference..., bzr-reference...)[revision]: Likewise.
(hg-reference...)[changeset]: Likewise.
2023-03-05 08:17:58 +01:00
Maxim Cournoyer 53e27f8abf
news: Fix commit for the guix pack new RPM format news.
* etc/news.scm: Adjust latest news commit.
2023-02-19 21:57:43 -05:00
Maxim Cournoyer cc0cdf51f7
news: Add entry for the new 'rpm' guix pack format.
* etc/news.scm: Add entry.
2023-02-19 21:13:23 -05:00
Maxim Cournoyer 633ead4afc
etc: Add a news entry snippet.
* etc/snippets/yas/scheme-mode/guix-news-entry: New file.
2023-02-19 21:13:23 -05:00
Maxim Cournoyer 23d56ba150
guix-install.sh: Add GUIX_ALLOW_OVERWRITE environment variable.
The need for this use case appeared when attempting to install Guix on a truly
minimal image made with Buildroot, which lacked enough GNU components that I
had to extract a guix pack to /gnu before attempting installation, which would
then refuse to proceed because of the existing /gnu.

* etc/guix-install.sh: Document environment variables.
(sys_create_store) [GUIX_ALLOW_OVERWRITE]: Skip pre-existing installation
checks and output a warning.  Extract the tarball directly to /.
2023-02-17 02:55:43 +01:00
Ricardo Wurmus 32404757a1
etc: Add TeX team.
* etc/teams.scm.in (tex): New team; add Ricardo to the team.
2023-02-13 10:19:06 +01:00
Simon Tournier c3e61c8c1f
gnu: Rename 'guile-3.0/fixed' to 'guile-3.0/pinned'.
* gnu/packages/guile.scm: Rename variable 'guile-3.0/fixed' to
'guile-3.0/pinned', add deprecation.
* etc/release-manifest.scm (%packages-to-cross-build): Replace
'guile-3.0/fixed' with 'guile-3.0/pinned'.
* gnu/packages/autotools.scm (make-autoconf-wrapper)[inputs]: Likewise.
* gnu/packages/commencement.scm (guile-final): Likewise.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-02-05 06:56:42 +01:00
Florian Pelz 44dcacbb54
news: Fix formatting.
* etc/news.scm: Add backslash to '--with-version' entry.
2023-01-16 21:55:00 +01:00
Florian Pelz 2adfdf5b95
news: Fix 'de' translation.
* etc/news.scm: Add heading.
2023-01-16 21:54:25 +01:00
Thiago Jung Bauermann 2f65b2c1d6
etc: teams: Remove entry for Thiago Jung Bauermann.
* etc/teams.scm.in ("Thiago Jung Bauermann"): Remove member.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-16 11:47:40 -05:00
Ludovic Courtès 2e652e687e
news: Add entry for '--with-version'.
* etc/news.scm: Add entry.

Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de>
2023-01-16 13:42:43 +01:00
Florian Pelz 77a3499600
news: Add 'de' translation.
* etc/news.scm: Add German translation of entry about
linux-libre 6.0 removal.
2023-01-14 12:11:20 +01:00
Leo Famulari 08b454f0e5
news: Add entry about the removal of linux-libre 6.0.
* etc/news.scm: Add entry
2023-01-13 19:11:08 -05:00
Florian Pelz 0e1c17cea4
news: Update 'de', 'fr', 'pt_BR' translation.
* etc/news.scm: Add the usual translations for kernel news.
2023-01-13 12:18:50 +01:00
Leo Famulari fabc048fcf
news: Add entry for the linux-libre 6.1 update.
* etc/news.scm: Add entry.
2023-01-13 00:45:40 -05:00
Vagrant Cascadian 80d9e967e3
teams: Add Vagrant Cascadian.
* etc/teams.scm.in Add Vagrant Cascadian to Reproducible Builds team.
2023-01-10 16:00:52 -08:00
Vagrant Cascadian 67caba5acb
teams: Add Reproducible Builds team.
* etc/teams.scm.in (reproduciblebuilds): New team.
2023-01-10 16:00:37 -08:00
Florian Pelz f62ac25ca3
news: Add 'de' translation.
* etc/news.scm: Add German translation of entry about
linux-libre 4.9 removal.
2023-01-09 18:48:12 +01:00
Leo Famulari 56b56db13e
news: Add entry about the removal of linux-libre 4.9.
* etc/news.scm: Add entry.
2023-01-08 15:49:53 -05:00
Leo Famulari 8be0a97a81
maint: Add missing modules to the kernel manifest.
* etc/kernels-manifest.scm: Add missing modules.
2023-01-06 00:16:06 -05:00
Leo Famulari d07d6ea31a
maint: Add a manifest for everything related to linux-libre.
* etc/kernels-manifest.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2022-12-29 13:51:58 -05:00
Maxim Cournoyer a6b98cdc07
teams: Allow a patch-file argument to cc-members.
* etc/teams.scm.in (git-patch->revisions): New procedure.
(main) [cc-members]: New match pattern to support patch file argument.
[get-maintainer]: Simplify using the newly introduced procedure from above.
(main): Update usage doc.

Series-changes: 2
- New: support passing a patch file to the cc-members command
2022-12-28 15:21:11 -05:00
Maxim Cournoyer 4f5ea195ff
teams: Add a "get-maintainer" command.
This can be used as a compatibility mode with the get_maintainer.pl Perl
script included in the Linux (or U-Boot) source tree.

* etc/teams.scm.in (git-patch->commit-id): New procedure.
(main) <get-maintainer>: Register new command.  Document it.

Series-changes: 2
- Move newline character (~%) in usage output to the bottom
2022-12-28 15:21:10 -05:00
Andrew Tropin 8f93a1e01a
snippets: Remove unwanted git-commit-mode invocation.
We only need to check if git-commit-mode is t, not enable it in all text-mode
buffers.

* etc/snippets/tempel/text-mode: Remove unwanted git-commit-mode invocation.
2022-12-27 12:38:05 +04:00
宋文武 5f6bd3f92d
teams: Add 宋文武.
* etc/team.scm.in: Add 宋文武.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-26 00:40:59 +01:00
宋文武 58d129c460
teams: Add localization.
* etc/teams.scm.in (localization): New team.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-26 00:40:16 +01:00
Ricardo Wurmus afaeb657b1
etc: SELinux: Allow init process to setattr on profile directories.
* etc/guix-daemon.cil.in: Add rule.
2022-12-23 20:20:06 +01:00
Ricardo Wurmus 4a134ed32e
etc: SELinux: Allow daemon to search run state directories.
* etc/guix-daemon.cil.in: Import types init_var_run_t and
system_dbusd_var_run_t; add rules.
2022-12-23 20:20:06 +01:00
Ricardo Wurmus f28d792719
etc: SELinux: Label guix-daemon executable in profile.
* etc/guix-daemon.cil.in: Add file rule for "guix-daemon" in current-guix
profile.
2022-12-23 20:20:06 +01:00
Tobias Geerinckx-Rice 5f3082084d
teams: Add Tobias Geerinckx-Rice.
* etc/teams.scm.in: Add Tobias Geerinckx-Rice.
2022-12-11 01:00:00 +01:00
Maxim Cournoyer 7ce9b7e706
guix-install.sh: Directly exit in case of errors in chk_require.
* etc/guix-install.sh (chk_require): Directly exit in case of errors in
chk_require, instead of relying on 'set -e'.
2022-12-16 00:14:30 -05:00
Maxim Cournoyer 1febafb4af
guix-install.sh: Add missing "useradd" command.
* etc/guix-install.sh: (REQUIRE): Add missing "useradd" command.
2022-12-16 00:14:30 -05:00
Tobias Geerinckx-Rice 6cf6f42334
guix-install.sh: Gracefully fail on | bash.
* etc/guix-install.sh (welcome): Print an error message and a hint if
the first read fails.
2022-12-11 01:00:00 +01:00
Vivien Kraus via Guix-patches via 0ce1f82e5a
news: Fix typos in French text.
* etc/news.scm: Fix typos.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-12-11 10:04:38 +01:00
Julien Lepiller 64e130fc6f
news: Add 'fr' translation.
* etc/news.scm: Add French translation of 'customize-linux' entry.
2022-12-10 22:13:10 +01:00
Tobias Geerinckx-Rice f49682a09e
guix-install.sh: Authorize all project build farms at once.
* etc/guix-install.sh (sys_authorize_build_farms):
Iterate over all hosts.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-12-09 09:46:22 +01:00
Sharlatan Hellseher 3405b2b16c
teams: science: Add modules to the scope.
* etc/teams.scm.in (science): Add algebra, astronomy, geo, chemestry,
maths modules to the scope.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2022-12-09 14:23:32 +08:00
Florian Pelz fc774ece91
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'customize-linux' entry.
2022-12-08 12:22:56 +01:00
Maxim Cournoyer 1aae4e7237
news: Add entry for 'customize-linux'.
* etc/news.scm: Add entry.
2022-12-07 20:08:56 -05:00
Ludovic Courtès 7fde166715
Merge branch 'version-1.4.0' 2022-12-05 15:51:04 +01:00
Ludovic Courtès 1bc9d5222f
maint: Leave 'gcc-toolchain' out for i586-gnu.
This is a temporary measure to work around the fact that we're currently
lacking the necessary CPU power and human power to build everything up
to 'gcc-toolchain'.

* etc/release-manifest.scm (%base-packages/hurd): Comment out
"gcc-toolchain" for now.
2022-11-28 13:51:51 +01:00
Philip McGrath 5a7e496c5d
etc: teams: Add chez.scm to Racket team's scope.
Racket's variant of Chez Scheme is defined in that file.

* etc/teams.scm.in (racket)[#:scope]: Add gnu/packages/chez.scm.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-12-02 00:02:12 +01:00
Morgan Smith fcb59fe24a
snippets: yas: Add snippets for vc.el
* etc/snippets/yas/log-edit-mode/guix-vc-commit-message-add-package:
* etc/snippets/yas/log-edit-mode/guix-vc-commit-message-remove-package:
* etc/snippets/yas/log-edit-mode/guix-vc-commit-message-rename-package:
* etc/snippets/yas/log-edit-mode/guix-vc-commit-message-update-package:
* etc/snippets/yas/log-edit-mode/guix-vc-commit-message-use-https-home-page:
New file

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-28 23:34:15 +01:00
Maxim Cournoyer 6aa5d1dc24
guix-install.sh: Expand mktemp template for busybox compatibility.
Fixes <https://issues.guix.gnu.org/58858>.

* etc/guix-install.sh (main): Use 6 'X' characters in the template, as this is
the minimum required by Busybox's mktemp (which matches glibc's mktemp
behavior).

Reported-by: conses <contact@conses.eu>
2022-11-16 16:23:15 -05:00
Florian Pelz 706a916056
news: Add 'de' translation.
* etc/news.scm: Add German translation of '--symlink' entry.
2022-11-16 09:08:44 +01:00
Maxim Cournoyer 8f9588185d
news: Add entry for 'guix shell --symlink'.
* etc/news.scm: Add entry.
2022-11-15 14:40:53 -05:00
Maxim Cournoyer b538ccc208
etc/news.scm: Normalize indentation.
* etc/news.scm: Normalize indentation.
2022-11-15 14:38:28 -05:00
Prafulla Giri 775134ebf5
guix-install.sh: Remove unnecessary XDG_DATA_DIRS export.
This started out as a bug-fix for a GUI login loop that was resulting from XDG_DATA_DIRS
not including any of the host distro's directories. The solution was to export the vari-
able (with fail-safe defaults) before source-ing GUIX_PROFILE/etc/profile. It turns out
changes have already been made to ensure that XDG_DATA_DIRS, etc. are always exported
before anything guix-specific. So, this export is no longer necessary.

For reference, the aforementioned bug was found on a Debian 11 machine and it's guix.sh
init profile for guix version 1.2.

* etc/guix-install.sh (sys_create_init_profile): Remove unnecessary
XDG_DATA_DIRS export.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2022-11-14 10:25:45 +08:00
Raghav Gururajan 01aa6e0454
teams: Add Raghav Gururajan.
* etc/teams.scm.in: Add Raghav Gururajan.
2022-11-12 04:09:40 -05:00
Raghav Gururajan 3c62b03798
Revert "teams: Add Raghav Gururajan."
This reverts commit 56aebf7f7c.
2022-11-12 03:49:39 -05:00
Raghav Gururajan 56aebf7f7c
teams: Add Raghav Gururajan.
* etc/teams.scm.in: Add Raghav Gururajan.
2022-11-12 03:43:15 -05:00
zimoun 18fb7c0f30
etc: teams: List teams sorted by id.
* etc/teams.scm.in (list-teams): Sort teams by id.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-11-09 17:15:43 +01:00
zimoun ab9e6597f6
etc: teams: List members sorted by name.
* etc/teams.scm.in (list-members): Sort by name.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-11-09 17:09:42 +01:00
Konrad Hinsen 93be56a3ab
guix-install.sh: Run guix.sh script in /etc/profile.d last.
* etc/guix-install.sh: Rename /etc/profile.d/guix.sh to zzz-guix.sh.

This script refers to environment variables set by the host distribution.
They may be set in other scripts in /etc/profile.d, which must therefore
be run first.
Example: in Ubuntu 20.04, XDG_DATA_DIRS is set in
/etc/profile.d/xdg_dirs_desktop_session.sh

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-11-08 10:55:54 +01:00
Florian Pelz d41ea236bf
news: Update 'de', 'fr', 'pt_BR' translation.
* etc/news.scm: Add the usual translations for kernel news.
2022-11-07 09:57:25 +01:00
Leo Famulari 4a34da845e
news: Add entry about the update of the 'linux-libre' package.
* etc/news.scm: Add entry.
2022-11-06 17:40:58 -05:00
jgart 0e9e83d821
etc: teams: Add pyproject-build-system to python scope.
* etc/teams.scm.in (python): Add guix/build/pyproject-build-system.scm and
guix/build-system/pyproject.scm to python team's scope.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-06 15:11:21 +01:00
Thiago Jung Bauermann 64e9190a87
news: Add 'pt' translation.
* etc/news.scm: Add Portuguese translation of entry about
pyproject-build-system.

Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2022-11-05 23:28:26 +01:00
Antero Mejr 7a4f858f39
etc: teams: Add help information for commands.
* etc/teams.scm.in (main): Add command information to usage help prompt.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-03 17:26:52 +01:00
Tobias Geerinckx-Rice 068f1a1905
etc: systemd services shouldn't ‘RemainAfterExit’.
* etc/guix-daemon.service.in (RemainAfterExit): Don't.
* etc/guix-publish.service.in (RemainAfterExit): Likewise don't.
2022-10-23 02:00:26 +02:00
Tobias Geerinckx-Rice 0f6ec662f6
etc: Add ‘Restart=always’ to both systemd services.
* etc/guix-daemon.service.in (Restart): ‘Always’ do.
* etc/guix-publish.service.in (Restart): Likewise.
2022-10-23 02:00:25 +02:00
Tobias Geerinckx-Rice f16d91295a
etc: Add ‘OOMPolicy=continue’ to guix-daemon.service.
* etc/guix-daemon.service.in (OOMPolicy): Continue.
2022-10-23 02:00:00 +02:00
Marius Bakke a4fd4db6d1
news: Add entry for 'pyproject-build-system'.
* etc/news.scm: Add entry.

Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de>
Co-authored-by: Julien Lepiller <julien@lepiller.eu>
2022-10-27 19:43:07 +02:00
Christopher Baines be9b213c75
maint: Tweak release manifest special case for armhf-linux.
Don't remove the emacs package, as it does build and substitutes are
available. Do remove the guix package though, as it doesn't build due to Guile
memory issues while compiling the package modules.

* etc/release-manifest.scm (%base-packages/armhf): Don't replace the emacs
package, remove the guix package.
(%base-manifest): Remove FIXME comment as %base-packages/armhf doesn't relate
to build power.
2022-10-25 10:10:06 +01:00
Liliana Marie Prikler 85aff4de30
snippets: Harden for review activity.
When reviewing patches, whose commit logs don't follow the structure outlined
in “Submitting Patches”, a reviewer might be tempted to use snippets to
rewrite them.  This makes it so that their attempt, while not immediately
succeeding, isn't completely thwarted.

* etc/snippets/tempel/text-mode (add\ , remove\ , rename\ , update\ )
(addcl\ , https\ ): Use an empty "p" field if (car (magit-staged-files))
fails.
2022-10-22 14:16:13 +02:00
Tobias Geerinckx-Rice 0d2ad16c07
guix-install.sh: Cosmetically tweak non-interactive output.
Avoid printing

  Press return to continue...[1666352494.051]: Starting installation…
  [1666352648.869]: …

when the return itself wasn't echoed on the console.

* etc/guix-install.sh (welcome): Add a carriage return to the prompt,
so that the next line of output may overwrite it.
2022-10-16 02:00:29 +02:00
Tobias Geerinckx-Rice a326e3085d
guix-install.sh: Warn if we suspect dodgy automation.
This doesn't affect the installation (yet), but reserves the right to
default to safe values other than ‘y’ in future.

* etc/guix-install.sh (welcome): Warn if the ‘return’ wasn't.
2022-10-16 02:00:28 +02:00
Tobias Geerinckx-Rice 1e8e84b286
guix-install.sh: Treat all uncaught errors as fatal.
* etc/guix-install.sh: Set -o pipefail.
2022-10-16 02:00:28 +02:00
Tobias Geerinckx-Rice 54c0b5c457
guix-install.sh: Suggest what to do if fetching OpenPGP key(s) fails.
* etc/guix-install.sh (chk_gpg_keyring): Report an _err and set the
exit_flag if wget | gpg --import fails.
2022-10-16 02:00:28 +02:00
Tobias Geerinckx-Rice 9a0a786c25
guix-install.sh: Time out fetching OpenPGP keys.
The default 900s provide no useful backstop in interactive use.

* etc/guix-install.sh (chk_gpg_keyring): Add a 30s wget --timeout.
2022-10-16 02:00:28 +02:00
Thiago Jung Bauermann 6f7b44e42e
news: Add 'pt' translation.
* etc/news.scm: Add Portuguese translation of entry about the new
--emulate-fhs option.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-10-17 07:32:47 +02:00
Florian Pelz 759d365cd2
news: Add 'de' translation.
* etc/news.scm: Add German translation of '--emulate-fhs' entry.
2022-10-14 12:37:15 +02:00
Ludovic Courtès 2c11e857af
news: Add entry for 'guix shell --emulate-fhs'.
* etc/news.scm: Add entry.
2022-10-13 09:34:15 +02:00
Maxim Cournoyer e46bb5fd5a
guix-install.sh: Restore compatibility with "yes" invocation.
Commit 6a2e303d3a had modified prompt_yes_no to only read a single character,
aiming to ease the user experience.  This was, in retrospect, a bad idea, as
it makes user input error more likely and introduces complexity.

This commit reverts to line-oriented input, while preserving the default yes
value so that a user can simply hit 'Enter' at the prompt in place of typing
"yes".

* etc/guix-install.sh (_flush): Delete function.
(prompt_yes_no): Restore line-oriented read.  Remove loop.  Make anything else
than yes means no.  Use Bash features to streamline definition.

Reported-by: Lars-Dominik Braun <lars@6xq.net> and others.
2022-10-11 12:00:44 -04:00
Maxim Cournoyer 9ca0f9e5a9
guix-install.sh: Add Bash prompt customization option.
Fixes <https://issues.guix.gnu.org/55484>.

* etc/guix-install.sh (sys_customize_bashrc): New function.
(main): Use it.
2022-10-07 08:25:40 -04:00
Maxim Cournoyer 231e5f29ae
guix-install.sh: Introduce 'die' utility function.
* etc/guix-install.sh (die): New function.
(chk_sys_arch): Use it.
(guix_get_bin_list, guix_get_bin, sys_create_store): Likewise.
2022-10-07 08:20:33 -04:00
Maxim Cournoyer 6a2e303d3a
guix-install.sh: Improve prompt_yes_no procedure.
* etc/guix-install.sh (_flush): New function.
(prompt_yes_no): Clear input, then only read the first character, silently.
Add the [Yes/no] string to the message.  When a newline is entered by the
user, treat it as the default value, which is "yes".
(chk_gpg_keyring): Remove "(yes/no)" from the prompt message.
(configure_substitute_discovery): Likewise.
(sys_authorize_build_farms): Likewise.
2022-10-07 01:23:05 -04:00
Liliana Marie Prikler 5e63e51afe
snippets: Fix move.
The current move is never correct.  It flip-flops between car and cadr for
the destination.  Since the position of the destination is not actually a
fixed point in the list of changes, use a more robust method of inferring it.

* etc/snippets/tempel/text-mode (move\ ): Infer source and destination from
washed diffs.  Process new module before destination.
2022-10-06 21:16:46 +02:00
Liliana Marie Prikler da281417cc
snippets: tempel: Reformat.
This makes it so that ‘indent-region’ and ‘delete-trailing-whitespace’ do not
change the file.

* etc/snippets/tempel/text-mode: Reformat.
2022-10-06 21:16:46 +02:00
Liliana Marie Prikler 980c34853e
snippets: tempel: Fix calls to mapconcat.
* etc/snippets/tempel/text-mode (update\ ,https\ ): Add "\n" as separator
argument to mapconcat.
2022-10-06 21:16:45 +02:00
Thiago Jung Bauermann aeaabc4253
news: Add 'pt' translation.
* etc/news.scm: Add Portuguese translation of entry about the --with-source
option being recursive.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-10-03 16:23:16 +02:00
Thiago Jung Bauermann ee8211a62c
etc: teams: Add news.scm to translations team scope.
* etc/teams.scm.in (translations)[#:scope]: Add etc/news.scm.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-10-03 15:33:29 +02:00
Florian Pelz 0dec41f329
news: Add 'de' translation.
* etc/news.scm: Add German translation of '--with-source' entry.
2022-10-01 00:55:28 +02:00
Jesse Gibbons 4244f5e9a7
news: Add entry for '--with-source'.
* etc/news.scm: Add entry.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-09-29 23:10:25 +02:00
zimoun ea49070a36
teams: Add Simon Tournier.
* etc/teams.scm.in: Add Simon Tournier.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-28 09:03:22 +02:00
( 8710f01e04
etc: teams: Add (.
* etc/teams.scm.in: Add (.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-28 09:03:22 +02:00
( fb9f51a81f
etc: teams: Add more scopes to teams.
* etc/teams.scm.in (r, julia, ruby, go, rust, kernel, translations,
  home, mozilla, racket): Add scopes.
(emacs)[scope]: Add ``guix import elpa''-related files.
(installer)[scope]: Correct ``guix/installer'' to ``gnu/installer''.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-28 09:03:22 +02:00
Thiago Jung Bauermann e122c7b834
news: Add 'pt' translation.
* etc/news.scm: Add Portuguese translation of entries about WSL system images
and about Guix System image API documentation.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-28 09:03:22 +02:00
pukkamustard f5ffaacd55
teams: Add pukkamustard.
* etc/teams.scm.in: Add pukkamustard.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-27 08:42:51 +02:00