summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-06-27 19:38:42 +0000
committerPascal Terjan <pterjan@mageia.org>2012-06-27 19:38:42 +0000
commitcafd1fd33d9a5b5da91c1353571c0369541a785c (patch)
treec940f7ce2f38866d08276356daf118ab532931c3 /index.php
parentadaf53fa3bdc7cb4aeafb1778d287a062e803aeb (diff)
downloadpkgsubmit-cafd1fd33d9a5b5da91c1353571c0369541a785c.tar
pkgsubmit-cafd1fd33d9a5b5da91c1353571c0369541a785c.tar.gz
pkgsubmit-cafd1fd33d9a5b5da91c1353571c0369541a785c.tar.bz2
pkgsubmit-cafd1fd33d9a5b5da91c1353571c0369541a785c.tar.xz
pkgsubmit-cafd1fd33d9a5b5da91c1353571c0369541a785c.zip
Link to the pending updates
Diffstat (limited to 'index.php')
-rw-r--r--index.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/index.php b/index.php
index a6cc937..4add4c6 100644
--- a/index.php
+++ b/index.php
@@ -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();