summaryrefslogtreecommitdiffstats
path: root/fedcli.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-02-05 11:09:56 +0100
committerRemi Collet <fedora@famillecollet.com>2011-02-05 11:09:56 +0100
commitad09d023481f03b6dc835bf86f2999e40ab63b37 (patch)
tree16618319228978a42372402d5b8fa53544a97de0 /fedcli.php
parenteb425e1bee76cb6ec7196506954229e77eea82ef (diff)
fix co-maintainer list : only approved ones
Diffstat (limited to 'fedcli.php')
-rwxr-xr-xfedcli.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/fedcli.php b/fedcli.php
index 40b5b0c..a604ae8 100755
--- a/fedcli.php
+++ b/fedcli.php
@@ -118,13 +118,20 @@ function Package() {
echo $branch.":\t".$pack['owner'];
$i=0;
+ $tmp = array();
foreach ($pack['people'] as $user) {
if (isset($user['aclOrder']['commit']['statuscode']) && $user['aclOrder']['commit']['statuscode']==3) {
- echo ($i++ ? ", " : " (").$user['username'];
+ $tmp[] = $user['username'];
}
}
- echo ($i ? ")\n" : "\n");
+ if (count($tmp)) {
+ sort($tmp);
+ echo " (".implode($tmp, ', ').")\n";
+ } else {
+ echo "\n";
+ }
}
+
}
function Version() {