summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Wicki <gabriel@erlikon.ch>2026-05-05 16:02:56 +0200
committerGabriel Wicki <gabriel@erlikon.ch>2026-07-05 20:53:58 +0200
commit7566cf38a1e48ae592a34747d7d3178c816d1791 (patch)
treea3ead4ba83ce45b27d3c353fdf317d393a912158
parent78358a59aa69006c6aefd8e8cca73c656fc2ffb9 (diff)
etc: teams: Add CC all team members option.
Enable pinging all team members, which is useful in our GCD process. * etc/teams.scm (main): Add option and help text. Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
-rwxr-xr-xetc/teams.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/teams.scm b/etc/teams.scm
index e5ca4e4c594..1ea03a13bcf 100755
--- a/etc/teams.scm
+++ b/etc/teams.scm
@@ -1921,6 +1921,8 @@ and REV-END, two git revision strings."
1921 (match args 1921 (match args
1922 (("cc" . team-names) 1922 (("cc" . team-names)
1923 (apply cc (map find-team team-names))) 1923 (apply cc (map find-team team-names)))
1924 (("cc-all-team-members")
1925 (apply cc (hash-map->list (lambda (_ team) team) %teams)))
1924 (("cc-members" patch-file) 1926 (("cc-members" patch-file)
1925 (unless (file-exists? patch-file) 1927 (unless (file-exists? patch-file)
1926 (error "patch file does not exist:" patch-file)) 1928 (error "patch file does not exist:" patch-file))
@@ -1962,6 +1964,8 @@ Commands:
1962 get git send-email flags for cc-ing <team-name> 1964 get git send-email flags for cc-ing <team-name>
1963 cc-members <start> <end> | <patch> 1965 cc-members <start> <end> | <patch>
1964 cc teams related to files changed between revisions or in a patch file 1966 cc teams related to files changed between revisions or in a patch file
1967 cc-all-team-members
1968 cc all members of all teams (useful in GCD processes)
1965 cc-members-header-cmd <patch> 1969 cc-members-header-cmd <patch>
1966 cc-members variant for use with 'git send-email --header-cmd' 1970 cc-members variant for use with 'git send-email --header-cmd'
1967 cc-mentors-header-cmd <patch> 1971 cc-mentors-header-cmd <patch>