diff options
author | Pascal Terjan <pterjan@mageia.org> | 2011-02-07 11:05:23 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2011-02-07 11:05:23 +0000 |
commit | 13e6119556430054e04f51cf12d3ed48cfc7847d (patch) | |
tree | 07228c1337914c691559fbe82949f68ba2912ec0 | |
parent | aa6bb0bca6c4ebdf4940bbbc8ab79e0ab83e2418 (diff) | |
download | pkgsubmit-13e6119556430054e04f51cf12d3ed48cfc7847d.tar pkgsubmit-13e6119556430054e04f51cf12d3ed48cfc7847d.tar.gz pkgsubmit-13e6119556430054e04f51cf12d3ed48cfc7847d.tar.bz2 pkgsubmit-13e6119556430054e04f51cf12d3ed48cfc7847d.tar.xz pkgsubmit-13e6119556430054e04f51cf12d3ed48cfc7847d.zip |
List broken dependencies instead of mdv packages now that none is left
-rw-r--r-- | index.php | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -117,9 +117,7 @@ $date_gen = date('c'); # Temporary until initial mirror is ready chdir("data"); -$nb_rpm = shell_exec('rpm -qp --qf "%{SOURCERPM}\n" /distrib/bootstrap/distrib/cauldron/i586/media/core/release/*.rpm | sort -u | tee src.txt | wc -l'); -$nb_rpm_mga = shell_exec('grep mga src.txt | tee src.mga.txt | wc -l'); -shell_exec('grep -v mga src.txt > src.mdv.txt'); +$missing_deps = file("missing-deps.i586.txt"); ######################################### chdir($upload_dir); @@ -275,14 +273,8 @@ if (!is_null($g_user)) # Temporary until initial mirror is ready echo sprintf( - '<p><a href="%s">%d src.rpm</a> rebuilt for Mageia out of <a href="%s">%d</a> (%d%%) - (<a href="%s">list of %d Mandriva packages still present</a>). <strong><a href="%s">You can help!</a></strong>.</p>', - - 'data/src.mga.txt', $nb_rpm_mga, - 'data/src.txt', $nb_rpm, - $nb_rpm > 0 ? floor($nb_rpm_mga / $nb_rpm * 100) : 0, - 'data/src.mdv.txt', - $nb_rpm - $nb_rpm_mga, + '<p><a href="%s">%d broken dependencies</a>. <strong><a href="%s">You can help!</a></strong></p>', + 'data/missing-deps.i586.txt', count($missing_deps), 'http://www.mageia.org/wiki/doku.php?id=packaging#starting_package_import' ); |