Merge pull request #2350 from jonatack/2026-11-include-deputies-in-readme

process: include deputies in README Owner entries
This commit is contained in:
Murch authored and GitHub committed 2026-11-10 00:32:02 +01:00
commit d71d60687b
3 files changed
+18 -6

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]]
| Applications
| Sending Silent Payments with PSBTs
| Andrew Toth, Ava Chow, josibake
| Andrew Toth, Ava Chow, josibake, macgyver
| Specification
| Draft
|-
+2
View File
@@ -59,6 +59,8 @@ document. They support the authors in advancing the proposal, or act as a point
authors. Deputies may perform the role of Authors for any aspect of the BIP process unless overruled by an Author.
Deputies share ownership of the BIP at the discretion of the Authors.
When listing a BIP in the README, the Owner entry includes the names of all Authors and Deputies.
### What is the Significance of BIPs?
BIPs do not define what Bitcoin is: individual BIPs do not represent Bitcoin community consensus or a general
+15 -5
View File
@@ -137,7 +137,7 @@ while (++$bipnum <= $topbip) {
}
}
my %found;
my ($title, $authors, $status, $version, $type, $layer);
my ($title, $owners, $status, $version, $type, $layer);
my ($field, $val, @field_order, $continuation);
while (<$F>) {
last if ($is_markdown && m[^```$]);
@@ -169,10 +169,20 @@ while (++$bipnum <= $topbip) {
my ($authorname, $authoremail) = ($1, $2);
$authoremail =~ s/(?<=\D)$bipnum(?=\D)/<BIPNUM>/g;
$emails{$authorname}->{$authoremail} = undef;
if (defined $authors) {
$authors .= ", $authorname";
if (defined $owners) {
$owners .= ", $authorname";
} else {
$authors = $authorname;
$owners = $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 $owners) {
$owners .= ", $deputyname";
} else {
$owners = $deputyname;
}
} elsif ($field eq 'Status') {
if ($bipnum == 38) { # HACK
@@ -245,7 +255,7 @@ while (++$bipnum <= $topbip) {
}
}
print "| ${title}\n";
print "| ${authors}\n";
print "| ${owners}\n";
print "| ${type}\n";
print "| ${status}\n";
close $F;