<p dir="ltr">I'll try to hook this up to the lua scripting.</p>
<p dir="ltr">On holiday now in Japan, but I'll write more later when back at a real PC.</p>
<div class="gmail_quote">On Jun 3, 2016 10:46 PM, "Konstantin Ryabitsev" <<a href="mailto:mricon@kernel.org">mricon@kernel.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, all:<br>
<br>
It would be handy to have a way to hide inactive repositories from the<br>
main index -- say, the ones that haven't seen any activity in a few<br>
years.<br>
<br>
One solution is not to put older repositories into the projects.list,<br>
but that would make them completely unfindable unless someone knows the<br>
full path.<br>
<br>
Another solution is to rig up some kind of jquery magic that would hide<br>
the rows containing <span class='age-years' title='[date > 3years<br>
ago]'>, but that sounds really hurky and would be fragile.<br>
<br>
Maybe have a way to give a row a class "inactive" from a setting in the<br>
repo's git config (or from a repo.foo cgitrc setting), and have a button<br>
to "show/hide inactive projects" on the index page?<br>
<br>
Thoughts?<br>
<br>
Best,<br>
--<br>
Konstantin Ryabitsev<br>
Linux Foundation Collab Projects<br>
Montréal, Québec<br>
<br>_______________________________________________<br>
CGit mailing list<br>
<a href="mailto:CGit@lists.zx2c4.com">CGit@lists.zx2c4.com</a><br>
<a href="http://lists.zx2c4.com/mailman/listinfo/cgit" rel="noreferrer" target="_blank">http://lists.zx2c4.com/mailman/listinfo/cgit</a><br>
<br></blockquote></div>