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" <mri...@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@lists.zx2c4.com > http://lists.zx2c4.com/mailman/listinfo/cgit > >
_______________________________________________ CGit mailing list CGit@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/cgit