Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: felipec/pidgin-git-import
base: dd81b805f2
...
head fork: felipec/pidgin-git-import
compare: 46f42fc9fe
  • 4 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
Commits on May 27, 2012
Felipe Contreras authors_map: update
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
d935fcb
Felipe Contreras branches_map: update
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
9ab9ac3
Felipe Contreras mtn-hooks: use proposed convention
  John Snow <john@snow.com> = John Snow <john@snow.com>
  John Snow = John Snow <unknown>
  <john@snow.com> = john <john@snow.com>
  john@snow.com = john <john@snow.com>

http://mid.gmane.org/1337745203.4388.65.camel@watermelon.coderich.net

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
a213df2
Felipe Contreras check: don't warn if the format was correct
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
46f42fc
Showing with 22 additions and 3 deletions.
  1. +9 −0 authors_map.txt
  2. +1 −0  branches_map.txt
  3. +1 −1  check
  4. +11 −2 mtn-hooks.lua
9 authors_map.txt
View
@@ -286,3 +286,12 @@ davidben@mit.edu = David Benjamin <davidben@mit.edu>
lucas.fisher@gmail.com = Lucas Fisher <lucas.fisher@gmail.com>
tomkiewicz@o2.pl = Tomasz Wasilczyk <tomkiewicz@o2.pl>
Cristi Posoiu = Cristi Posoiu <unknown>
+tomkiewicz@cpw.pidgin.im = Tomasz Wasilczyk <tomkiewicz@o2.pl>
+tim@retout.co.uk = Tim Retout <tim@retout.co.uk>
+hyc@symas.com = Howard Chu <hyc@symas.com>
+olivier.crete@collabora.com = Olivier Crête <olivier.crete@collabora.com>
+linus.luessing@web.de = Linus Lüssing <linus.luessing@web.de>
+dcbw@redhat.com = Dan Williams <dcbw@redhat.com>
+sanket@sanketagarwal.com = Sanket Agarwal <sanket@sanketagarwal.com>
+sanket@soc.pidgin.im = Sanket Agarwal <sanket@sanketagarwal.com>
+michael@soc.pidgin.im = Michael Zangl <michael@soc.pidgin.im>
1  branches_map.txt
View
@@ -143,6 +143,7 @@ im.pidgin.soc.2009.webkitmessageview = soc.2009.webkitmessageview
im.pidgin.soc.2010.detachablepurple = soc.2010.detachablepurple
im.pidgin.soc.2010.icq-tlc = soc.2010.icq-tlc
im.pidgin.soc.2010.logviewer = soc.2010.logviewer
+im.pidgin.soc.2012.android = soc.2012.android
im.pidgin.soc.2010.msn-tlc = soc.2010.msn-tlc
im.pidgin.soc.2012.gg = soc.2012.gg
im.pidgin.soc.2012.statscollector = soc.2012.statscollector
2  check
View
@@ -28,7 +28,7 @@ authors_map = load_authors_map
authors_missing = {}
for_each_author do |id, count|
- if not authors_map.include?(id)
+ if not authors_map.include?(id) and not id =~ /^(.*) <(.*)>/
authors_missing[id] ||= 0
authors_missing[id] += count.to_i
end
13 mtn-hooks.lua
View
@@ -1,12 +1,12 @@
function unmapped_git_author(author)
name = author:match("^([^<>]+)@[^<>]+$")
if name then
- return "Unknown <" .. author .. ">"
+ return name .. " <" .. author .. ">"
end
name = author:match("^<([^<>]+)@[^<>]+>$")
if name then
- return "Unknown " .. author
+ return name .. " " .. author
end
name = author:match("^[^<>@]+$")
@@ -16,3 +16,12 @@ function unmapped_git_author(author)
return author
end
+
+-- function test(author)
+-- print(author .. " = " .. unmapped_git_author(author))
+-- end
+--
+-- test('John Snow <john@snow.com>')
+-- test('John Snow')
+-- test('<john@snow.com>')
+-- test('john@snow.com')

No commit comments for this range

Something went wrong with that request. Please try again.