[aur-dev] [PATCH] Add hard limit for the length of dependency lists
Lukas Fleischer
lfleischer at archlinux.org
Thu Apr 28 18:58:20 UTC 2016
On Thu, 28 Apr 2016 at 20:44:54, Johannes Löthberg wrote:
> On 28/04, Lukas Fleischer wrote:
> >Introduce a configuration option max_depends which can be used to
> >specify a maximum number of (reverse) dependencies to display on the
> >package details pages.
> >
> >Fixes FS#49059.
> >
>
> Don't have time to poke at it right now, but maybe we want to make it
> more like archweb and have a "Show more" link to show all of them.
> Though we'd probably want a hard-limit either way, just in case.
> [...]
Huh? That's what we have right now... If there are more than 20 items,
the list is collapsed and a "Show More…" link is added.
The issue addressed here is with packages that really have a *huge*
number of dependencies or reverse dependencies, such as git-git [1]. In
that case, everything beyond the first 1000 items is stripped on the
server side. Then, the remaining 1000 entries are transferred to the
client and there, the list is still collapsed such that only 20 items
are visible by default.
[1] https://aur.archlinux.org/packages/git-git/
More information about the aur-dev
mailing list