com karma: fix user: hooks/commit-bugs.php hooks/post-receive.bugsweb
| From: | Alexander Moskaliov | Date: | Wed, 04 Apr 2012 13:17:51 +0000 |
| Subject: | com karma: fix user: hooks/commit-bugs.php hooks/post-receive.bugsweb | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-68677@lists.php.net to get a copy of this message | ||
Commit: 61cc09b1cbe8e3dcec3cf6b0447d942755c85a7c
Author: Alexander Moskaliov <irker@php.net> Wed, 4 Apr 2012 17:17:51 +0400
Parents: e7cb7e7acfaa66261f38a3f8047e09e59b2e0413
Branches: master
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=61cc09b1cbe8e3dcec3cf6b0447d942755c85a7c
Log:
fix user
Changed paths:
M hooks/commit-bugs.php
M hooks/post-receive.bugsweb
Diff:
diff --git a/hooks/commit-bugs.php b/hooks/commit-bugs.php
index df5b913..0995822 100644
--- a/hooks/commit-bugs.php
+++ b/hooks/commit-bugs.php
@@ -64,7 +64,7 @@ foreach ($bug_list as $k => $bug) {
"Log: {$commit_info['log_message']}\n";
$postdata = array(
- 'user' => $commit_info['author'],
+ 'user' => $commit_info['user'],
'id' => $bug['number'],
'ncomment' => $comment,
'MAGIC_COOKIE' => $SVN_MAGIC_COOKIE,
diff --git a/hooks/post-receive.bugsweb b/hooks/post-receive.bugsweb
index cc91c4a..fc95c13 100755
--- a/hooks/post-receive.bugsweb
+++ b/hooks/post-receive.bugsweb
@@ -67,6 +67,7 @@ foreach ($rpath as $commit) {
$commit_info['log_message'] = $commitMsg;
$commit_info['author'] = $committer;
$commit_info['author'] = preg_replace("#@php\.net$#", "",
$committer);
+ $commit_info['user'] = $user;
$viewvc_url_prefix = sprintf(
'http://git.php.net/?p=%s;a=commit;h=',
$hook->getRepositoryName()