[aur-dev] [PATCH] Add hard limit for the length of dependency lists

Johannes Löthberg johannes at kyriasis.com
Thu Apr 28 21:58:47 UTC 2016


On 28/04, Lukas Fleischer wrote:
>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/

Oh, it loads the whole list and /then/ hides it, that's why I didn't 
realize...

-- 
Sincerely,
  Johannes Löthberg
  PGP Key ID: 0x50FB9B273A9D0BB5
  https://theos.kyriasis.com/~kyrias/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1768 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/aur-dev/attachments/20160428/47fb3d0f/attachment.asc>


More information about the aur-dev mailing list