diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2025-01-29 19:01:06 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-05-19 15:19:23 +0000 |
| commit | 93416f3227685c390c7ab579981efde526134181 (patch) | |
| tree | 475fdfe3b426378cfafecdc6cda09155af20b4db /doc | |
| parent | 9a7e34d491b828a227930654d4f99e4fd2eb93ec (diff) | |
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
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/sources.list.5.xml | 9 |
1 files changed, 9 insertions, 0 deletions
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. <itemizedlist> + <listitem><para><option>Include</option> + (<option>include</option>) is a multivalue option defining + which packages should be used from this repository. Others are not parsed. + </para></listitem> + <listitem><para><option>Exclude</option> + (<option>exclude</option>) 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 <option>Include</option>. + </para></listitem> <listitem><para><option>Architectures</option> (<option>arch</option>) is a multivalue option defining for which architectures information should be downloaded. If this |
