mirror of
https://github.com/bitcoin/bips.git
synced 2026-11-16 19:48:35 +00:00
script: buildtable checks deputy inclusion in readme
This commit is contained in:
1 parent
99e21c8154
commit
c2497beafd
2 files changed
+11
-1
No files matched your search
@@ -174,6 +174,16 @@ while (++$bipnum <= $topbip) {
|
||||
} else {
|
||||
$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') {
|
||||
if ($bipnum == 38) { # HACK
|
||||
$val =~ s/\s+\(.*\)$//;
|
||||
|
||||
Reference in new issue
Block a user