Module: tools
Branch: master
Commit: 34adab8664660164d7dbf197bbd2204695373cde
URL: http://source.winehq.org/git/tools.git/?a=commit;h=34adab8664660164d7dbf197…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Fri Dec 8 04:29:39 2017 +0100
testbot: Minor cosmetic tweaks to the installation guide.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/doc/INSTALL.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testbot/doc/INSTALL.txt b/testbot/doc/INSTALL.txt
index 9947150..15b2b91 100644
--- a/testbot/doc/INSTALL.txt
+++ b/testbot/doc/INSTALL.txt
@@ -42,7 +42,7 @@ General setup for the web site:
cd var
touch log
mkdir jobs latest patches socket staging
- sudo chown WWWRUN:winehq staging
+ sudo chown wwwrun:winehq staging
chmod g+w *
- Install scripts/initd in /etc/init.d/winetestbot and adjust the paths and
user name if necessary. Then activate it.
@@ -120,7 +120,7 @@ Dependencies:
- Create a Linux VM and set it up so it can generate PE executables
with MinGW. For instance on Debian you should install autoconf,
bison, flex, gcc, gcc-mingw-w64, git and make. If you are going to
- have 64bit VMs then make sure MinGW can generate 64bit PE executables.
+ have 64 bit VMs then make sure MinGW can generate 64 bit PE executables.
- You may also want to install ccache.
- You will also need genisoimage.
- Create a new user, 'testbot' for instance, and log in as that user.
Module: tools
Branch: master
Commit: 942bf9d4885ccd0ba940aec95f3e26a0b905642b
URL: http://source.winehq.org/git/tools.git/?a=commit;h=942bf9d4885ccd0ba940aec9…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Fri Dec 8 04:20:24 2017 +0100
testbot: Document Collection::DeleteItem().
In particular note that it cascades to other tables that have foreign
keys to the row being deleted.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/lib/ObjectModel/Collection.pm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/testbot/lib/ObjectModel/Collection.pm b/testbot/lib/ObjectModel/Collection.pm
index 1b29ec1..6c1bd1d 100644
--- a/testbot/lib/ObjectModel/Collection.pm
+++ b/testbot/lib/ObjectModel/Collection.pm
@@ -550,6 +550,20 @@ sub GetMasterCols($)
return ($self->{MasterColNames}, $self->{MasterColValues});
}
+=pod
+=over 12
+
+=item C<DeleteItem()>
+
+Deletes the specified Item from the Collection and the database backing it.
+
+Note that if there are other tables with a foreign key referencing this item
+the corresponding rows will be deleted too. So for instance deleting a Job
+will also delete the Steps and Tasks it is composed of.
+
+=back
+=cut
+
sub DeleteItem($$)
{
my ($self, $Item) = @_;
Module: tools
Branch: master
Commit: 7aa19f46807d2db27a2203c62e6b1e7e8f65f62a
URL: http://source.winehq.org/git/tools.git/?a=commit;h=7aa19f46807d2db27a2203c6…
Author: Francois Gouget <fgouget(a)free.fr>
Date: Fri Dec 8 04:27:47 2017 +0100
testbot: Assorted wording fixes.
Signed-off-by: Francois Gouget <fgouget(a)free.fr>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/bin/WineSendLog.pl | 2 +-
testbot/lib/ObjectModel/Collection.pm | 2 +-
testbot/lib/WineTestBot/Users.pm | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index 2e23976..62024d9 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -394,7 +394,7 @@ EOF
{
# Filter out failures that happened in the full test suite:
# the test suite is run against code which is already in Wine
- # so all any failure it reported not caused by this patch.
+ # so any failure it reported is not caused by this patch.
$MessagesFromLog = CompareLogs("$LatestName.log", "$TaskDir/log",
$BaseName, $StepTask->CmdLineArg);
}
diff --git a/testbot/lib/ObjectModel/Collection.pm b/testbot/lib/ObjectModel/Collection.pm
index 6c1bd1d..d441860 100644
--- a/testbot/lib/ObjectModel/Collection.pm
+++ b/testbot/lib/ObjectModel/Collection.pm
@@ -521,7 +521,7 @@ sub KeyChanged($$$)
if (defined($self->{Items}{$NewKey}))
{
- die "Cant change key, new key $NewKey already exists";
+ die "Could not change key, new key $NewKey already exists";
}
$FullKey = $self->GetFullKey($NewKey);
$ScopeItems->{$FullKey} = $Item if (defined $FullKey);
diff --git a/testbot/lib/WineTestBot/Users.pm b/testbot/lib/WineTestBot/Users.pm
index 2139b6d..7b18df9 100644
--- a/testbot/lib/WineTestBot/Users.pm
+++ b/testbot/lib/WineTestBot/Users.pm
@@ -190,7 +190,7 @@ From: $RobotEMail
To: $Recipient
Subject: winetestbot account request
-password reset request for your account $UserName was received via the website.
+A password reset request for your account $UserName was received via the website.
You can pick a new password by going to:
$URL
EOF