Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 368770 Details for
Bug 491808
=net-irc/irker-2.7 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/2.5-Register-author_name-as-author-instead-of-email-user.patch
2.5-Register-author_name-as-author-instead-of-email-user.patch (text/plain), 1.61 KB, created by
Bertrand Jacquin
on 2014-01-26 11:30:42 UTC
(
hide
)
Description:
files/2.5-Register-author_name-as-author-instead-of-email-user.patch
Filename:
MIME Type:
Creator:
Bertrand Jacquin
Created:
2014-01-26 11:30:42 UTC
Size:
1.61 KB
patch
obsolete
>From d86bf470abab6c60cf9708f45086a95339ee9e9b Mon Sep 17 00:00:00 2001 >From: Bertrand Jacquin <beber@meleeweb.net> >Date: Mon, 23 Sep 2013 23:10:23 +0200 >Subject: [PATCH 1/3] Register author_name as author instead of email userpart > >Signed-off-by: Bertrand Jacquin <beber@meleeweb.net> >--- > irkerhook.py | 11 ++--------- > 1 file changed, 2 insertions(+), 9 deletions(-) > >diff --git a/irkerhook.py b/irkerhook.py >index 4ea7fbe..00b52f4 100755 >--- a/irkerhook.py >+++ b/irkerhook.py >@@ -275,15 +275,8 @@ class GitExtractor(GenericExtractor): > # Design choice: for git we ship only the first message line, which is > # conventionally supposed to be a summary of the commit. Under > # other VCSes a different choice may be appropriate. >- commit.author_name, commit.mail, commit.logmsg = \ >- do("git log -1 '--pretty=format:%an%n%ae%n%s' " + shellquote(commit.commit)).split("\n") >- # 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("|") >+ commit.logmsg = do("git log -1 '--pretty=format:%s' " + shellquote(commit.commit)) >+ commit.author = do("git log -1 '--pretty=format:%an' " + shellquote(commit.commit)) > return commit > > class SvnExtractor(GenericExtractor): >-- >1.8.5.1 >
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 491808
:
363684
|
363686
|
363688
|
363690
|
363692
|
363694
|
368768
|
368770
|
368772
|
368774
|
368776
|
373058
|
373060
|
373062
|
373064
|
373066
|
373068
|
378738
|
378740
|
378742
|
378744
|
378746