summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-23 10:52:07 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-05-01 12:39:11 -0400
commite04161fd256f5879fc19c4e6fdba6c3d620b525f (patch)
tree2aea4f1b917b0ccdff1f40b931cf7d02992dd58c /etc
parent8b972da068708a8b17f3ab153ea940690ca49ca9 (diff)
downloadguix-e04161fd256f5879fc19c4e6fdba6c3d620b525f.tar.gz
teams: Add a 'cc-mentors-header-cmd' action.
* etc/teams.scm.in (main): Register a new "cc-mentors-header-cmd" action.
Document it.
Diffstat (limited to 'etc')
-rw-r--r--etc/teams.scm.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/teams.scm.in b/etc/teams.scm.in
index 408db8b7d5..dec175f630 100644
--- a/etc/teams.scm.in
+++ b/etc/teams.scm.in
@@ -719,6 +719,9 @@ and REV-END, two git revision strings."
                  (list-members (find-team team-name) (current-output-port)
                                "X-Debbugs-Cc: "))
                (patch->teams patch-file)))
+    (("cc-mentors-header-cmd" patch-file)
+     (list-members (find-team "mentors") (current-output-port)
+                   "X-Debbugs-Cc: "))
     (("get-maintainer" patch-file)
      (apply main "list-members" (patch->teams patch-file)))
     (("list-teams" . args)
@@ -735,10 +738,12 @@ and REV-END, two git revision strings."
 Commands:
   cc <team-name>
       get git send-email flags for cc-ing <team-name>
-  cc-members <start> <end> | patch
+  cc-members <start> <end> | <patch>
       cc teams related to files changed between revisions or in a patch file
   cc-members-header-cmd <patch>
       cc-members variant for use with 'git send-email --header-cmd'
+  cc-mentors-header-cmd <patch>
+      command to use with 'git send-email --header-cmd' to notify mentors
   list-teams
       list teams and their members
   list-members <team-name>