From mboxrd@z Thu Jan 1 00:00:00 1970 From: tim.nordell at logicpd.com (Tim Nordell) Date: Fri, 26 Feb 2016 14:58:56 -0600 Subject: [PATCH 0/3] ui-repolist: Support additional formatting for sections Message-ID: <1456520339-32708-1-git-send-email-tim.nordell@logicpd.com> On our internal server we have over 2,000 repositories, primarily due to mirroring external repositories locally. We patched cgit to make navigation a little easier by doing the following: - Make sections clickable (via a section filter) - Collapse repository listing to just sections when the repository listing is over 1 page worth of repositories The patchset here contains this modification and allows it to be enabled (or disabled) via configuration. You can see an example of this UI over here: http://git.logicpd.com (Note: That is running an older patched version not containing the changes here presently but has the same presentation.) Tim Nordell (3): ui-repolist: Add section filter ui-repolist: Restructure internal logic to be more extensible ui-repolist: Support a trimmed view when several sections are present cgit.c | 2 + cgit.h | 3 +- cgitrc.5.txt | 23 +++- filter.c | 1 + filters/section-example.lua | 33 ++++++ ui-repolist.c | 271 +++++++++++++++++++++++++++++++++----------- 6 files changed, 260 insertions(+), 73 deletions(-) create mode 100644 filters/section-example.lua -- 2.4.9