It will be usefull to have available also "max" instead of "sum".
Such ranking corresponds more to importance of a source package.
Idea is something like bellow.
Petr
--- popcon.pl
+++ popcon.pl
@@ -283,7 +267,10 @@
my ($f,$v)=($fields[$i],$votes[$i]);
$pkg{$name}->{$f}=$v;
$maintpkg{$maint{$name}}->{$f}+=$v;
- $sourcepkg{$source{$name}}->{$f}+=$v;
+ if ( $v > $sourcepkg{$source{$name}}->{$f} )
+ {
+ $sourcepkg{$source{$name}}->{$f}=$v;
+ }
}
}
elsif ($type eq "Architecture:")
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]