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 /apt-pkg/pkgsystem.cc | |
| 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 'apt-pkg/pkgsystem.cc')
0 files changed, 0 insertions, 0 deletions
