RFC: Hide/show inactive repos in index

Jason A. Donenfeld Jason at zx2c4.com
Fri Jun 3 17:15:16 CEST 2016

I'll try to hook this up to the lua scripting.

On holiday now in Japan, but I'll write more later when back at a real PC.
On Jun 3, 2016 10:46 PM, "Konstantin Ryabitsev" <mricon at kernel.org> wrote:

> Hi, all:
> It would be handy to have a way to hide inactive repositories from the
> main index -- say, the ones that haven't seen any activity in a few
> years.
> One solution is not to put older repositories into the projects.list,
> but that would make them completely unfindable unless someone knows the
> full path.
> Another solution is to rig up some kind of jquery magic that would hide
> the rows containing <span class='age-years' title='[date > 3years
> ago]'>, but that sounds really hurky and would be fragile.
> Maybe have a way to give a row a class "inactive" from a setting in the
> repo's git config (or from a repo.foo cgitrc setting), and have a button
> to "show/hide inactive projects" on the index page?
> Thoughts?
> Best,
> --
> Konstantin Ryabitsev
> Linux Foundation Collab Projects
> Montréal, Québec
> _______________________________________________
> CGit mailing list
> CGit at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/cgit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20160604/463a2af9/attachment.html>

More information about the CGit mailing list