script: buildtable checks deputy inclusion in readme

This commit is contained in:
Jon Atack committed 2026-11-09 11:36:14 -06:00
1 parent 99e21c8154
commit c2497beafd
2 files changed
+11 -1

No files matched your search

+1 -1
View File
@@ -1335,7 +1335,7 @@ users (see also: [https://en.bitcoin.it/wiki/Economic_majority economic majority
| [[bip-0375.mediawiki|375]] | [[bip-0375.mediawiki|375]]
| Applications | Applications
| Sending Silent Payments with PSBTs | Sending Silent Payments with PSBTs
| Andrew Toth, Ava Chow, josibake | Andrew Toth, Ava Chow, josibake, macgyver
| Specification | Specification
| Draft | Draft
|- |-
+10
View File
@@ -174,6 +174,16 @@ while (++$bipnum <= $topbip) {
} else { } else {
$authors = $authorname; $authors = $authorname;
} }
} elsif ($field eq 'Deputies') {
$val =~ m/^(\S[^<@>]*\S) \<([^@>]*\@[\w.-]+\.\w+)\>$/ or die "Malformed Deputies line in $fn";
my ($deputyname, $deputyemail) = ($1, $2);
$deputyemail =~ s/(?<=\D)$bipnum(?=\D)/<BIPNUM>/g;
$emails{$deputyname}->{$deputyemail} = undef;
if (defined $authors) {
$authors .= ", $deputyname";
} else {
$authors = $deputyname;
}
} elsif ($field eq 'Status') { } elsif ($field eq 'Status') {
if ($bipnum == 38) { # HACK if ($bipnum == 38) { # HACK
$val =~ s/\s+\(.*\)$//; $val =~ s/\s+\(.*\)$//;