summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2022-10-22snippets: Harden for review activity.Liliana Marie Prikler
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-16guix-install.sh: Cosmetically tweak non-interactive output.Tobias Geerinckx-Rice
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-16guix-install.sh: Warn if we suspect dodgy automation.Tobias Geerinckx-Rice
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-16guix-install.sh: Treat all uncaught errors as fatal.Tobias Geerinckx-Rice
* etc/guix-install.sh: Set -o pipefail.
2022-10-16guix-install.sh: Suggest what to do if fetching OpenPGP key(s) fails.Tobias Geerinckx-Rice
* etc/guix-install.sh (chk_gpg_keyring): Report an _err and set the exit_flag if wget | gpg --import fails.
2022-10-16guix-install.sh: Time out fetching OpenPGP keys.Tobias Geerinckx-Rice
The default 900s provide no useful backstop in interactive use. * etc/guix-install.sh (chk_gpg_keyring): Add a 30s wget --timeout.
2022-10-17news: Add 'pt' translation.Thiago Jung Bauermann
* etc/news.scm: Add Portuguese translation of entry about the new --emulate-fhs option. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-10-14news: Add 'de' translation.Florian Pelz
* etc/news.scm: Add German translation of '--emulate-fhs' entry.
2022-10-13news: Add entry for 'guix shell --emulate-fhs'.Ludovic Courtès
* etc/news.scm: Add entry.
2022-10-11guix-install.sh: Restore compatibility with "yes" invocation.Maxim Cournoyer
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-07guix-install.sh: Add Bash prompt customization option.Maxim Cournoyer
Fixes <https://issues.guix.gnu.org/55484>. * etc/guix-install.sh (sys_customize_bashrc): New function. (main): Use it.
2022-10-07guix-install.sh: Introduce 'die' utility function.Maxim Cournoyer
* 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-07guix-install.sh: Improve prompt_yes_no procedure.Maxim Cournoyer
* 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-06snippets: Fix move.Liliana Marie Prikler
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-06snippets: tempel: Reformat.Liliana Marie Prikler
This makes it so that ‘indent-region’ and ‘delete-trailing-whitespace’ do not change the file. * etc/snippets/tempel/text-mode: Reformat.
2022-10-06snippets: tempel: Fix calls to mapconcat.Liliana Marie Prikler
* etc/snippets/tempel/text-mode (update\ ,https\ ): Add "\n" as separator argument to mapconcat.
2022-10-03news: Add 'pt' translation.Thiago Jung Bauermann
* 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-03etc: teams: Add news.scm to translations team scope.Thiago Jung Bauermann
* etc/teams.scm.in (translations)[#:scope]: Add etc/news.scm. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-10-01news: Add 'de' translation.Florian Pelz
* etc/news.scm: Add German translation of '--with-source' entry.
2022-09-29news: Add entry for '--with-source'.Jesse Gibbons
* etc/news.scm: Add entry. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-09-28teams: Add Simon Tournier.zimoun
* etc/teams.scm.in: Add Simon Tournier. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-28etc: teams: Add (.(
* etc/teams.scm.in: Add (. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-28etc: 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-28news: Add 'pt' translation.Thiago Jung Bauermann
* 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-27teams: Add pukkamustard.pukkamustard
* etc/teams.scm.in: Add pukkamustard. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-27teams: Add Josselin Poiret.Josselin Poiret
* etc/teams.scm.in: Add Josselin Poiret. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-26etc: Add tempel snippet move.Nicolas Graves
* etc/snippets/tempel/text-mode (move\): New entry. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-26news: Add another 'de' translation.Florian Pelz
* etc/news.scm: Add German translation of images API entry.
2022-09-26news: Add 'de' translation.Florian Pelz
* etc/news.scm: Add German translation of WSL images entry.
2022-09-26etc: teams: Add description and scope for lisp team.Guillaume Le Vaillant
* etc/teams.scm.in (lisp): Add description and scope fields.
2022-09-25etc: teams: Give games a scope.Liliana Marie Prikler
* etc/teams.scm.in (games)[#:name]: Change to “Games and Toys”. [#:description, #:scope]: New fields.
2022-09-25etc: teams: Add description and scope for emacs.Liliana Marie Prikler
* etc/teams.scm.in (emacs): Add #:description and #:scope.
2022-09-25etc: teams: Define Java team scope.Julien Lepiller
* etc/teams.scm.in (java): Define it.
2022-09-25etc: teams: Define OCaml team scope.Julien Lepiller
* etc/teams.scm.in (ocaml): Define it.
2022-09-25news: Add entry about image API documentation.Mathieu Othacehe
* etc/news.scm: Add entry.
2022-09-25news: Add entry about WSL images.Mathieu Othacehe
* etc/news.scm: Add entry.
2022-09-25etc: teams: Define python team scope.Lars-Dominik Braun
* etc/teams.scm.in (python): Define it.
2022-09-25etc: teams: Define haskell team scope.Lars-Dominik Braun
* etc/teams.scm.in (haskell): Define it.
2022-09-25etc: installer: Define installer team scope.Mathieu Othacehe
* etc/teams.scm.in (installer): Define it.
2022-09-25etc: teams: Define core team scope.Mathieu Othacehe
* etc/teams.scm.in (core): Define it.
2022-09-25etc: teams: Add regular expression support to scopes.Liliana Marie Prikler
* 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-25etc: teams: Add scope support.Mathieu Othacehe
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-14etc: teams: Add entry for Andrew Tropin.Andrew Tropin
* etc/teams.scm.in ("Andrew Tropin"): New member.
2022-09-12news: Fix 'de' translation.Florian Pelz
Follow-up to 23b50ddbdbcee0dac1bc05f12374043d6f215b00. * etc/news.scm: Fix punctuation. Use the same terminology as the German manual.
2022-09-12news: Fix en dash usage.Thiago Jung Bauermann
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-12news: Add 'pt' translation.Thiago Jung Bauermann
* etc/news.scm: Add Portuguese translation of entry about Emacs native compilation. Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2022-09-11news: Fix entry.Guillaume Le Vaillant
* etc/news.scm: Fix commit field.
2022-09-11news: Add entry about Emacs native compilation.Liliana Marie Prikler
* etc/news.scm: Add entry.
2022-09-10news: Add 'de' translation.Florian Pelz
* etc/news.scm: Add German translation of update of 'linux-libre' entry.
2022-09-09etc: teams: Add entry for Guillaume Le Vaillant.Guillaume Le Vaillant
* etc/teams.scm.in ("Guillaume Le Vaillant"): New member.