Commit graph

651 commits

Author SHA1 Message Date
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
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
Thiago Jung Bauermann 032068a96c
news: Add 'pt' translation.
* etc/news.scm: Add Portuguese translation of entry about Emacs native
compilation.

Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2022-09-12 18:42:17 +02:00
Guillaume Le Vaillant 6c6eba3f1a
news: Fix entry.
* etc/news.scm: Fix commit field.
2022-09-11 16:04:20 +02:00
Liliana Marie Prikler d48c2c7df3
news: Add entry about Emacs native compilation.
* etc/news.scm: Add entry.
2022-09-11 15:46:32 +02:00
Florian Pelz 6ee40c3d99
news: Add 'de' translation.
* etc/news.scm: Add German translation of update of 'linux-libre' entry.
2022-09-10 21:52:18 +02:00
Guillaume Le Vaillant de257d1ffc
etc: teams: Add entry for Guillaume Le Vaillant.
* etc/teams.scm.in ("Guillaume Le Vaillant"): New member.
2022-09-09 18:00:12 +02:00
Julien Lepiller 1d690f7d1d
news: Update 'fr' translation.
* etc/news.scm: Add French translation to kernel news.
2022-09-09 06:50:54 +02:00
Thiago Jung Bauermann via Guix-patches via 0a875c62d8
news: Add 'pt' translation.
* etc/news.scm: Add Portuguese translation of entry about the update of the
'linux-libre' package.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-09-09 06:42:40 +02:00
Leo Famulari dc9a0bb8b2
news: Add entry about the update of the 'linux-libre' package.
* etc/news.scm: Add entry.
2022-09-05 23:26:00 -04:00
Philip McGrath b8a6f6b40d
etc: teams: Add entry for Philip McGrath.
* etc/teams.scm.in ("Philip McGrath"): New member.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:11 +02:00
Philip McGrath 59b0cc6866
etc: teams: Add racket team.
* etc/teams.scm.in (racket): New team.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:11 +02:00
Ludovic Courtès fe149b01d0
maint: Ignore cross-compilation to x86.
This is consistent with what's done by 'cross-jobs' in (gnu ci).

* etc/release-manifest.scm (%cross-manifest): Remove "x86_64-linux-gnu"
and "i686-linux-gnu" from the list returned by 'targets'.
2022-09-01 18:31:26 +02:00
Nicolas Graves 47c11772df
etc: Update yasnippet build system list.
* etc/snippets/yas/scheme-mode/guix-package (build-system): Add
chicken-build-system, minetest-build-system, rebar-build-system
and renpy-build-system.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-30 11:50:15 +02:00
Nicolas Graves 0928b82070
etc: Add tempel snippet for :phases.
* etc/snippets/tempel/scheme-mode (:phases, add-before\ , add-after\ )
(replace\ ): New snippets.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-30 11:50:15 +02:00
Nicolas Graves c4acaf4120
etc: Add tempel snippets.
* etc/snippets/tempel/scheme-mode: New file.
* etc/snippets/tempel/text-mode: New file.
* etc/snippets/scheme-mode: Moved from here...
* etc/snippets/yas/scheme-mode: ... to here.
* etc/snippets/text-mode: Moved from here...
* etc/snippets/yas/text-mode: ... to here.
* doc/contributing.texi ("The Perfect Setup"): Adjust yasnippet setup
accordingly.  Add tempel setup.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-30 11:50:14 +02:00
Mathieu Othacehe 845c841e21
time-travel-manifest: Use a separate cache per system.
* etc/time-travel-manifest.scm (<guix-instance-compiler>): Use a separate
cache per system so that parallel system evaluations do no step on each
other's toes.
2022-08-17 15:42:56 +02:00
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