[Mageia-sysadm] [321] add progress percent + invitation to help ( links to packaging wiki page)
root at mageia.org
root at mageia.org
Wed Jan 19 18:03:00 CET 2011
Revision: 321
Author: rda
Date: 2011-01-19 18:03:00 +0100 (Wed, 19 Jan 2011)
Log Message:
-----------
add progress percent + invitation to help (links to packaging wiki page)
Modified Paths:
--------------
build_system/web/index.php
Modified: build_system/web/index.php
===================================================================
--- build_system/web/index.php 2011-01-18 22:46:16 UTC (rev 320)
+++ build_system/web/index.php 2011-01-19 17:03:00 UTC (rev 321)
@@ -227,12 +227,14 @@
# 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>
- (<a href="%s">list of Mandriva packages still present</a>).</p>',
+ '<p><a href="%s">%d src.rpm</a> rebuilt for Mageia out of <a href="%s">%d</a> (%d%%)
+ (<a href="%s">list of 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,
- 'data/src.mdv.txt'
+ $nb_rpm > 0 ? floor($nb_rpm_mga / $nb_rpm * 100) : 0,
+ 'data/src.mdv.txt',
+ 'http://www.mageia.org/wiki/doku.php?id=packaging#starting_package_import'
);
#########################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110119/3d1eb72e/attachment.html>
More information about the Mageia-sysadm
mailing list