diff options
author | Pascal Terjan <pterjan@mageia.org> | 2012-06-27 19:38:42 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2012-06-27 19:38:42 +0000 |
commit | cafd1fd33d9a5b5da91c1353571c0369541a785c (patch) | |
tree | c940f7ce2f38866d08276356daf118ab532931c3 | |
parent | adaf53fa3bdc7cb4aeafb1778d287a062e803aeb (diff) | |
download | pkgsubmit-cafd1fd33d9a5b5da91c1353571c0369541a785c.tar pkgsubmit-cafd1fd33d9a5b5da91c1353571c0369541a785c.tar.gz pkgsubmit-cafd1fd33d9a5b5da91c1353571c0369541a785c.tar.bz2 pkgsubmit-cafd1fd33d9a5b5da91c1353571c0369541a785c.tar.xz pkgsubmit-cafd1fd33d9a5b5da91c1353571c0369541a785c.zip |
Link to the pending updates
-rw-r--r-- | index.php | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -331,8 +331,17 @@ if ($missing_deps_count > 0 || $unmaintained_count > 0) { echo '<a href="https://wiki.mageia.org/en/Importing_packages">You can help!</a></strong></p>'; } + +preg_match_all('/<span class="bz_result_count">(\d+)/', file_get_contents("https://bugs.mageia.org/buglist.cgi?quicksearch=%40qa-bugs+-kw%3Avali"), $matches); +$qa_bugs = $matches[1][0]; +if ($qa_bugs > 0) { + echo "<p>"; + echo "<a href=\"https://bugs.mageia.org/buglist.cgi?quicksearch=%40qa-bugs+-kw%3Avali\">$qa_bugs package updates to validate</a>. "; + echo '<a href="https://wiki.mageia.org/en/QA_process_for_validating_updates">You can help!</a></strong></p>'; +} + if ($upload_time) { - echo sprintf('<p>Upload in progress for %s.</p>', timediff($upload_time)); + echo sprintf('<p>Upload in progress for %s.</p>', timediff($upload_time)); } $buildtime_stats = array(); |