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
> 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?
> Konstantin Ryabitsev
> Linux Foundation Collab Projects
> Montréal, Québec
> CGit mailing list
> CGit at lists.zx2c4.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CGit