Project

General

Profile

Actions

Task #3770

open

Set up a TDF cgit instance

Added by Aron Budea 4 months ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Tags:

Description

A big benefit of cgit.freedesktop.org [1] was/is that it provides a fairly easy-to-read diff of the files, see eg. the following random commit for comparison:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=8ab44b114c6706ab2e3d8a19884daeb544d3c2e1
vs.
https://git.libreoffice.org/core/commit/8ab44b114c6706ab2e3d8a19884daeb544d3c2e1

The gerrit view tries to highlight changes within lines as well, which IMO makes it a bit more confusing, and the colors aren't the best, either (green could be darker, and the highlights lack contrast).

Not to mention the confusing tree view, the above URL expands to the following (with a ^! at the end):
https://git.libreoffice.org/core/+/8ab44b114c6706ab2e3d8a19884daeb544d3c2e1%5E%21/
If you omit the ^!, you can get to two different views:
https://git.libreoffice.org/core/+/8ab44b114c6706ab2e3d8a19884daeb544d3c2e1/
and
https://git.libreoffice.org/core/+/8ab44b114c6706ab2e3d8a19884daeb544d3c2e1
Both can be confusing if you just try to substitute a new hash in the URL, and aren't familiar with the syntax.

I still use cgit URL in the bugzilla myself, but the cgit freedesktop instance is being unreliable lately (as mentioned in [2] as well), and who knows when it is shut down for good.
I propose setting up a cgit instance at TDF, so people can pick which way they prefer viewing and referencing commits online. It probably wouldn't be hard to set up and maintain.

[1] https://cgit.freedesktop.org/libreoffice/core/
[2] https://redmine.documentfoundation.org/issues/3769

Actions

Also available in: Atom PDF