From 93416f3227685c390c7ab579981efde526134181 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 29 Jan 2025 19:01:06 +0100 Subject: Add 'Include'/'Exclude' options to limit packages used from a repository 'Include' allows limiting a repository to a allowlist of packages, 'Exclude' allows removing packages from a repository. Implementation wise this is not the nicest as it goes via the IndexTarget options, so we first parse our option value into a vector, then we turn the vector into a string, and then vectorize it again. That said, we support both "," and " " as separators due to the construction (we split by "," then we join using " "). Gbp-Dch: full --- doc/sources.list.5.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/sources.list.5.xml') diff --git a/doc/sources.list.5.xml b/doc/sources.list.5.xml index 3d0e40bd7..63bede827 100644 --- a/doc/sources.list.5.xml +++ b/doc/sources.list.5.xml @@ -219,6 +219,15 @@ deb-src [ option1=value1 option2=value2 ] uri suite [component1] [component2] [. APT versions. + + () is a multivalue option defining + which packages should be used from this repository. Others are not parsed. + + + () is a multivalue option defining + which packages should not be used from this repository. They will not be parsed. + This option is mutually exclusive with . + () is a multivalue option defining for which architectures information should be downloaded. If this -- cgit v1.2.3-70-g09d2