@@ -1084,7 +1084,7 @@ sub usage {
1084
1084
--moderated => include moderated lists(s) if any (default: true)
1085
1085
--s => include subscriber only list(s) if any (default: false)
1086
1086
--remove-duplicates => minimize duplicate email names/addresses
1087
- --roles => show roles (status :subsystem, git-signer, list, etc...)
1087
+ --roles => show roles (role :subsystem, git-signer, list, etc...)
1088
1088
--rolestats => show roles and statistics (commits/total_commits, %)
1089
1089
--substatus => show subsystem status if not Maintained (default: match --roles when output is tty)"
1090
1090
--file-emails => add email addresses found in -f file (default: 0 (off))
@@ -1298,32 +1298,23 @@ sub get_maintainer_role {
1298
1298
my $start = find_starting_index($index );
1299
1299
my $end = find_ending_index($index );
1300
1300
1301
- my $role = " unknown " ;
1301
+ my $role = " maintainer " ;
1302
1302
my $subsystem = get_subsystem_name($index );
1303
+ my $status = " unknown" ;
1303
1304
1304
1305
for ($i = $start + 1; $i < $end ; $i ++) {
1305
1306
my $tv = $typevalue [$i ];
1306
1307
if ($tv =~ m / ^([A-Z]):\s *(.*)/ ) {
1307
1308
my $ptype = $1 ;
1308
1309
my $pvalue = $2 ;
1309
1310
if ($ptype eq " S" ) {
1310
- $role = $pvalue ;
1311
+ $status = $pvalue ;
1311
1312
}
1312
1313
}
1313
1314
}
1314
1315
1315
- $role = lc ($role );
1316
- if ($role eq " supported" ) {
1317
- $role = " supporter" ;
1318
- } elsif ($role eq " maintained" ) {
1319
- $role = " maintainer" ;
1320
- } elsif ($role eq " odd fixes" ) {
1321
- $role = " odd fixer" ;
1322
- } elsif ($role eq " orphan" ) {
1323
- $role = " orphan minder" ;
1324
- } elsif ($role eq " obsolete" ) {
1325
- $role = " obsolete minder" ;
1326
- } elsif ($role eq " buried alive in reporters" ) {
1316
+ $status = lc ($status );
1317
+ if ($status eq " buried alive in reporters" ) {
1327
1318
$role = " chief penguin" ;
1328
1319
}
1329
1320
0 commit comments