Re: possible to enable mailmap?

2020-10-20 Thread June Bug
> Is it possible for cgit to use mailmap (.mailmap in repo or mailmap.file git > config variable) to redisplay authors with changed email addresses? This > would be particularly useful for stats. I’d also like this feature, which I was interested in trying to implement at one point. The

[PATCH 1/2] global: replace references to 'sha1' with 'oid'

2020-10-20 Thread Christian Hesse
From: Christian Hesse For some time now sha1 is considered broken and upstream is working to replace it with sha256. Replace all references to 'sha1' with 'oid', just as upstream does. Signed-off-by: Christian Hesse --- cgit.c | 16 +-- cgit.css

[PATCH 2/2] global: replace hard coded hash length

2020-10-20 Thread Christian Hesse
From: Christian Hesse With sha1 we had a guaranteed length of 40 hex chars. This changes now that we have to support sha256 with 64 hex chars... Support both. Signed-off-by: Christian Hesse --- filters/commit-links.sh | 2 +- parsing.c | 5 ++--- tests/t0105-commit.sh | 2 +-

Re: cgit dependencies

2020-10-20 Thread Mateja Maric
There are versions of those dependencies in both Python 2 and 3 (at least there are in Debian repositories). However you should probably stick to Python 3, since Python 2 is not supported anymore. On 10/20/20 5:16 AM, Sukma Wardana wrote: Hi Mateja, Actually, I already saw the comment for

Re: [PATCH 1/1] git: update to v2.29.0

2020-10-20 Thread Christian Hesse
"Jason A. Donenfeld" on Tue, 2020/10/20 00:40: > Thanks for this. It'll be curious to give this a spin with a sha256 repo... BTW, cgit does not (yet) handle sha256 repositories correctly. -- main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/*Best

Re: [PATCH 1/1] git: update to v2.29.0

2020-10-20 Thread Christian Hesse
"Jason A. Donenfeld" on Tue, 2020/10/20 00:40: > Thanks for this. It'll be curious to give this a spin with a sha256 repo... Queuing in ch/for-jason... As working with branches can be quite annoying with breaking changes in a submodule... Can we commit this any time soon? And the mailing list