From: Nicolas George <george@nsup.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: Cosmin Stejerean <cosmin@cosmin.at>
Subject: Re: [FFmpeg-devel] [PATCH 1/1] tools/general_assembly.pl - print names with emails
Date: Fri, 3 Nov 2023 19:40:22 +0100
Message-ID: <ZUU+li8R7f1ViICD@phare.normalesup.org> (raw)
In-Reply-To: <0101018b967a36dd-054beb70-1080-4c9d-ac9f-d1193adf13a1-000000@us-west-2.amazonses.com>
[-- Attachment #1.1: Type: text/plain, Size: 1445 bytes --]
Cosmin Stejerean via ffmpeg-devel (12023-11-03):
> Update GA script to print names in addition to emails since emails
> should not be shared in all contexts, this makes it easier to publish
> the current GA membership.
>
> Signed-off-by: Cosmin Stejerean <cosmin@cosmin.at>
> ---
> tools/general_assembly.pl | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/tools/general_assembly.pl b/tools/general_assembly.pl
> index 898a6262ef..aa467ba34a 100644
> --- a/tools/general_assembly.pl
> +++ b/tools/general_assembly.pl
> @@ -7,6 +7,8 @@ use POSIX qw(strftime);
> use Encode qw(decode);
> use Data::Dumper;
>
> +binmode(STDOUT, ":utf8");
> +
> sub trim { my $s = shift; $s =~ s/^\s+|\s+$//g; return $s };
>
> my @shortlog = split /\n/, decode('UTF-8', `git log --pretty=format:"%aN <%aE>" --since="last 36 months" | sort | uniq -c | sort -r`, Encode::FB_CROAK);
> @@ -35,6 +37,7 @@ foreach my $line (@shortlog) {
> }
>
> printf("# %s %s", strftime("%Y-%m-%d", localtime), decode('UTF-8', `git rev-parse HEAD`, Encode::FB_CROAK));
> -foreach my $email (sort values %assembly) {
> - printf("%s\n", $email);
> +foreach my $name (sort keys %assembly) {
This is also changing the sort order. It might be acceptable but it
might also not be.
> + my $email = $assembly{$name};
> + printf("%s <%s>\n", $name, $email);
> }
Regards,
--
Nicolas George
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2023-11-03 18:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20231103183712.95151-1-cosmin@cosmin.at>
2023-11-03 18:37 ` [FFmpeg-devel] [PATCH 0/1] " Cosmin Stejerean via ffmpeg-devel
[not found] ` <20231103183712.95151-2-cosmin@cosmin.at>
2023-11-03 18:37 ` [FFmpeg-devel] [PATCH 1/1] " Cosmin Stejerean via ffmpeg-devel
2023-11-03 18:40 ` Nicolas George [this message]
[not found] ` <D026DB59-918F-4CD6-B8E6-63741D1830F0@cosmin.at>
2023-11-03 19:18 ` Cosmin Stejerean via ffmpeg-devel
2023-11-05 13:41 ` Thilo Borgmann via ffmpeg-devel
2023-11-05 13:48 ` Thilo Borgmann via ffmpeg-devel
[not found] ` <A2EEB1B0-ACB8-4C86-92E9-091942FEDADA@cosmin.at>
2023-11-06 2:06 ` Cosmin Stejerean via ffmpeg-devel
2023-11-06 6:07 ` Jean-Baptiste Kempf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZUU+li8R7f1ViICD@phare.normalesup.org \
--to=george@nsup.org \
--cc=cosmin@cosmin.at \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git