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 Normal.
bzimport set Reference to bz38383.
demon created this task.Jul 13 2012, 7:41 PM
demon added a comment.Aug 23 2012, 7:49 PM

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?

demon added a comment.Sep 4 2012, 10:59 AM

(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.

demon added a comment.Nov 1 2012, 1:47 PM

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.

demon added a comment.Feb 12 2013, 3:33 PM

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.

demon added a comment.Jun 5 2013, 9:10 PM

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.