ChangeSet ID: 31023
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/04/01 17:34:33
Modified files:
include : testData.php version.php
Log message:
Chris Morgan <cmorgan(a)alum.wpi.edu>
Rename testData::get_test_for_versionid() to testData::getNewestTestIdFromVersionId() so the
name of the method better describes the value the method is returning
Patch: http://cvs.winehq.org/patch.py?id=31023
Old revision New revision Changes Path
1.36 1.37 +1 -1 appdb/include/testData.php
1.109 1.110 +1 -1 appdb/include/version.php
Index: appdb/include/testData.php
diff -u -p appdb/include/testData.php:1.36 appdb/include/testData.php:1.37
--- appdb/include/testData.php:1.36 1 Apr 2007 22:34:33 -0000
+++ appdb/include/testData.php 1 Apr 2007 22:34:33 -0000
@@ -466,7 +466,7 @@ class testData{
}
/* retrieve the latest test result for a given version id */
- function get_test_for_versionid($iVersionId)
+ function getNewestTestIdFromVersionId($iVersionId)
{
$sQuery = "SELECT testingId FROM testResults WHERE
versionId = '?'
Index: appdb/include/version.php
diff -u -p appdb/include/version.php:1.109 appdb/include/version.php:1.110
--- appdb/include/version.php:1.109 1 Apr 2007 22:34:33 -0000
+++ appdb/include/version.php 1 Apr 2007 22:34:33 -0000
@@ -881,7 +881,7 @@ class Version {
if(!$oTest->iTestingId)
{
/* fetch a new test id for this version */
- $iTestingId = testData::get_test_for_versionid($this->iVersionId);
+ $iTestingId = testData::getNewestTestIdFromVersionId($this->iVersionId);
$oTest = new testData($iTestingId);
}
ChangeSet ID: 31019
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/03/31 19:08:12
Modified files:
include : maintainer.php
unit_test : test_maintainer.php
Log message:
Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Avoid overlapping maintainer entries. When a user becomes a super maintainer of an
application remove all of their maintainer entries for the application versions. Update unit
tests to test maintainter overlapping.
Patch: http://cvs.winehq.org/patch.py?id=31019
Old revision New revision Changes Path
1.36 1.37 +29 -0 appdb/include/maintainer.php
1.7 1.8 +126 -18 appdb/unit_test/test_maintainer.php