cvs: qaweb / buildtest-process.php index.php /include release-qa.php
| From: | Derick Rethans | Date: | Thu, 06 May 2004 08:12:30 +0000 |
| Subject: | cvs: qaweb / buildtest-process.php index.php /include release-qa.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-17016@lists.php.net to get a copy of this message | ||
derick Thu May 6 04:12:30 2004 EDT
Modified files:
/qaweb buildtest-process.php index.php
/qaweb/include release-qa.php
Log:
- Fixed build test mails to only accept versions in which we are interested.
http://cvs.php.net/diff.php/qaweb/buildtest-process.php?r1=1.10&r2=1.11&ty=u
Index: qaweb/buildtest-process.php
diff -u qaweb/buildtest-process.php:1.10 qaweb/buildtest-process.php:1.11
--- qaweb/buildtest-process.php:1.10 Sat Aug 30 05:03:29 2003
+++ qaweb/buildtest-process.php Thu May 6 04:12:29 2004
@@ -1,4 +1,6 @@
<?php
+ include("include/release-qa.php");
+
if (isset($_POST['php_test_data'])) {
if (strlen($_POST['php_test_data']) > 90000) {
die("can't handle input that large.");
@@ -22,7 +24,9 @@
} else {
$version = "unknown";
}
- mail ("php-qa@lists.php.net", "Test results for $version [$status]",
base64_decode(urldecode($_POST['php_test_data'])), "From: noreply@php.net");
+ if (in_array($version, $BUILD_TEST_RELEASES)) {
+ mail ("php-qa@lists.php.net", "Test results for $version [$status]",
base64_decode(urldecode($_POST['php_test_data'])), "From: noreply@php.net");
+ }
}
?>
-$Revision: 1.10 $
+$Revision: 1.11 $
http://cvs.php.net/diff.php/qaweb/index.php?r1=1.71&r2=1.72&ty=u
Index: qaweb/index.php
diff -u qaweb/index.php:1.71 qaweb/index.php:1.72
--- qaweb/index.php:1.71 Thu May 29 00:10:45 2003
+++ qaweb/index.php Thu May 6 04:12:29 2004
@@ -1,9 +1,10 @@
<?php
include("include/functions.php");
+include("include/release-qa.php");
$TITLE = "PHP-QAT: Quality Assurance Team";
$SITE_UPDATE = date("D M d H:i:s Y T", filectime($SCRIPT_FILENAME))."<br
/>\n".
-'/* $Id: index.php,v 1.71 2003/05/29 04:10:45 sniper Exp $ */';
+'/* $Id: index.php,v 1.72 2004/05/06 08:12:29 derick Exp $ */';
common_header();
@@ -27,7 +28,7 @@
<ul>
<li>
-<?php include ('include/release-qa.php'); ?>
+<?php show_release_qa(); ?>
</li>
<li>
http://cvs.php.net/diff.php/qaweb/include/release-qa.php?r1=1.20&r2=1.21&ty=u
Index: qaweb/include/release-qa.php
diff -u qaweb/include/release-qa.php:1.20 qaweb/include/release-qa.php:1.21
--- qaweb/include/release-qa.php:1.20 Thu Apr 15 13:10:15 2004
+++ qaweb/include/release-qa.php Thu May 6 04:12:30 2004
@@ -1,4 +1,4 @@
-<?php /* $Id: release-qa.php,v 1.20 2004/04/15 17:10:15 iliaa Exp $ */
+<?php /* $Id: release-qa.php,v 1.21 2004/05/06 08:12:30 derick Exp $ */
/*
* This file generates the "Providing QA for PHP x.x.x.." task item
@@ -6,6 +6,7 @@
*/
$CURRENT_QA_RELEASE = '4.3.6RC3';
+$BUILD_TEST_RELEASES = array('4.3.6', '4.3.7-dev', '5.0.0RC2',
'5.0.0RC3-dev');
$RELEASE_PROCESS = false;
$RC_FILES = array (
@@ -48,7 +49,9 @@
}
/* Content */
-
+function show_release_qa() {
+ global $CURRENT_QA_RELEASE, $FILES, $MD5SUM;
+
echo "
<!-- RELEASE QA -->
<span class='lihack'>Providing QA for PHP {$CURRENT_QA_RELEASE}
@@ -66,5 +69,6 @@
<br />
<!-- END -->
";
+}
?>