Commit Graph

648 Commits

Author SHA1 Message Date
Maxim Cournoyer 889a6204f8
doc: Add some guidelines for reviewing.
* doc/contributing.texi (Contributing) [Reviewing the Work of Others]: New
section.
(Debbugs Usertags): Expound with Emacs Debbugs information and document the
'reviewed-looks-good' usertag.
* etc/git/gitconfig [b4]: New section.

Change-Id: I56630b15ec4fbc5c67e5420dbf2838556a005d6b
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2023-11-07 12:33:25 -05:00
Efraim Flashner e0f28301f0
fish completion: Fix typos.
* etc/completion/fish/guix.fish (__fish_guix_needs_command): Fix
spelling of specified.
(__fish_guix_using_command): Fix spelling of specified.

Change-Id: Ieac612da8cd2a7a1c44c5a54c57574ce2b8d8bd4
2023-11-07 18:07:08 +02:00
Maxim Cournoyer a96f1c1bc0
teams.scm: Add file-local variable prop line for the mode.
This tells Emacs to use the scheme-mode to edit the file.

* etc/teams.scm (mode): New file-local variable.

Change-Id: I9a48f552e831317402673d95cf6c1de506d388b5
2023-11-01 12:24:29 -04:00
Gabriel Wicki 9291370344
teams: Add myself to audio team.
Message-ID: <cfad42ecdcd190893699ef28d42b35b706729bcd.1698355699.git.gabriel@erlikon.ch>
In-Reply-To: <81d0877b2cb39164563dfbf2c551f1c99aad75ed.1698355699.git.gabriel@erlikon.ch>
References: <81d0877b2cb39164563dfbf2c551f1c99aad75ed.1698355699.git.gabriel@erlikon.ch>
From: Gabriel Wicki <gabriel@erlikon.ch>
Date: Tue, 2 May 2023 16:47:41 +0200
Subject: [PATCH 2/2] teams: Add Gabriel Wicki.

* etc/teams.scm.in ("Gabriel Wicki"): New member.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-27 12:13:09 +02:00
Gabriel Wicki e7c8bdac93
teams: Add audio team.
Message-ID: <81d0877b2cb39164563dfbf2c551f1c99aad75ed.1698355699.git.gabriel@erlikon.ch>
From: Gabriel Wicki <gabriel@erlikon.ch>
Date: Tue, 2 May 2023 16:38:15 +0200
Subject: [PATCH 1/2] teams: Add audio team.

* etc/teams.scm.in (audio): Add team.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-27 12:13:09 +02:00
Maxim Cournoyer 4cf4dcb8b3
teams: Adjust shebang to use 'guix repl'.
This ensures the correct Guix dependencies are always available for the
script.

* etc/teams.scm.in: Rename to...
* etc/teams.scm: ... this.  Adjust shebang.
* .gitignore: No longer ignore it.
* configure.ac: Do not process it with AC_CONFIG_FILES.

Reported-by: Clément Lassieur <clement@lassieur.org>
Fixes: https://issues.guix.gnu.org/66605
Change-Id: I7a01750c6c5f0696b6c36b1e6caa9389d9e6822c
2023-10-22 20:35:15 -04:00
Maxim Cournoyer fb3707762d
etc: teams: Parse 'From' commit more leniently.
When a Change-Id is used, patman prepends a Message-Id field on the first line
of the patch, which broke the assumption that the 'From $commit' line must
appear on the first line.

* etc/teams.scm.in (git-patch->commit-id): Loop each line of the file until a
match is found.  Update doc.

Series-to: 66027@debbugs.gnu.org
Series-version: 3
Series-changes: 3
 - New commit
Series-cc: Giovanni Biscuolo <g@xelera.eu>, Simon Tournier <zimon.toutoune@gmail.com>
Change-Id: I20400f87469ffb761ffc82dd32e34cd06f619043
2023-10-22 16:09:05 -04:00
Maxim Cournoyer 8005e09b26
build: Add a commit-msg hook that embeds Change-Id in commit messages.
Partially implements <https://issues.guix.gnu.org/66027>.

This will make it possible to track a merged commit back to its original
posting on the mailing list, and open the door to new opportunities such as
closing fully merged series automatically.

* Makefile.am (COMMIT_MSG_MAGIC): New variable.
(.git/hooks/commit-msg): New target.
* etc/git/commit-msg: New file.
* doc/contributing.texi (Configuring Git): Document Change-Id.

Series-changes: 3
 - Clarify documentation text, as suggested by Simon
Change-Id: Ia92fa958eae600fdd4e180bad494c85db8bb4dd6
Reviewed-by: Simon Tournier <zimon.toutoune@gmail.com>
2023-10-22 16:09:04 -04:00
Ekaitz Zarraga e011961f99
build-system: Add zig-build-system.
* guix/build-system/zig.scm: New file.
* guix/build/zig-build-system.scm: New file.
* Makefile.am: Add them.
* doc/guix.texi: Document it.
* etc/snippets/yas/scheme-mode/guix-package (build-system): Add
  zig-build-system.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-21 00:27:25 +02:00
Liliana Marie Prikler ef026e68fe
etc: snippets: Do not match unintended quotes.
* etc/snippets/tempel/scheme-mode (origin): Unquote ‘git-fetch’, ‘svn-fetch’,
‘hg-fetch’, ‘cvs-fetch’, and ‘bzr-fetch’.  Use ‘otherwise’ instead of ‘t’.
2023-10-15 12:28:19 +02:00
Ludovic Courtès aa65f31ed2
disarchive-manifest: Add one manifest entry per tarball.
This works around a situation where ‘cuirass remote-worker’ now builds
with max-jobs = 1 (Cuirass commit
980ef610989895be5ac2ba7f9d1901e5c7f22934).  The effect is that all
.dis.drv would be performed sequentially, on a single machine (‘cuirass
remote-server’ is unable to distribute those derivations to several
machines because it only “sees” the ‘disarchive-collection’ derivation).
This would take a lot of time and force a rebuild of all of *.dis.drv
every time because their build results would not be retrieved by the
‘remote-server’ process.

* etc/disarchive-manifest.scm (disarchive-collection): Remove.
<top level>: Define ‘disarchives’.  Append it to the entries of the
manifest.
2023-10-08 23:43:49 +02:00
Florian Pelz 18b4db357b
news: Add 'de' translation.
* etc/news.scm: Add German translation of offloading entry.
2023-10-03 14:07:29 +02:00
Florian Pelz 2503376827
news: Fix typo.
* etc/news.scm: Fix typo in the English text on offloading.
2023-10-03 14:07:08 +02:00
Ludovic Courtès b9fae146d6
news: Add entry for declarative offloading.
* etc/news.scm: Add entry.
2023-10-01 23:01:34 +02:00
Munyoki Kilyungi e34257159d
teams: Add Munyoki Kilyungi to the python and lisp teams.
* etc/teams.scm.in: Add Munyoki Kilyungi to the Python and Lisp teams.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-09-28 19:18:29 +03:00
Ricardo Wurmus 670fc6ee50
etc/committer: Speed up surrounding-sexp.
The old surrounding-sexp procedure would read all S-expressions from the
beginning of the file up to the given line number and then return the last
encountered S-expression.  This is quite wasteful.  Instead we can record all
lines that begin with an S-expression and jump straight to the offset closest
to the desired line number to read the S-expression there.

* etc/committer.scm.in (lines+offsets-with-opening-parens): New procedure.
(surrounding-sexp): Use it.
2023-09-24 13:49:53 +02:00
Ricardo Wurmus 5027bc19d8
etc/committer: Avoid reading original files more than once.
* etc/committer.scm.in (%original-file-cache): New variable.
(read-original-file): New procedure.
(read-original-file*): New procedure.
(old-sexp): Use it.
2023-09-24 13:49:53 +02:00
Ricardo Wurmus 10c6387f5b
etc/committer: Do not record positions when reading from git files.
This gives us a slight performance boost.

* etc/committer.scm.in (main): Disable recording of positions.
2023-09-24 13:49:53 +02:00
Ricardo Wurmus 0836af9a3b
etc/committer: Do not recompute changes when there are no definitions.
* etc/committer.scm.in (main): Reuse previously computed changes if there are
no changes to the number of definitions.
2023-09-24 13:49:53 +02:00
Marius Bakke 86507c96ed
teams: Add self to 'python'.
* etc/teams.scm.in (Marius Bakke): New person.
2023-09-22 01:42:34 +08:00
Janneke Nieuwenhuizen 7841a624f0
maint: Add gdk-pixbuf to native Hurd manifest.
Gdk-pixbuf is a dependency for `guix system reconfigure' and currently also
needs an unreleased glibc patch in order to build.

* etc/hurd-manifest.scm: Add gdk-pixbuf to manifest.
2023-09-19 07:26:56 +02:00
Ludovic Courtès a4c35c607c
time-travel-manifest: Comment out versions older than 1.3.0 for now.
* etc/time-travel-manifest.scm (%release-commits): Comment out revisions
older than 1.3.0.
2023-09-09 19:36:05 +02:00
Ludovic Courtès d4bd5bc799
time-travel-manifest: Add 1.4.0.
* etc/time-travel-manifest.scm (%release-commits): Add 1.4.0.
2023-09-09 19:33:31 +02:00
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