svn: /pear/pearweb/trunk/ include/pear-config.php public_html/package-info.php
| From: | Daniel O'Connor | Date: | Mon, 16 Aug 2010 05:40:31 +0000 |
| Subject: | svn: /pear/pearweb/trunk/ include/pear-config.php public_html/package-info.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9615@lists.php.net to get a copy of this message | ||
clockwerx Mon, 16 Aug 2010 05:40:31 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=302307
Log:
Add a link to unit test results
Changed paths:
U pear/pearweb/trunk/include/pear-config.php
U pear/pearweb/trunk/public_html/package-info.php
Modified: pear/pearweb/trunk/include/pear-config.php
===================================================================
--- pear/pearweb/trunk/include/pear-config.php 2010-08-16 05:30:07 UTC (rev 302306)
+++ pear/pearweb/trunk/include/pear-config.php 2010-08-16 05:40:31 UTC (rev 302307)
@@ -105,6 +105,12 @@
define('PROPOSAL_MAIL_FROM', 'PEPr <bounce-no-user@php.net>');
}
+if (isset($_ENV['PEARWEB_CI_SERVER'])) {
+ define('PEARWEB_CI_SERVER', $_ENV['PEARWEB_CI_SERVER']);
+} else {
+ define('PEARWEB_CI_SERVER', 'http://test.pear.php.net:8080/cruisecontrol/');
+}
+
if (isset($_ENV['PEAR_TMPDIR'])) {
define('PEAR_TMPDIR', $_ENV['PEAR_TMPDIR']);
// Where pearweb's temporary uploads should be stored
Modified: pear/pearweb/trunk/public_html/package-info.php
===================================================================
--- pear/pearweb/trunk/public_html/package-info.php 2010-08-16 05:30:07 UTC (rev 302306)
+++ pear/pearweb/trunk/public_html/package-info.php 2010-08-16 05:40:31 UTC (rev 302307)
@@ -485,6 +485,11 @@
echo '<li><a href="/feeds/pkg_' . strtolower(htmlspecialchars($name)) .
'.rss" title="RSS feed for the releases of the package">RSS release
feed</a></li>' . "\n";
echo '<li><a href="/package-stats.php?pid=' .
$pkg['packageid'] . '&cid=' .
$pkg['categoryid'] . '" title="View download statistics for this
package">View Download Statistics</a></li>' . "\n";
+
+ if (PEARWEB_CI_SERVER) {
+ echo '<li><a href="' PEARWEB_CI_SERVER . 'buildresults/'
. htmlspecialchars($name) . '">Check trunk unit tests</a> (if
applicable)</li>' . "\n";
+ }
+
echo '</ul>' . "\n";
echo '</td>' . "\n";
echo '</tr>' . "\n";