Re: CGit and repository list
- From
- Lars Hjemli <hjemli@gmail.com>
- Date
- Sep 14, 2008, 18:01 UTC
- Message-ID
- <8c5c35580809141101u53536064oe9ad740a03a81390@mail.gmail.com>
- In-Reply-To
- <59ad55d30809141022r6973155fh933976d25ef4cf01@mail.gmail.com>
On Sun, Sep 14, 2008 at 7:22 PM, Kristian Høgsberg <krh@bitplanet.net> wrote:
> On Sun, Sep 14, 2008 at 1:14 PM, Kristian Høgsberg <krh@bitplanet.net> wrote: >> The script we're using on freedesktop.org is something like this: >> >> http://people.freedesktop.org/~krh/find-repos.sh
Thanks.
Show 7 quoted lines
>> >> 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.
Yeah, I'm not interested in a full rescan for each request either. But having something similar to your script available as a command line option for cgit wouldn't hurt.
> 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.
This sounds nice, and shouldn't be very difficult...
> Another idea is a javascript/css frontpage that > supports folding repos away according to the groups and possibly > common path elements in the url.
This could also be nice as long as non-javascript clients doesn't suffer ;-)
-- larsh