appdb/include testData.php
WineHQ
wineowner at wine.codeweavers.com
Wed Jun 6 21:04:16 CDT 2007
ChangeSet ID: 31160
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner at winehq.org 2007/06/06 21:04:16
Modified files:
include : testData.php
Log message:
Chris Morgan <cmorgan at alum.wpi.edu>
Add a column to the test data queue to indicate whether a test result is for a application version
that has maintainers. This lets admins defer processing test results to give appliction and version maintiners
a chance to do so.
Patch: http://cvs.winehq.org/patch.py?id=31160
Old revision New revision Changes Path
1.54 1.55 +7 -0 appdb/include/testData.php
Index: appdb/include/testData.php
diff -u -p appdb/include/testData.php:1.54 appdb/include/testData.php:1.55
--- appdb/include/testData.php:1.54 7 Jun 2007 2: 4:16 -0000
+++ appdb/include/testData.php 7 Jun 2007 2: 4:16 -0000
@@ -897,6 +897,7 @@ class testData{
"Application",
"Version",
"Release",
+ "Has maintainer",
"Rating");
return $aCells;
}
@@ -911,12 +912,18 @@ class testData{
$oVersion = new version($this->iVersionId);
$oApp = new application($oVersion->iAppId);
$oUser = new user($this->iSubmitterId);
+
+ //
+ $hMaintainers = maintainer::getMaintainersForAppIdVersionId(null, $this->iVersionId);
+ $bHasMaintainer = (mysql_num_rows($hMaintainers) == 0) ? false : true;
+
$aCells = array(
print_date(mysqltimestamp_to_unixtimestamp($this->sSubmitTime)),
$oUser->objectMakeLink(),
$oApp->objectMakeLink(),
$oVersion->objectMakeLink(),
$this->sTestedRelease,
+ ($bHasMaintainer ? "YES" : "no"),
$this->sTestedRating);
if($this->canEdit() or $this->sQueued == "rejected")
More information about the wine-cvs
mailing list