Blame support for cgit

Asked by Mihai Moldovan

As far as I can see, Launchpad uses a cgit instance for browseable git repositories.

cgit generally seems to support the blame feature nowadays (AFAIR, it didn't for a very long time), but it's disabled by default.

Would you consider setting enable-blame to 1 in cgitrc to get blame support and make browsing repositories easier?

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thiago F. Pappacena (pappacena) said :
#1

Hi, Mihai!

Today, we use cgit 1.1, which doesn't seem to support git blame UI: v1.1 tag (https://git.zx2c4.com/cgit/refs/) is older than the commit that seems to add blame UI (https://git.zx2c4.com/cgit/commit/?id=c1cd290d1f83d3d1c2d081d734e8d213f12cc06b).

In order to upgrade cgit, we would need to do some underlying work before, and we are heading there.

Anyway, I suggest that you open a bug report, so we remember to enable blame UI once we upgrade our cgit.

Can you help with this problem?

Provide an answer of your own, or ask Mihai Moldovan for more information if necessary.

To post a message you must log in.