ChangeSet ID: 31323
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/08/08 21:12:32
Modified files:
. : index.php
Log message:
Chris Morgan <cmorgan(a)alum.wpi.edu>
Add a request for application maintainers to the main page of the appdb site. We can't keep up
with the number of test results we are receiving and we need to get a handle on the existing
queues.
Patch: http://cvs.winehq.org/patch.py?id=31323
Old revision New revision Changes Path
1.53 1.54 +33 -5 appdb/index.php
Index: appdb/index.php
diff -u -p appdb/index.php:1.53 appdb/index.php:1.54
--- appdb/index.php:1.53 9 Aug 2007 2:12:32 -0000
+++ appdb/index.php 9 Aug 2007 2:12:32 -0000
@@ -13,20 +13,21 @@ require(BASE."include/incl.php");
apidb_header("Wine Application Database");
?>
- <img src="images/appdb_montage.jpg" width=391 height=266 align=right alt="Wine AppDB">
+ <img style="float:right;" src="images/appdb_montage.jpg" width=391 height=266 alt="Wine AppDB">
<div class='default_container'>
<h1>Welcome</h1>
-<p>This is the Wine Application Database (AppDB). From here you get info on application
+<p>This is the Wine Application Database (AppDB). Here you can get information on application
compatibility with Wine.</p>
<?php
$str_benefits="
<ul>
- <li>Ability to <a href=\"".BASE."help/?sTopic=voting\" title=\"help on voting\" style=\"cursor: help\">vote</a> on your favourite applications</li>
- <li>Ability to customize the layout and behaviour of the AppDB and comments system</li>
+ <li>Ability to <a href=\"".BASE."help/?sTopic=voting\" title=\"help on voting\" style=\"cursor: help\">vote</a> on your favorite applications</li>
+ <li>Ability to customize the layout and behavior of the AppDB and comments system</li>
<li>Take credit for your witty posts</li>
- <li>Ability to sign up to be an <a href=\"".BASE."help/?sTopic=maintainer_guidelines\" title=\"informations about application maintainers\" style=\"cursor: help\">application maintainer</a>.</li>
+ <li>Ability to sign up to be an <a href=\"".BASE."help/?sTopic=maintainer_guidelines\"
+ title=\"information about application maintainers\" style=\"cursor: help\">application maintainer</a>.</li>
<li>Submit new applications and versions.</li>
<li>Submit new screenshots.</li>
</ul>
@@ -53,6 +54,33 @@ if(!$_SESSION['current']->isLoggedIn())
stomping out Wine issues will be greatly appreciated.</p>";
}
+
+echo "<div style='clear:both; border: 2px solid; background-color: #d7d7d7; font-weight: bold; padding:4px;'>";
+echo "<p style='font-size:large;'>Do you use Wine regularly? Interested in helping other users and".
+ " keeping information about your favorite applications up-to-date?</p>";
+echo "<p style='font-size: medium;'>Consider".
+ " becoming an <a href=\"".BASE."help/?sTopic=maintainer_guidelines\"".
+ " title=\"information about application maintainers\" style=\"cursor: help\">application maintainer</a>".
+ " for the applications that you use under Wine.</p>";
+echo "<p style='font-size:medium;'>As an application maintainer you'll get to post HOWTOs to help other users".
+ " run the application. You'll be able to review and process user submitted screenshots".
+ " and test results.</p>";
+echo "<p style='font-size:medium;'>Dozens of new test results and screenshots are submitted each day and we can".
+ " use your help to keep user contributed information reviewed and processed in a timely fashion.".
+ " Please consider becoming an application maintainer.";
+echo "<p style='font-size:medium;'>- The Appdb Admins<br/> <a href=\"mailto:".APPDB_OWNER_EMAIL."\">".APPDB_OWNER_EMAIL."</a></p>";
+
+if(!$_SESSION['current']->isLoggedIn())
+{
+ echo "<p style='font-size: medium;'>To become a maintainer, [<a href=\"".login_url()."\">log in</a>]".
+ " or [<a href=\"account.php?sCmd=new\">register</a>] and on the application or version page".
+ ", depending on whether you want to maintain all versions of an application or a specific version,".
+ " click on the <i>'Become a super maintainer of this app'</i> or <i>'Be a maintainer for this version'</i>".
+ " button. We'll process your request within a day or so.</p>";
+}
+
+echo "</div>";
+
?>
<?php
ChangeSet ID: 31322
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/08/08 18:40:34
Modified files:
include : maintainer.php
Log message:
Chris Morgan <cmorgan(a)alum.wpi.edu>
Fix formatting issue with 2nd notification email where we didn't specify that the duration was
in days and we were missing a space after the day interval.
Patch: http://cvs.winehq.org/patch.py?id=31322
Old revision New revision Changes Path
1.54 1.55 +2 -2 appdb/include/maintainer.php
Index: appdb/include/maintainer.php
diff -u -p appdb/include/maintainer.php:1.54 appdb/include/maintainer.php:1.55
--- appdb/include/maintainer.php:1.54 8 Aug 2007 23:40:34 -0000
+++ appdb/include/maintainer.php 8 Aug 2007 23:40:34 -0000
@@ -1131,8 +1131,8 @@ class maintainer
// so a more active person can fill the spot
$oNotificationUpdate->sMsg.= "\nThis your second notification of queued entries.";
$oNotificationUpdate->sMsg.= " If the queued entries are not processsed within";
- $oNotificationUpdate->sMsg.= " the next ".iNotificationIntervalDays. "we will remove";
- $oNotificationUpdate->sMsg.= " your maintainership for this application/version";
+ $oNotificationUpdate->sMsg.= " the next ".iNotificationIntervalDays. " days we will";
+ $oNotificationUpdate->sMsg.= " remove your maintainership for this application/version";
$oNotificationUpdate->sMsg.= " so a more active person can fill the spot.";
break;
case 3: // remove their maintainership and notify the maintainer why we are doing so
ChangeSet ID: 31321
CVSROOT: /opt/cvs-commit
Module name: tools
Changes by: jnewman(a)winehq.org 2007/08/08 16:43:02
Modified files:
winetest : dissect gather winetest.cgi winetest.conf
Log message:
Paul Vriens <paul.vriens.wine(a)gmail.com>
Make a distinction between a real winetest crash and a partial report file
Patch: http://cvs.winehq.org/patch.py?id=31321
Old revision New revision Changes Path
1.23 1.24 +10 -2 tools/winetest/dissect
1.24 1.25 +17 -4 tools/winetest/gather
1.8 1.9 +3 -3 tools/winetest/winetest.cgi
1.4 1.5 +5 -1 tools/winetest/winetest.conf
Index: tools/winetest/dissect
diff -u -p tools/winetest/dissect:1.23 tools/winetest/dissect:1.24
--- tools/winetest/dissect:1.23 8 Aug 2007 21:43: 2 -0000
+++ tools/winetest/dissect 8 Aug 2007 21:43: 2 -0000
@@ -29,7 +29,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
use strict;
-use vars qw/$builds $queuedir $datadir $maxmult $fileversion/;
+use vars qw/$builds $queuedir $datadir $maxmult $fileversion $maxfilesize/;
require "winetest.conf";
use File::Temp qw/tempdir/;
@@ -56,6 +56,9 @@ my $tmpfile = "$tmpdir/dissect.tmp";
open IN, "<:raw", $report or mydie "can't read $report: $!";
open SUM, ">$tmpdir/summary.txt" or mydie "can't write $tmpdir/summary.txt: $!";
+# Get the size of the report file
+my $filesize = -s "$report";
+
$_ = <IN>;
/^Version (\d+)\r?$/ or mydie "no version header: $_";
$1 eq $fileversion or mydie "illegal version: $1\n";
@@ -184,8 +187,13 @@ while (<IN>) {
}
}
if (defined $unit) {
+ # Either winetest crashed or the report file was cut off
$_="";
- $result = "failed - - -";
+ if ($filesize == $maxfilesize) {
+ $result = "failed filelimit - -";
+ } else {
+ $result = "failed crash - -";
+ }
goto FINISH;
}
close SUM or mydie "error writing $tmpdir/summary.txt: $!";
Index: tools/winetest/gather
diff -u -p tools/winetest/gather:1.24 tools/winetest/gather:1.25
--- tools/winetest/gather:1.24 8 Aug 2007 21:43: 2 -0000
+++ tools/winetest/gather 8 Aug 2007 21:43: 2 -0000
@@ -112,8 +112,10 @@ foreach my $file (glob "$datadir/$build/
} else {
$group->{extrema}->{$testname} = [$error, $error];
}
- } elsif ($todo eq "-") {
+ } elsif ($todo eq "crash") {
$testref->{crash} = $testname;
+ } elsif ($todo eq "filelimit") {
+ $testref->{filelimit} = $testname;
}
my $prevdigest = \$group->{digests}->{$testname};
$$prevdigest = ($count eq "failed" || $error || $skipped ||
@@ -135,13 +137,16 @@ foreach my $group (@groups) {
$group->{digests}->{$testname} = "differ";
my ($dll, $subtest) = split(/:/, $testname);
my $crash = $test->{crash};
+ my $filelimit = $test->{filelimit};
if (exists $test->{dllmissing}->{$dll}) {
# Mark this test as missing because of a missing dll
$test->{results}->{$testname} = ["dll missing", "-", "-", "-"];
} elsif (defined $crash && $testname gt $crash) {
- # Mark this test as missing because of what looks like a winetest crash.
- # The cause of that is most likely a partial report file.
+ # Mark this test as missing because of a winetest crash.
$test->{results}->{$testname} = ["winetest crash", "-", "-", "-"];
+ } elsif (defined $filelimit && $testname gt $filelimit) {
+ # Mark this test as missing because of a partial report file.
+ $test->{results}->{$testname} = ["file limit", "-", "-", "-"];
} else {
# Mark this test as missing for an unknown reason
$test->{results}->{$testname} = ["test missing", "-", "-", "-"];
@@ -234,7 +239,8 @@ sub singletest {
my $file = "$test->{dir}/$testname.txt";
my ($count, $todo, $error, $skipped) = @{$test->{results}->{$testname}};
if ($count eq "failed") {
- my $msg = $todo eq "-"?"crash":
+ my $msg = $todo eq "crash"?"crash":
+ $todo eq "filelimit"?"file limit":
$todo == 258?"timeout":"failed";
my $fail = -r "$datadir/$build/$file"?"<a href=\"$file\">$msg</a>":$msg;
print OUT " <td class=\"note\">$fail</td>\n";
@@ -253,6 +259,13 @@ EOF
onMouseOver="Test did not run as winetest crashed";
>.</a></td>
EOF
+ } elsif ($count eq "file limit") {
+ print OUT <<"EOF";
+ <td class="skip_fail"><a
+ title="Test is missing because of a partial report file"
+ onMouseOver="Test is missing because of a partial report file";
+ >.</a></td>
+EOF
} elsif ($count eq "test missing") {
print OUT <<"EOF";
<td class="skip_fail"><a
Index: tools/winetest/winetest.cgi
diff -u -p tools/winetest/winetest.cgi:1.8 tools/winetest/winetest.cgi:1.9
--- tools/winetest/winetest.cgi:1.8 8 Aug 2007 21:43: 2 -0000
+++ tools/winetest/winetest.cgi 8 Aug 2007 21:43: 2 -0000
@@ -17,7 +17,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
use strict;
-use vars qw/$queuedir/;
+use vars qw/$queuedir $maxfilesize/;
BEGIN {
require "winetest.conf";
@@ -26,8 +26,8 @@ BEGIN {
use File::Temp qw(tempdir);
use CGI qw(:standard);
-# This should be in line with programs\winetest\send.c
-$CGI::POST_MAX = 1.5 * 1024 * 1025;
+# Cater for some overhead
+$CGI::POST_MAX = $maxfilesize + 1024;
my $name = param ("reportfile");
my $error = cgi_error ();
Index: tools/winetest/winetest.conf
diff -u -p tools/winetest/winetest.conf:1.4 tools/winetest/winetest.conf:1.5
--- tools/winetest/winetest.conf:1.4 8 Aug 2007 21:43: 2 -0000
+++ tools/winetest/winetest.conf 8 Aug 2007 21:43: 2 -0000
@@ -1,6 +1,6 @@
# Hey Emacs! This is a -*-cperl-*- file!
-$root = "/home/laxdragon/wine/tools/winetest";
+$root = "/wine/winetest";
$builds = "$root/winetest.builds";
# These two below should be on the same filesystem
$queuedir = "$root/queue";
@@ -12,4 +12,8 @@ $maxmult = 10;
# File version number
$fileversion = 4;
+# Maximum size of the report file
+# This should be in line with programs\winetest\send.c
+$maxfilesize = 1.5 * 1024 * 1024;
+
1; # keep require happy