Question

Recently I've found the project git2html: git2html is a simple git web interface. Unlike other web interfaces, git2html does not generate content dynamically: instead of using a CGI script, it generates static HTML pages.

My questions is simple. Do you know other projects for Git, Mercurial or Darcs with similar goals?. I'm interested in static web frontends for these DVCS but is fair if you want to comment other projects for different open source DVCS.

Was it helpful?

Solution

The equivalent for Mercurial is the site extension.

The extension generates a set of static HTML pages where you can browse commit messages, diffs, etc. They are similar to the built-in webserver you start with hg serve, but they are static.

You can also hg clone from such a site. This is not because of the extension, but because Mercurial can clone from any web-accessible .hg directory.

OTHER TIPS

Mercurial has a built-in ability to access a static repository. If a .hg repo is in a static http server's web root it can be cloned from (albeit slowly). Granted that's not a human-friendly UI, but once folks can clone they can do anything they want locally using hte hg command line tool or hg serve locally.

Not exactly what you asked for, but if server load is the concern, the http://blitiri.com.ar/p/darcsweb/ CGI script caches rendered pages as static html files after the first viewing, so performs pretty well.

I didn't find other similar project, and coming from a "big enterprise" environment, I can see how this approach is likely to not scale well when confronted with:

  • numerous repositories
  • large history (vest number of commits/ branches / tags)

A similar approach (in term of extracting the necessary information and processing it) is used by static analysis tools like Sonar which has large disk space requirements.
That doesn't scale well either.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top