[WineHQ] service.cgi fixes

Dimitrie O. Paun dpaun at rogers.com
Thu Jun 10 16:48:09 CDT 2004


ChangeLog
    Do not include irrelevant stuff in the _history.
    Do not instruct the client to verify the .sig, 
    it's a b0rken idea anyway.
-------------- next part --------------
Index: winetest/service.cgi
===================================================================
RCS file: /home/wine/tools/winetest/service.cgi,v
retrieving revision 1.22
diff -u -r1.22 service.cgi
--- winetest/service.cgi	21 May 2004 16:31:26 -0000	1.22
+++ winetest/service.cgi	10 Jun 2004 21:46:18 -0000
@@ -73,11 +73,16 @@
         if (param($program)) {
 	    my @history = split(/,/, param("$program" . "_history"));
 	    push (@history, param($program));
+	    my @newhist = ();
 	    foreach (@history) {
-	        delete $$urls{$_};
-	        delete $$cookies{$_};
+		my ($prg, $rel) = split(/-/, $_);
+		if (($prg eq $program) and ($rel eq $build)) {
+	            delete $$urls{$_};
+	            delete $$cookies{$_};
+		    push (@newhist, $_);
+		}
 	    }
-	    $winetest_history = join ',', @history;
+	    $winetest_history = join ',', @newhist;
         }
 	if (scalar(%$urls)) {
             &send_upgrade($urls, $winetest_history);
@@ -237,8 +242,6 @@
     print "error_sleep 3600\n";
 
     print "download $name $url\n";
-    print "download $name.sig $url.sig\n";
-    print "gpgverify $name.sig\n";
 
     if ($program eq "winrash") {
 	print "run $name /S\n";


More information about the wine-patches mailing list