[PATCH 1/1] enable cgit to show gravatar for author, committer and tagger

Christian Hesse list at eworm.de
Wed Nov 27 17:17:05 CET 2013


Christian Hesse <mail at eworm.de> on Wed, 2013/11/27 16:17:
> ---
>  cgit.c       |  3 +++
>  cgit.h       |  5 +++++
>  cgitrc.5.txt |  4 ++++
>  parsing.c    | 47 +++++++++++++++++++++++++++++++++++++++++++++++
>  shared.c     |  6 ++++++
>  ui-commit.c  | 10 ++++++++++
>  ui-log.c     |  5 +++++
>  ui-refs.c    | 10 ++++++++++
>  ui-tag.c     |  5 +++++
>  9 files changed, 95 insertions(+)

This has some minor bugs, for example mail addresses have to be converted to
lower case before hashing. And probably it makes sense to fetch smaller
images than the default 80 pixel...

However I would like to get some comments, I will update things when this
(is going to be) merged upstream.

Thanks!
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20131127/88725a6e/attachment.asc>


More information about the CGit mailing list