Commit graph

541 commits

Author SHA1 Message Date
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