me
/
guix
Archived
1
0
Fork 0
Commit Graph

633 Commits (670fc6ee50a2882fba8004de7d9d24e80459add2)

Author SHA1 Message Date
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
Ludovic Courtès 3bf612eaa1
etc: SELinux: Update policy file.
Tested on Rocky Linux 9, as discussed
at <https://issues.guix.gnu.org/62487>.

* etc/guix-daemon.cil.in: Add rules for /gnu/store remount and file
creation in /tmp.
2023-05-25 12:51:15 +02:00
Vagrant Cascadian 36c72c1595
teams: Add Vagrant Cascadian to the embedded team.
* etc/teams.scm.in ("Vagrant Cascadian"): Add to embedded team.
2023-05-24 16:08:48 -07:00
Vagrant Cascadian 7cf606a5a0
teams: Split Embedded and Bootstrap into separate teams.
* etc/teams.scm.in (embedded-bootstrap): Replace by two separate teams.
  (embedded): New variable.
  (bootstrap): New variable.
  Adjust membership to use new teams.
2023-05-24 15:27:56 -07:00
Antero Mejr 5a6acda4fb
teams: Correct chemistry.scm typo.
* etc/teams.scm.in (science): Change chemestry.scm to chemistry.scm.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-19 16:46:34 +02:00
Maxim Cournoyer 03b453cfe5
etc: gitconfig: Do not enforced signed commits.
This change was more invasive than initially thought, and cannot be disabled
easily, as raised by a few people.  Let's revert it for now.  At least the
pre-push hook should be deployed automatically and catch any unsigned commits
attempted to be pushed to Savannah.

* etc/git/gitconfig [commit]: Remove section.
2023-05-18 23:17:31 -04:00
Ludovic Courtès 2344ccee2f
news: Add entry to 'guix style -S arguments'.
* etc/news.scm: Add entry.
2023-05-18 20:05:55 +02:00
Ludovic Courtès fddf97456c
doc: Change '--with-configure-flag' example to something that works.
Passing '-DBUILD_COMPLEX=OFF' to lapack would eventually lead to a link
error.

Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

* doc/guix.texi (Package Transformation Options): Change
'--with-configure-flag' example.
* etc/news.scm: Likewise.
2023-05-18 19:20:58 +02:00
Maxim Cournoyer 125f52c443
teams: Fix script to produce a single X-Debbugs-Cc header.
Fixes <https://issues.guix.gnu.org/63378>.

* etc/teams.scm.in (cc): Adjust format pattern.
(sort-members, member->string): New procedures.
(list-members): Refactor in terms of the above procedures.
(main): Adjust the output of the 'cc-members-header-cmd' and
'cc-mentors-header-cmd' actions.

Reviewed-by: Arun Isaac <arunisaac@systemreboot.net>
2023-05-11 09:15:48 -04:00
Efraim Flashner b9873d6c67
etc: teams: Add sequoia.scm to the rust team.
* etc/teams.scm.in (rust): Add gnu/packages/sequoia.scm to the rust team
module scope.
2023-05-07 19:29:20 +03:00
Florian Pelz 3efdc84bbd
news: Add 'de' translation.
* etc/news.scm: Add German translation of 'with-configure-flag' entry.
2023-05-05 10:20:55 +02:00
Ludovic Courtès 388cf3066e
news: Add entry for '--with-configure-flag'.
* etc/news.scm: Add entry.
2023-05-04 17:07:15 +02:00
Maxim Cournoyer e04161fd25
teams: Add a 'cc-mentors-header-cmd' action.
* etc/teams.scm.in (main): Register a new "cc-mentors-header-cmd" action.
Document it.
2023-05-01 12:39:11 -04:00
Maxim Cournoyer 8b972da068
Makefile.am: Auto-configure Git on 'make'.
This means we do not need to worry anymore about manually syncing the pre-push
git hook or the Guix-provided git configuration.

* etc/git/gitconfig: Augment configuration template with useful options to
allow for auto-configuration.
* Makefile.am (.git/hooks/pre-push, .git/config): New targets.
(nodist_noinst_DATA): New primary variable holding the above targets.
2023-05-01 12:39:11 -04:00
Maxim Cournoyer 0eddeb9896
teams: Add 'cc-members-header-cmd' action.
* etc/teams.scm.in (patch->teams): New procedure.
(main): Use it.  Add a new "cc-members-header-cmd" command; document it.
2023-05-01 12:39:11 -04:00
Florian Pelz c22765c933
news: Add 'de' translation.
* etc/news.scm: Add German translation of core-updates entry.
2023-04-26 12:27:11 +02:00