Skip to contentSkip to conversation

git-arr 0.11

ANN Alberto Bertogli 3 participants 4 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi!

I wanted to let you know about git-arr, which is a git repository browser that can generate static HTML instead of having to run dynamically.

It is smaller, with less features and a different set of tradeoffs than gitweb or cgit, but if you have a reduced environment, the static generation can be useful.

You can find more details on http://blitiri.com.ar/p/git-arr/, and see an example of the generated output at http://blitiri.com.ar/git/.

It's written in Python, uses the Bottle web framework, and is open source under the MIT licence.

Please note it's new and there are still some rough edges that I obviously intend to fix, but it's been working fine for my use cases, so all feedback is welcome :)

Thanks a lot!
Alberto

#1 lore raw
Quoted 3 lines · Alberto Bertogli

I wanted to let you know about git-arr, which is a git repository browser that can generate static HTML instead of having to run dynamically.

Can it run incrementally? I mean, if you have launched it for one revision, does re-running it on the next revision regenerate the whole set of pages, or does it only generate new pages?

If so, that could be a nice way to replace dynamic browsers for people who do not have/want dynamic webpages, by just setting a hook or cron job that generate the new pages when an update is made.

Signature · 2 lines
Matthieu Moy
http://www-verimag.imag.fr/~moy/
#2 lore raw
Quoted 5 lines · Matthieu Moy

Can it run incrementally? I mean, if you have launched it for one revision, does re-running it on the next revision regenerate the whole set of pages, or does it only generate new pages?

From the readme (http://blitiri.com.ar/git/r/git-arr/b/master/t/f=README.html):

The first time you generate, depending on the size of your repositories, it can take some time. Subsequent runs should take less time, as it is smart enough to only generate what has changed.

Seems like it does!

Nazri

#3 lore raw
In reply to Matthieu Moy
Quoted 9 lines · Matthieu Moy
Quoted 3 lines · Alberto Bertogli

I wanted to let you know about git-arr, which is a git repository browser that can generate static HTML instead of having to run dynamically.

Can it run incrementally? I mean, if you have launched it for one revision, does re-running it on the next revision regenerate the whole set of pages, or does it only generate new pages?

Yes, you can run it incrementally, and it will only generate new pages.

Quoted 3 lines

If so, that could be a nice way to replace dynamic browsers for people who do not have/want dynamic webpages, by just setting a hook or cron job that generate the new pages when an update is made.

That's my main intended use. I'm using a hook
(http://blitiri.com.ar/git/r/git-arr/b/master/t/hooks/f=post-receive.html)
to update repos when I push to them and it's been working fine for me so far. I never tried the cron approach but it should work well too.

Thanks!
Alberto