threads / discuss / 33176

[ANN] git-arr 0.11

Subject: [ANN] git-arr 0.11

## tl;dr

4 messages between Mar 13, 2013 and Mar 15, 2013.

replies: 3people: 3as markdown or json

Alberto Bertogli· Mar 13, 2013, 23:41 UTC · lore
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
Matthieu Moy· Mar 14, 2013, 12:43 UTC · re: Alberto Bertogli · lore

Re: [ANN] git-arr 0.11

Alberto Bertogli <albertito@blitiri.com.ar> writes:
> 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.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Nazri Ramliy· Mar 14, 2013, 14:42 UTC · re: Matthieu Moy · lore

Re: [ANN] git-arr 0.11

On Thu, Mar 14, 2013 at 8:43 PM, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:

> 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
Alberto Bertogli· Mar 15, 2013, 01:16 UTC · re: Matthieu Moy · lore

Re: [ANN] git-arr 0.11

On Thu, Mar 14, 2013 at 01:43:16PM +0100, Matthieu Moy wrote:
Show 9 quoted lines
> Alberto Bertogli <albertito@blitiri.com.ar> writes:
> 
> > 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.
> 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

← back to recent threads