mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 19:52:44 +00:00
Long-forgotten patch: warn if a closed PR has no "closed by"
This commit is contained in:
parent
d4f5290e7d
commit
96671974e1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94738
@ -124,6 +124,10 @@ sub scan_pr($) {
|
||||
if ($pr->{'state'} eq 'closed') {
|
||||
$pr->{'_closed'} = $pr->{'closed-date'} || $pr->{'state-changed-when'};
|
||||
$pr->{'_closed_by'} = $pr->{'state-changed-by'};
|
||||
if (!defined($pr->{'_closed_by'})) {
|
||||
warn("PR $pr->{'category'}/$pr->{'number'} is incomplete\n");
|
||||
return;
|
||||
}
|
||||
++$CLOSER{$pr->{'_closed_by'}};
|
||||
} else {
|
||||
$age = $pr->{'arrival-date'} / 86400;
|
||||
|
Loading…
Reference in New Issue
Block a user