com karma: Fix format of the bugsweb post: hooks/post-receive.bugsweb

From: Date: Wed, 21 Mar 2012 14:07:54 +0000
Subject: com karma: Fix format of the bugsweb post: hooks/post-receive.bugsweb
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-68114@lists.php.net to get a copy of this message
Commit: 228b3322b737e364c3cbaf37567142768e015f92 Author: Florian Anderiasch <fa@php.net> Wed, 21 Mar 2012 15:07:54 +0100 Parents: bacc09d8928b6a04b9e8337d089eebd96f4a795d Branches: master Link: http://git.php.net/?p=karma.git;a=commitdiff;h=228b3322b737e364c3cbaf37567142768e015f92 Log: Fix format of the bugsweb post Changed paths: M hooks/post-receive.bugsweb Diff: 228b3322b737e364c3cbaf37567142768e015f92 diff --git a/hooks/post-receive.bugsweb b/hooks/post-receive.bugsweb index 683ffe2..6bf432e 100755 --- a/hooks/post-receive.bugsweb +++ b/hooks/post-receive.bugsweb @@ -71,8 +71,9 @@ foreach ($rpath as $commit) { $commit_info = array(); $commit_info['log_message'] = $commitMsg; $commit_info['author'] = $committer; + $commit_info['author'] = preg_replace("#@php\.net$#", "", $committer); $viewvc_url_prefix = sprintf( - 'http://git.php.net/?p=%s.git;a=commit;h=', + 'http://git.php.net/?p=%s;a=commit;h=', $hook->getRepositoryName() ); $REV = $commitHash;

« previous php.cvs (#68114) next »