Commit graph

505 commits

Author SHA1 Message Date
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
Josselin Poiret
b4de11b5dc
teams: Add Josselin Poiret.
* etc/teams.scm.in: Add Josselin Poiret.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-27 08:40:48 +02:00
Nicolas Graves
b6274a20e8
etc: Add tempel snippet move.
* etc/snippets/tempel/text-mode (move\): New entry.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-26 23:29:36 +02:00
Florian Pelz
9e4164c6ff
news: Add another 'de' translation.
* etc/news.scm: Add German translation of images API entry.
2022-09-26 13:18:34 +02:00
Florian Pelz
5602eaeacb
news: Add 'de' translation.
* etc/news.scm: Add German translation of WSL images entry.
2022-09-26 13:14:49 +02:00
Guillaume Le Vaillant
bc072c9a57
etc: teams: Add description and scope for lisp team.
* etc/teams.scm.in (lisp): Add description and scope fields.
2022-09-26 11:10:24 +02:00
Liliana Marie Prikler
1f63c5709c
etc: teams: Give games a scope.
* etc/teams.scm.in (games)[#:name]: Change to “Games and Toys”.
[#:description, #:scope]: New fields.
2022-09-25 20:55:38 +02:00
Liliana Marie Prikler
2300e3148a
etc: teams: Add description and scope for emacs.
* etc/teams.scm.in (emacs): Add #:description and #:scope.
2022-09-25 20:21:36 +02:00
Julien Lepiller
bfa723ba10
etc: teams: Define Java team scope.
* etc/teams.scm.in (java): Define it.
2022-09-25 14:40:01 +02:00
Julien Lepiller
13cf9ebe84
etc: teams: Define OCaml team scope.
* etc/teams.scm.in (ocaml): Define it.
2022-09-25 14:39:36 +02:00
Mathieu Othacehe
6ab5106645
news: Add entry about image API documentation.
* etc/news.scm: Add entry.
2022-09-25 13:52:19 +02:00
Mathieu Othacehe
13f469744b
news: Add entry about WSL images.
* etc/news.scm: Add entry.
2022-09-25 13:40:10 +02:00
Lars-Dominik Braun
9943bbfaa1
etc: teams: Define python team scope.
* etc/teams.scm.in (python): Define it.
2022-09-25 12:42:11 +02:00
Lars-Dominik Braun
b6aef666d9
etc: teams: Define haskell team scope.
* etc/teams.scm.in (haskell): Define it.
2022-09-25 12:42:11 +02:00
Mathieu Othacehe
2e0fa826c9
etc: installer: Define installer team scope.
* etc/teams.scm.in (installer): Define it.
2022-09-25 09:27:59 +02:00
Mathieu Othacehe
7ca846c8c9
etc: teams: Define core team scope.
* etc/teams.scm.in (core): Define it.
2022-09-25 09:27:59 +02:00
Liliana Marie Prikler
b1a7a5723b
etc: teams: Add regular expression support to scopes.
* etc/teams.scm (find-teams-by-scope): Differentiate between raw strings
and regexps.  Make raw string matches strict.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-25 09:27:59 +02:00
Mathieu Othacehe
2a66304535
etc: teams: Add scope support.
Add a scope list to each team.  This list defines all the files and
directories that are mentored by the team.

Also add a cc-members command that takes two Git revision strings as input,
add returns the members that should be CC'ed given the files impacted between
the two revisions.

* etc/teams.scm.in (<team>)[scope]: New field.
(team, list-teams): Adapt those procedures.
(find-team-by-scope, diff-revisions): New procedures.
(main): Add a "cc-members" command.
* doc/contributing.texi ("Teams"): Document it.
("Sending a Patch Series"): Adapt it.
2022-09-25 09:27:59 +02:00
Andrew Tropin
f64825730f
etc: teams: Add entry for Andrew Tropin.
* etc/teams.scm.in ("Andrew Tropin"): New member.
2022-09-14 18:25:10 +03:00
Florian Pelz
631d893023
news: Fix 'de' translation.
Follow-up to 23b50ddbdb.

* etc/news.scm: Fix punctuation.  Use the same terminology
as the German manual.
2022-09-12 22:09:12 +02:00
Thiago Jung Bauermann
23b50ddbdb
news: Fix en dash usage.
The en dash is used to separate pairs of words or numbers. The em dash is the
one used to separate sentences. In addition, in English text we are using the
convention of not separating the dash with spaces.

* etc/news.scm: Change the en dash to em in entry about Emacs native
compilation.

Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2022-09-12 19:16:24 +02:00