[FFmpeg-cvslog] tools/general_assembly: add a mechanism for excluding people from GA list

Anton Khirnov git at videolan.org
Thu Nov 28 16:52:19 EET 2024


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Nov 23 06:12:38 2024 +0100| [9cb8928d69d2b14571818fed67b5c2ead27ac748] | committer: Anton Khirnov

tools/general_assembly: add a mechanism for excluding people from GA list

To be used at their own request, when they do not wish to receive vote
emails.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9cb8928d69d2b14571818fed67b5c2ead27ac748
---

 tools/general_assembly.pl | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tools/general_assembly.pl b/tools/general_assembly.pl
index 0dafa82e27..7e0f46093c 100755
--- a/tools/general_assembly.pl
+++ b/tools/general_assembly.pl
@@ -25,6 +25,10 @@ my @extra_members = (
     ['Shiyou Yin',          'yinshiyou-hf at loongson.cn',     DateTime->new(year => 2023, month => 11, day => 28)],
 );
 
+# list of names of people who asked to be excluded from GA emails
+my %excluded_members = (
+);
+
 sub trim { my $s = shift; $s =~ s/^\s+|\s+$//g; return $s };
 
 sub print_help {
@@ -103,6 +107,11 @@ foreach my $line (@shortlog) {
     }
 
     $name = trim $name;
+
+    if (exists $excluded_members{$name}) {
+        next;
+    }
+
     if ($count < 50) {
         my $true = 0;
         my @commits = split /(^|\n)commit [a-z0-9]{40}(\n|$)/,



More information about the ffmpeg-cvslog mailing list