Add hard limit on the length of dependency lists
commitb091fb77580d56dbdca6424f9065581945b8e815
authorLukas Fleischer <lfleischer@archlinux.org>
Thu, 28 Apr 2016 06:19:25 +0000 (28 08:19 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Tue, 10 May 2016 05:25:10 +0000 (10 07:25 +0200)
treec0b3c99c835f25c1fb78d1d952288ae3e9daa869
parent27ad06e3538e0ffb112b49a9edba6bd42d0e2e2d
Add hard limit on the length of dependency lists

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.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
conf/config.proto
web/lib/pkgfuncs.inc.php
web/template/pkg_details.php