Ludovic Courtès
2b0961b005
teams: Synchronize teams without deleting and recreating them.
...
The brute-force approach previously used would cause confusion on
Codeberg: deleted teams previously recorded as reviewers of PRs would be
considered “ghost teams”.
https://codeberg.org/Codeberg/Community/issues/1952
* etc/teams.scm (<forgejo-user>): New record type.
(edit-team, forgejo-team-members): New forgejo requests.
(update-team): New procedure.
(synchronize-team): Change to use ‘update-team’ when TEAM already
exists.
Change-Id: Id7d3b21a43abaaf21920f2201296fb95acda2270
2025-06-02 00:22:17 +02:00
Ludovic Courtès
5afcbfccc9
teams: Update Codeberg account names.
...
* etc/teams.scm: Add ‘nckx’. Use upper-case for ‘Z572’ since that’s
what Codeberg gives us.
Change-Id: I615f0d19f07cd9280e9dc895e6baa04ff8045764
2025-06-02 00:21:57 +02:00
Leo Famulari
68deb8e3bd
etc: pre-push Git hook: Reduce code duplication.
...
* etc/git/pre-push (perform_checks): New function.
Change-Id: Ieff1e2c225e3720c96c75ca55abfb883dd386f5c
2025-05-30 17:14:34 -04:00
Ludovic Courtès
c29534228f
teams: Add nix/ directory to the scope of the ‘core’ team.
...
* etc/teams.scm (core): Add “^nix/” to the scope.
Change-Id: If6c5e4a0ed4744285e7e055995ddd0cdc8ffd63e
2025-05-28 19:30:06 +02:00
Ludovic Courtès
848ebb7f72
teams: Add ‘sync-codeberg-teams’ action.
...
* etc/teams.scm (<forgejo-team>): New JSON mapping.
(unit-map->json, json->unit-map): New procedures.
(%default-forgejo-team-units, %default-forgejo-team-unit-map)
(%codeberg-organization): New variables.
(codeberg-url, forgejo-http-headers): New procedures.
(&forgejo-error): New record type.
(process-url-components, define-forgejo-request): New macros.
(organization-teams, create-team, add-team-member)
(team->forgejo-team, synchronize-team, synchronize-teams): New
procedures.
(main): Add ‘sync-codeberg-teams’ action.
Change-Id: I6b1f437a3407bc2d44965519990deb524afa9528
2025-05-28 19:28:34 +02:00
Ludovic Courtès
647e345b66
teams: Add Codeberg accounts to <person> records.
...
Based on the committer accounts given in the thread at
<https://lists.gnu.org/archive/html/guix-devel/2025-05/msg00072.html >
and additional team member accounts given in the thread at
<https://lists.gnu.org/archive/html/guix-devel/2025-05/msg00322.html >.
* etc/teams.scm (<person>)[account]: Add field.
(person): Add ‘account’ parameter.
<top level>: Add known Codeberg account names.
Change-Id: Iad3b10c328b0df5d3c68d98ffee7f7c8ec4c8e23
2025-05-28 19:27:47 +02:00
Ludovic Courtès
22f50f439b
teams: Add missing team descriptions.
...
* etc/teams.scm (bootstrap, hurd): Add #:description.
Change-Id: I531907763c746420a60daf6a5c33ec586565db07
2025-05-28 19:20:23 +02:00
Ludovic Courtès
1b7a11efb0
teams: Use suitable team identifiers for Codeberg.
...
The “c++” team has to be called “cpp”.
* etc/teams.scm (team-id->forgejo-id): New procedure.
(team->codeowners-snippet): Use it.
Change-Id: I10619d8833b5c747504f26b7b0eedb9d61bfd812
2025-05-28 19:20:23 +02:00
Ludovic Courtès
38b05ff27b
teams: Add ‘codeowners’ command in help message.
...
* etc/teams.scm (main): Add ‘codeowners’ command in help message.
Change-Id: I859997aba2b8829173e608e5ba1c8ab59b79d9c5
2025-05-28 19:20:23 +02:00
Leo Famulari
96da4def78
etc: pre-push Git hook: Make portable to current Debian.
...
Closes #64
The ;& operator was introduced in POSIX.1-2024 "Issue 8", from 2024, but
is not yet available in Debian's dash shell.
* etc/git/pre-push: Duplicate the handling of our two canonical Git repo
URLs.
Change-Id: I1125810c9f2d6fb9a99f7220d971cc38387989d3
2025-05-27 10:11:03 -04:00
Maxim Cournoyer
cedb79a57b
etc: pre-push: Do not use recent ;& case statement terminator.
...
Some systems are still using a shell that predates its inclusion in the POSIX
specification, such as Debian Bookworm.
* etc/git/pre-push (z40): Remove usage of ';&'. Fail when attempting to push
to Savannah instead.
Reported-by: Leo Famulari <leo@famulari.name>
Closes : #64
Change-Id: I2dd224b7a3236f7027fc702b96e3ee1ff594d4fa
2025-05-27 11:07:03 +09:00
Maxim Cournoyer
c24b8fadad
etc: Untabify pre-push hook.
...
There was a mix of spaces and tabs in the file, even confusing Emacs's
dtrt-indent-mode.
* etc/git/pre-push: Untabify.
Change-Id: I2548a3901c5064c649a8f6bb786d606b6155fcfb
2025-05-27 11:05:49 +09:00
Maxim Cournoyer
c60cf23a93
teams: Add script to refresh GNOME core packages.
...
* etc/teams/gnome/gnome-core-refresh: New file.
Change-Id: I7c7de6ce4689cef9c51d357e6ea3d16468078013
2025-05-26 13:43:27 +09:00
Maxim Cournoyer
19d4f0d3ad
news: Add news entry for etc-bashrc-d-service-type.
...
* etc/news.scm (channel-news): New entry.
Change-Id: Iaf861617e871eca90ac28ba5e14876c0f2f0f731
2025-05-26 13:43:27 +09:00
Liliana Marie Prikler
be0dbd3e4a
etc: pre-push: Skip checks on AGit pull requests.
...
* etc/git/pre-push (case "$remote_refs" in refs/for/*): Skip checks.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Fixes: AGit push fails <https://codeberg.org/guix/guix/issues/5 >
Tested-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2025-05-26 10:41:05 +08:00
lilyp
8589191060
etc: pre-push: Enforce checks on Codeberg.
...
* etc/git/pre-push (case *gnu.org*): Fall-through to…
(case *codeberg.org/guix/*): … this.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Tested-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2025-05-26 10:41:05 +08:00
Ludovic Courtès
855a50a4d0
news: Add entry for Codeberg migration.
...
* etc/news.scm: Add entry.
Change-Id: Ie2b2973d8f0f0c28e6d7655e1fd9c5b6adc3e962
2025-05-25 13:03:29 +02:00
Florian Pelz
001ceac870
news: Add 'de' news title.
...
* etc/news.scm: Translate refresh entry 'de' title.
Change-Id: Idf670464e8111c6a29bc37a0f6cc5c56f28c2359
2025-05-23 16:38:55 +02:00
Ludovic Courtès
8dff813138
teams: Add “codeowners” action.
...
* etc/teams.scm (team->codeowners-snippet, export-codeowners): New
procedures.
(main): Add “codeowners” action.
* doc/contributing.texi (Teams): Document it.
Change-Id: I601443981af374d85160833f7096d8c973873fb1
2025-05-23 11:38:33 +02:00
Leo Famulari
dae30d4aef
teams: Remove Wilko Meyer from the kernel team due to inactivity.
...
* etc/teams.scm ("Wilko Meyer"): Remove from the kernel team.
Change-Id: I3545e69f9bab341044faa2dc5f6c278d532091ec
2025-05-22 12:51:43 -04:00
Maxim Cournoyer
450a361532
news: Add news entry for new 'guix refresh' partial version syntax.
...
* etc/news.scm (channels-news): New entry.
Change-Id: Ic3be1bd62b4dc36a45fcbb1ae87c8a9bf0b837e9
Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de>
2025-05-19 10:07:36 +09:00
Maxim Cournoyer
6b5fc48129
teams: Add etc/teams/gnome to gnome-team's scope.
...
* etc/teams.scm (gnome): Register etc/teams/gnome to scope.
Change-Id: I7e55b306104c235d165ab138397b767f1af5c124
2025-05-18 21:59:18 +09:00
Maxim Cournoyer
085f12b34e
teams: Add linux-libre aux-files to kernel team's scope.
...
* etc/teams.scm (kernel) <#:scope>: Add a regex for linux-libre aux-files.
Change-Id: I3cccd1d0fb0cfcd27f670ea996a0ac5a69ea79c0
2025-05-17 00:08:48 +09:00
Florian Pelz
1c50758fa7
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of linux-libre 6.13 removal entry.
Change-Id: Ic7fa995b1eadbf6dfd35fee47e0190a0b80e714a
2025-05-10 13:05:04 +02:00
Trevor Richards
c3b6b57521
teams: Add entry for Trevor Richards.
...
* gnu/teams.scm ("Trevor Richards"): New member.
Change-Id: Ie76ccddf66ad87db0e5e266521646f76ab61bd2a
Signed-off-by: Steve George <steve@futurile.net>
2025-05-09 10:54:40 +01:00
Ashvith Shetty
08b65338f4
teams: Add entry for Ashvith Shetty.
...
* etc/teams.scm ("Ashvith Shetty"): New member.
Change-Id: Ic448a2c25d2688e95b9fa29c16c926bc106cc2c7
Signed-off-by: Steve George <steve@futurile.net>
2025-05-09 10:37:08 +01:00
Leo Famulari
7d29ea6c49
news: Add entry about linux-libre 6.13 removal.
...
* etc/news.scm: Add entry.
Change-Id: Ic864263fda00757a9e2600abef083dc2f720ec23
2025-05-08 19:05:50 -04:00
Florian Pelz
475173e4f2
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of read-only root entry.
Change-Id: I0d12d00a3dea33cb3ce61e6ddb9848e89bec0569
2025-05-07 09:22:29 +02:00
Ludovic Courtès
8745239dd2
news: Add entry for ‘guix shell --writable-root’.
...
* etc/news.scm: Add it.
Change-Id: I3b07d8156c32c0cb6de8e8bf3a26a3e1e5af66b1
2025-05-05 14:34:39 +02:00
Florian Pelz
79c5d16202
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of update of 'linux-libre' entry.
Change-Id: Ibbbfc397701466bb3877fc3d90fde4663965858e
2025-04-30 11:15:05 +02:00
Gabriel Wicki
aa0fbdabd8
teams: Sort teams alphabetically.
...
* etc/teams.scm: Sort teams alphabetically.
Change-Id: Iaf7688936efeddb674e68f2e3bb792627f6aa193
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-04-29 21:12:56 +02:00
Gabriel Wicki
a3a094cce4
teams: Add gabber to more teams.
...
* etc/teams.scm (Gabriel Wicki): Add to documentation, electronics and
embedded teams.
Change-Id: I47a2a16d29b301c3e6f7fda97343c88da5ae3360
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-04-29 21:11:56 +02:00
Leo Famulari
0507991b7c
news: Add entry for linux-libre 6.14.
...
* etc/news.scm: Add entry.
Change-Id: I3f37fbc6b0c3929cd8a45afcca1c132736859da7
2025-04-29 12:30:40 -04:00
Danny Milosavljevic
171c62a96d
teams: rust: Add reference to file "c2rust.scm".
...
* etc/teams.scm (rust)<#:scope>: Add "gnu/packages/c2rust.scm".
Change-Id: Ifc31aad21596c53b207dc547cac8eae2c59438f2
2025-04-25 03:15:48 +02:00
Ludovic Courtès
ba53ff9cc4
news: Add entry about unprivileged guix-daemon on Guix System.
...
* etc/news.scm: Add it.
Change-Id: I28eae7f7b4305225b13281b99458cbedda3c3b94
Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de>
2025-04-20 18:54:44 +02:00
Jelle Licht
a4a7ff0319
news: Add entry for the node-build-system API change.
...
* etc/news.scm: Add entry.
Change-Id: I11b33fef997764f661e03a4b527c7610c48940f0
2025-04-18 14:57:08 +02:00
Noé Lopez
d11544c231
teams: Add entry for Noé Lopez.
...
* etc/teams.scm ("Noé Lopez"): New member.
Change-Id: Ibd22c52ed5898ea4bea5f6b68df3cf7b464bfed2
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-04-14 12:34:46 +02:00
Jussi Timperi
56e3c6ea42
teams: go: Fix regular expression.
...
* etc/teams.scm (go-team): Change a raw string to a regular expression.
Change-Id: I58db342f2503f92628f30a147bc71371f6fd2b84
Signed-off-by: Christopher Baines <mail@cbaines.net>
2025-04-06 17:17:35 +01:00
Hilton Chain
d8d0b02311
teams: Add entry for Hilton Chain.
...
* etc/teams.scm ("Hilton Chain"): New member.
Change-Id: I06884ff994304c4b76460c215c6c3b990cbfeebf
2025-04-05 08:45:21 +08:00
Ekaitz Zarraga
6fce6ce7b3
teams: Add Ekaitz to electronics.
...
* etc/teams.scm: Add Ekaitz to electronics.
Change-Id: I49acb8449045603cf4589b2b306567da44d2483d
2025-03-31 22:59:02 +02:00
Ludovic Courtès
a9239a769c
guix-install.sh: Support the unprivileged daemon where possible.
...
* etc/guix-install.sh (create_account): New function.
(sys_create_build_user): Use it. When ‘guix-daemon.service’ contains
“User=guix-daemon” only create the ‘guix-daemon’ user and group.
(sys_delete_build_user): Delete the ‘guix-daemon’ user and group.
(can_install_unprivileged_daemon): New function.
(sys_create_store): When installing the unprivileged daemon, change
ownership of /gnu and /var/guix, and create /var/log/guix.
(sys_authorize_build_farms): When the ‘guix-daemon’ account exists,
change ownership of /etc/guix.
Change-Id: I73e573f1cc5c0cb3794aaaa6b576616b66e0c5e9
2025-03-26 17:57:45 +01:00
Ludovic Courtès
107eb8ee8f
etc: systemd services: Run ‘guix-daemon’ as an unprivileged user.
...
* etc/guix-daemon.service.in (ExecStart): Remove ‘--build-users-group’.
(Environment): Add ‘GUIX_STATE_DIRECTORY’.
(Before, User, AmbientCapabilities, PrivateMounts, BindPaths): New fields.
* etc/gnu-store.mount.in (Before): Remove.
(WantedBy): Change to ‘multi-user.target’.
Change-Id: Id826b8ab535844b6024d777f6bd15fd49db6d65e
2025-03-26 17:57:45 +01:00
jgart
9df25bbba6
teams: Remove jgart from the python team.
...
* etc/teams.scm (jgart): Remove from the python team.
Change-Id: I8778ddafb4fa43d08ca6b88dac30149cf3b9a499
2025-03-22 17:16:04 -05:00
Leo Famulari
782f3e518a
news: Add entry for the Syncthing service changes.
...
* etc/news.scm: Add entry.
Change-Id: I3be21b6a209ed56172b62fa1515f651c75229592
2025-03-14 16:06:04 -04:00
Efraim Flashner
98f2990691
teams: Remove Efraim Flashner from the julia team.
...
* etc/teams.scm (Efraim Flashner): Remove from the julia team.
Change-Id: Idcb3e59461be4b3301a4631dc2173bd9e9f7b65c
2025-03-14 15:46:21 +02:00
Sughosha
5c6a17deb3
teams: Add entry for Sughosha.
...
* etc/teams.scm ("Sughosha"): New member.
Change-Id: I3ca70efa16ad4bbbcd675aa631fd3dea27030fec
2025-03-14 08:10:20 +08:00
Zheng Junjie
a60415cebb
teams: Add zheng junjie to kde team.
...
* etc/teams.scm ("Zheng Junjie"): Add to kde team.
Change-Id: Ib38902c66ba08395ca859ebd2b81c7dc3c75ba67
Change-Id: I4c9843890a6ac0bc46e76c7394d3bdb5ec939c8a
2025-03-12 17:42:08 +08:00
Zheng Junjie
aa26f5a1f7
teams: Add kde team.
...
* etc/teams.scm (kde): New team.
Change-Id: I284813a796fb520c014d36347bba7a59e5e6ee58
2025-03-12 17:42:06 +08:00
Greg Hogan
5e62df044d
teams: Add entry for Greg Hogan.
...
* etc/teams.scm ("Greg Hogan"): New member.
Change-Id: Iba64bb5ab19052c54797b056e0934a281f8cdc0d
Signed-off-by: Zheng Junjie <z572@z572.online>
2025-03-07 19:21:46 +08:00
Greg Hogan
30179b19b7
teams: Add C/C++ team.
...
* etc/teams.scm (c++): New team.
Change-Id: I219fb7dee75e6dd9055cb117c360d3d6eeff9680
Signed-off-by: Zheng Junjie <z572@z572.online>
2025-03-07 19:19:38 +08:00