Re: CGit and repository list
- From
Kristian Høgsberg <krh@bitplanet.net>
- Date
- Sep 14, 2008, 17:22 UTC
- Message-ID
- <59ad55d30809141022r6973155fh933976d25ef4cf01@mail.gmail.com>
- In-Reply-To
- <59ad55d30809141014x2160d50dqb8ac20b4c108b4e1@mail.gmail.com>
On Sun, Sep 14, 2008 at 1:14 PM, Kristian Høgsberg <krh@bitplanet.net> wrote:
Show 10 quoted lines
> The script we're using on freedesktop.org is something like this: > > http://people.freedesktop.org/~krh/find-repos.sh > > which isn't too scary. We run it from a cron script, every ten > minutes or so. It's much better than rescanning all the dirs every > time somebody requests the repo listing (we have a lot of repos, check > cgit.freedesktop.org). We have no need for cgit to to this > automatically on every request, and I don't see us using that feature > if it gets implemented.
A feature that would be useful, though, would be support for listing a sub-set of repos... for example, cgit.freedesktop.org/~krh would list just my repos and cgit.freedesktop.org/xorg/driver would list all the X.org driver repos. Another idea is a javascript/css frontpage that supports folding repos away according to the groups and possibly common path elements in the url. For example:
[+] Freedesktop Repositories
[-] User repositories
[+] ~agdf5
[+] ~ahuillet
...
[-] ~krh
~krh/akamaru
~krh/bugzilla
~krh/compiz
[-] ~kyleetc.
Just throwing out a couple of ideas.
cheers, Kristian