Page MenuHomePhabricator

Swap gitweb for GitBlit
Closed, ResolvedPublic

Description

Gitweb is ugly and cluttered. Cgit is much cleaner and seems more intuitive. It also has a treeview \o/

Gerrit supports cgit out of the box, so it should be a simple config change + a package install.

Will also need to adjust the /gitweb/ redirects I made.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=49521

Details

Reference
bz38383

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:10 AM
bzimport added a project: Gerrit.
bzimport set Reference to bz38383.

We're going to use GitBlit: http://gitblit.com/

Just need to package it up and get it configured (once the gerrit manifest is in working order).

I ran into bug 39430 today. What's the status of this bug?

(In reply to comment #3)

I ran into bug 39430 today. What's the status of this bug?

Waiting on someone upstream to finish their gitblit plugin (which should be almost done, iirc). Out of the box Gitblit won't suit our needs since it doesn't respect Gerrit's ACLs.

I was going to file a bug to enable syntax highlighting in gitweb, but http://gitblit.com/features.html says "Syntax highlighting for popular source code types". Hooray!

If and when this is ready, I can update some wiki templates on mediawiki.org.

Yep. I've been testing out the plugin and it seems to work well. As soon as we upgrade to 2.5 we'll install the plugin.

We've got the plugin in place https://gerrit.wikimedia.org/r/plugins/gitblit/.

Couple of rough edges that should be smoothed over before we make it the default viewer.

git.wikimedia.org is now live. Gerrit points to it all over the place now. Will get apache rewrite rules in place for the old gitweb urls.