Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 360158 Details for
Bug 438240
net-irc/irker - several issues
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/0001-Register-author_name-as-author-instead-of-email-user.patch
0001-Register-author_name-as-author-instead-of-email-user.patch (text/plain), 1.53 KB, created by
Bertrand Jacquin
on 2013-10-05 17:07:17 UTC
(
hide
)
Description:
files/0001-Register-author_name-as-author-instead-of-email-user.patch
Filename:
MIME Type:
Creator:
Bertrand Jacquin
Created:
2013-10-05 17:07:17 UTC
Size:
1.53 KB
patch
obsolete
>From 33596784f1ef15aaa985e8ec9667eaa692e3d179 Mon Sep 17 00:00:00 2001 >From: Bertrand Jacquin <beber@meleeweb.net> >Date: Mon, 23 Sep 2013 23:10:23 +0200 >Subject: [PATCH] Register author_name as author instead of email userpart > >--- > irkerhook.py | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) > >diff --git a/irkerhook.py b/irkerhook.py >index 4b243a2..566c990 100755 >--- a/irkerhook.py >+++ b/irkerhook.py >@@ -274,14 +274,9 @@ class GitExtractor(GenericExtractor): > # Design choice: for git we ship only the first line, which is > # conventionally supposed to be a summary of the commit. Under > # other VCSes a different choice may be appropriate. >- commit.author_name = do("git log -1 '--pretty=format:%an' " + shellquote(commit.commit)) >+ commit.author = do("git log -1 '--pretty=format:%an' " + shellquote(commit.commit)) > commit.mail = do("git log -1 '--pretty=format:%ae' " + shellquote(commit.commit)) > commit.logmsg = do("git log -1 '--pretty=format:%s' " + shellquote(commit.commit)) >- # This discards the part of the author's address after @. >- # Might be be nice to ship the full email address, if not >- # for spammers' address harvesters - getting this wrong >- # would make the freenode #commits channel into harvester heaven. >- commit.author = commit.mail.split("@")[0] > commit.author_date, commit.commit_date = \ > do("git log -1 '--pretty=format:%ai|%ci' " + shellquote(commit.commit)).split("|") > return commit >-- >1.8.3.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 438240
:
359018
|
359020
|
359022
|
359024
| 360158 |
360160
|
360164
|
360166
|
360168
|
360170
|
360172
|
360174
|
360176
|
360178