Author: glen                         Date: Sun Feb 27 16:02:02 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated to 20050227 snapshot

---- Files affected:
SOURCES:
   eventum-scm-encode.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/eventum-scm-encode.patch
diff -u SOURCES/eventum-scm-encode.patch:1.3 
SOURCES/eventum-scm-encode.patch:1.4
--- SOURCES/eventum-scm-encode.patch:1.3        Thu Feb 10 03:40:50 2005
+++ SOURCES/eventum-scm-encode.patch    Sun Feb 27 17:01:57 2005
@@ -1,29 +1,3 @@
---- /tmp/process_cvs_commits.php       2005-01-17 20:51:29.343450373 +0200
-+++ ./misc/scm/process_cvs_commits.php 2005-01-17 20:51:10.639892676 +0200
-@@ -74,13 +78,17 @@
- if (count($matches) > 1) {
-     $issue_id = $matches[1];
-     $commit_msg = base64_encode($commit_msg);
-+    $cvs_module = base64_encode($cvs_module);
-+    $username = base64_encode($username);
-+    $issue_id = base64_encode($issue_id);
-+
-     // build the GET url to use
-     $ping_url = $eventum_relative_url . 
"scm_ping.php?module=$cvs_module&username=$username&commit_msg=$commit_msg";
-     $ping_url .= "&issue[]=$issue_id";
-     for ($i = 0; $i < count($modified_files); $i++) {
--        $ping_url .= "&files[$i]=" . $modified_files[$i]['filename'];
--        $ping_url .= "&old_versions[$i]=" . 
$modified_files[$i]['old_revision'];
--        $ping_url .= "&new_versions[$i]=" . 
$modified_files[$i]['new_revision'];
-+        $ping_url .= "&files[$i]=" . 
base64_encode($modified_files[$i]['filename']);
-+        $ping_url .= "&old_versions[$i]=" . 
base64_encode($modified_files[$i]['old_revision']);
-+        $ping_url .= "&new_versions[$i]=" . 
base64_encode($modified_files[$i]['new_revision']);
-     }
- 
-     $fp = fsockopen($eventum_domain, $eventum_port, $errno, $errstr, 30);
-
-
-
 from http://lists.mysql.com/eventum-devel/141
 2. Then the regular expression to match cvs commit messages on issue
 numbers doesn't work. It will accept almost anything with a number in
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/eventum-scm-encode.patch?r1=1.3&r2=1.4&f=u


_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to