Francois Gouget : tesbot/ddl: Allow up to 128 characters for the job titles (aka Remarks).

Alexandre Julliard julliard at winehq.org
Fri Nov 2 15:37:54 CDT 2012


Module: tools
Branch: master
Commit: 577c3452e53e57f6838cf29cdbebfc7541e3fff3
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=577c3452e53e57f6838cf29cdbebfc7541e3fff3

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Fri Nov  2 00:08:35 2012 +0100

tesbot/ddl: Allow up to 128 characters for the job titles (aka Remarks).

---

 testbot/ddl/update19.sql        |    4 ++++
 testbot/ddl/winetestbot.sql     |    2 +-
 testbot/lib/WineTestBot/Jobs.pm |    2 +-
 testbot/web/Submit.pl           |    2 +-
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/testbot/ddl/update19.sql b/testbot/ddl/update19.sql
new file mode 100644
index 0000000..ca2d462
--- /dev/null
+++ b/testbot/ddl/update19.sql
@@ -0,0 +1,4 @@
+USE winetestbot;
+
+ALTER TABLE Jobs
+  MODIFY Remarks VARCHAR(128) NULL;
diff --git a/testbot/ddl/winetestbot.sql b/testbot/ddl/winetestbot.sql
index 75e3318..bd06ec8 100644
--- a/testbot/ddl/winetestbot.sql
+++ b/testbot/ddl/winetestbot.sql
@@ -110,7 +110,7 @@ CREATE TABLE Jobs
   UserName   VARCHAR(40) NOT NULL,
   Priority   INT(1)      NOT NULL,
   Status     ENUM('queued', 'running', 'completed', 'failed') NOT NULL,
-  Remarks    VARCHAR(50) NULL,
+  Remarks    VARCHAR(128) NULL,
   Submitted  DATETIME    NULL,
   Ended      DATETIME    NULL,
   PatchId    INT(7)      NULL,
diff --git a/testbot/lib/WineTestBot/Jobs.pm b/testbot/lib/WineTestBot/Jobs.pm
index f4be9dc..e1401be 100644
--- a/testbot/lib/WineTestBot/Jobs.pm
+++ b/testbot/lib/WineTestBot/Jobs.pm
@@ -325,7 +325,7 @@ BEGIN
     CreateItemrefPropertyDescriptor("User", "Author", !1, 1, \&WineTestBot::Users::CreateUsers, ["UserName"]),
     CreateBasicPropertyDescriptor("Priority", "Priority", !1, 1, "N", 1),
     CreateEnumPropertyDescriptor("Status", "Status", !1, 1, ['queued', 'running', 'completed', 'failed']),
-    CreateBasicPropertyDescriptor("Remarks", "Remarks", !1, !1, "A", 50),
+    CreateBasicPropertyDescriptor("Remarks", "Remarks", !1, !1, "A", 128),
     CreateBasicPropertyDescriptor("Submitted", "Submitted", !1, !1, "DT", 19),
     CreateBasicPropertyDescriptor("Ended", "Ended", !1, !1, "DT", 19),
     CreateItemrefPropertyDescriptor("Patch", "Submitted from patch", !1, !1, \&WineTestBot::Patches::CreatePatches, ["PatchId"]),
diff --git a/testbot/web/Submit.pl b/testbot/web/Submit.pl
index d774b9a..56e542d 100644
--- a/testbot/web/Submit.pl
+++ b/testbot/web/Submit.pl
@@ -42,7 +42,7 @@ sub _initialize
   $self->{Page} = $self->GetParam("Page") || 1;
 
   my @PropertyDescriptors1 = (
-    CreateBasicPropertyDescriptor("Remarks", "Remarks", !1, !1, "A", 50),
+    CreateBasicPropertyDescriptor("Remarks", "Remarks", !1, !1, "A", 128),
   );
   $self->{PropertyDescriptors1} = \@PropertyDescriptors1;
 




More information about the wine-cvs mailing list