FS#53600 - Hide branch switcher in cgit interface

Attached to Project: AUR web interface
Opened by Jakub Klinkovský (lahwaacz) - Friday, 07 April 2017, 08:14 GMT
Last edited by Lukas Fleischer (lfleischer) - Tuesday, 11 July 2017, 05:10 GMT
Task Type Feature Request
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 4.4.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The cgit interface (e.g. [1]) shows a drop-down menu to quickly switch a branch. That is quite handy for small repositories, but not for the AUR where the size of the list is equal to the number of packages. The current size of the page is over 2 MiB and takes about 10 seconds to render in Chromium. I think the switcher should be removed completely or replaced with a plain input-entry switcher.

[1] https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=pacaur
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Tuesday, 11 July 2017, 05:10 GMT
Reason for closing:  Fixed
Comment by Mark Weiman (markzz) - Tuesday, 11 April 2017, 15:32 GMT
I personally don't see what you're seeing and the link you provided loads in less than a second for me. AFAIK, there is no way to just simply change branches on the AUR's cgit pages.
Comment by Jakub Klinkovský (lahwaacz) - Tuesday, 11 April 2017, 15:49 GMT
It seems that it's already fixed in [2] for AUR and in [3] even for the archweb. Not sure if that's the final state that makes this bug resolved or there are other configuration intentions...

[2] https://git.archlinux.org/users/lfleischer/cgit.git/commit/?h=aurweb&id=9f4665ca3f3ae32abc5fc79e8c85a124e9fe92ce
[3] https://git.archlinux.org/users/lfleischer/cgit.git/commit/?h=archlinux&id=65c909a397d63fccc0c288c804b8a6f74644746b