Alexandre Julliard : patches: Add a "needs test" patch rejection cause.

Alexandre Julliard julliard at winehq.org
Thu Apr 8 10:58:21 CDT 2010


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Apr  8 16:45:16 2010 +0200

patches: Add a "needs test" patch rejection cause.

---

 patches/expire      |    1 +
 patches/index.cgi   |    2 ++
 patches/patches.css |    1 +
 3 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/patches/expire b/patches/expire
index 275dd90..0b3ac8c 100755
--- a/patches/expire
+++ b/patches/expire
@@ -35,6 +35,7 @@ my %status_expiry =
  "split"      => 7,
  "depend"     => 7,
  "superseded" => 1,
+ "testcase"   => 7,
  "testfail"   => 7,
 );
 
diff --git a/patches/index.cgi b/patches/index.cgi
index 36826f8..54da3ff 100755
--- a/patches/index.cgi
+++ b/patches/index.cgi
@@ -37,6 +37,7 @@ my %status_descr =
  "split"      => "Needs splitting",
  "depend"     => "Dependency",
  "superseded" => "Superseded",
+ "testcase"   => "Needs tests",
  "testfail"   => "Test failure",
 );
 
@@ -50,6 +51,7 @@ my @legend =
  [ "depend",     "<ul><li>The patch is part of a series in which a previous patch hasn't been applied. Resend when the dependent patch is fixed.</li></ul>" ],
  [ "superseded", "<ul><li>An updated version of the patch has been submitted.</li>" .
                  "<li>Someone else fixed the problem already.</li></ul>" ],
+ [ "testcase",   "<ul><li>You need to write some test cases demonstrating that the patch is correct.</li></ul>" ],
  [ "other",      "<ul><li>The patch belongs to another WineHQ project (website, appdb, etc.) and will be applied by the respective maintainer.</li></ul>" ],
  [ "applyfail",  "<ul><li>The patch got mangled in transit.</li>" .
                  "<li>It's not relative to the latest git.</li>" .
diff --git a/patches/patches.css b/patches/patches.css
index 58980c5..c763c98 100644
--- a/patches/patches.css
+++ b/patches/patches.css
@@ -49,6 +49,7 @@ tr.odd { background-color: #f8e8e8; }
 .committed,  .committed :link,  .committed :visited  { color: green; }
 .depend,     .depend :link,     .depend :visited     { color: #e08000; }
 .superseded, .superseded :link, .superseded :visited { color: #e08000; }
+.testcase,   .testcase :link,   .testcase :visited   { color: #e08000; }
 .other,      .other :link,      .other :visited      { color: #e08000; }
 .applyfail,  .applyfail :link,  .applyfail :visited  { color: red; }
 .buildfail,  .buildfail :link,  .buildfail :visited  { color: red; }




More information about the wine-cvs mailing list