This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 06ada9fd53d401089b99ed4db35e2f4dd184e9e1 (commit)
from 2b898149b826d25243f9f9452cd253aeac40003d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=06ada9fd53d401089b99ed4db35e2f4dd184e9e1
commit 06ada9fd53d401089b99ed4db35e2f4dd184e9e1
Author: Franck Villaume <[email protected]>
Date: Sat Jul 23 18:13:41 2016 +0200
fix debug files, fix SSL check
diff --git a/src/plugins/scmhook/library/scmgit/hooks/committracker/post.php
b/src/plugins/scmhook/library/scmgit/hooks/committracker/post.php
index 5a1e403..94d120e 100755
--- a/src/plugins/scmhook/library/scmgit/hooks/committracker/post.php
+++ b/src/plugins/scmhook/library/scmgit/hooks/committracker/post.php
@@ -126,8 +126,8 @@ $log = trim(`git log -n 1 --format=%s $newrev`);
$changed = trim(`git log -n 1 --format=%b --name-only -p $newrev`);
if (isset($git_tracker_debug) && $git_tracker_debug == 1) {
- $tempfile = tempnam('/tmp', 'debug.post');
- $file=fopen($tempfile, 'a+');
+ $git_tracker_debug_file =
sys_get_temp_dir().'/scmhook_git_committracker.debug';
+ $file=fopen($git_tracker_debug_file, 'a+');
fwrite($file,"Vars filled:\n");
fwrite($file,"arg : " . print_r($argv,true) . " \n");
fwrite($file,"rev : " . $newrev . " \n");
@@ -205,6 +205,8 @@ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $vars);
+curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
+curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
$result = curl_exec($ch);
//$info = curl_getinfo($ch);
curl_close($ch);
diff --git a/src/plugins/scmhook/library/scmsvn/hooks/committracker/post.php
b/src/plugins/scmhook/library/scmsvn/hooks/committracker/post.php
index 197d0f8..3df36df 100755
--- a/src/plugins/scmhook/library/scmsvn/hooks/committracker/post.php
+++ b/src/plugins/scmhook/library/scmsvn/hooks/committracker/post.php
@@ -92,7 +92,6 @@ USAGE;
$repository = $argv[1];
$revision = $argv[2];
$svn_tracker_debug = 0;
-$svn_tracker_debug_file = sys_get_temp_dir().'scmhook_svn_committracker.debug';
$UserName = trim(`svnlook author -r $revision $repository`); //username of
author
$date = trim(`svnlook date -r $revision $repository`); //date
@@ -100,6 +99,7 @@ $log = trim(`svnlook log -r $revision $repository`); //
the log
$changed = trim(`svnlook changed -r $revision $repository | sed 's/[A-Z]*
//'`); // the filenames
if (isset($svn_tracker_debug) && $svn_tracker_debug == 1) {
+ $svn_tracker_debug_file =
sys_get_temp_dir().'/scmhook_svn_committracker.debug';
$file = fopen($svn_tracker_debug_file, 'a+');
fwrite($file,"Vars filled:\n");
fwrite($file,"username: " . $UserName . "\n");
@@ -173,6 +173,8 @@ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $vars);
+curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
+curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
$result = curl_exec($ch);
//$info = curl_getinfo($ch);
curl_close($ch);
-----------------------------------------------------------------------
Summary of changes:
src/plugins/scmhook/library/scmgit/hooks/committracker/post.php | 6 ++++--
src/plugins/scmhook/library/scmsvn/hooks/committracker/post.php | 4 +++-
2 files changed, 7 insertions(+), 3 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits