summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-09-21 21:04:26 +0000
committerNicolas Vigier <boklm@mageia.org>2011-09-21 21:04:26 +0000
commita74294da3dc86b5aa973502ec13f1b9f116045d8 (patch)
tree742c9e2c0f09db325b17476fcafe6a6df99b1a20
parent5c895457b90951515f537a2237376b3becf02c16 (diff)
downloadpkgsubmit-a74294da3dc86b5aa973502ec13f1b9f116045d8.tar
pkgsubmit-a74294da3dc86b5aa973502ec13f1b9f116045d8.tar.gz
pkgsubmit-a74294da3dc86b5aa973502ec13f1b9f116045d8.tar.bz2
pkgsubmit-a74294da3dc86b5aa973502ec13f1b9f116045d8.tar.xz
pkgsubmit-a74294da3dc86b5aa973502ec13f1b9f116045d8.zip
add count of unmaintained packages
-rw-r--r--index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.php b/index.php
index 9c7dfab..a3099db 100644
--- a/index.php
+++ b/index.php
@@ -121,6 +121,7 @@ $date_gen = date('c');
chdir("data");
$missing_deps = file("missing-deps.i586.txt");
#########################################
+$unmaintained = file('unmaintained.txt');
chdir($upload_dir);
@@ -293,8 +294,9 @@ if (!is_null($g_user))
# Temporary until initial mirror is ready
echo sprintf(
- '<p><a href="%s">%s broken dependencies</a>. <strong><a href="%s">You can help!</a></strong></p>',
+ '<p><a href="%s">%s broken dependencies</a>. <a href="%s">%s unmaintained packages</a>. <strong><a href="%s">You can help!</a></strong></p>',
'data/missing-deps.i586.txt', count($missing_deps) == 0 ? 'no' : count($missing_deps),
+ 'data/unmaintained.txt', count($unmaintained),
'http://www.mageia.org/wiki/doku.php?id=packaging#starting_package_import'
);