[pve-devel] applied-series: [PATCH-SERIES 0/6] proxmox-offline-mirror filtering & deb-src support

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Oct 20 14:49:35 CEST 2022


Am 18/10/2022 um 11:20 schrieb Fabian Grünbichler:
> this series implements filtering based on package section (exact match)
> or package name (glob), and extends mirroring support to source
> packages/deb-src repositories.
> 
> technically the first patch in proxmox-apt is a breaking change, but the
> only user of the changed struct is proxmox-offline-mirror, which doesn't
> do any incompatible initializations.
> 
> proxmox-apt:
> 
> Fabian Grünbichler (2):
>   packages file: add section field
>   deb822: source index support
> 
>  src/deb822/mod.rs                             |      3 +
>  src/deb822/packages_file.rs                   |      2 +
>  src/deb822/release_file.rs                    |      2 +-
>  src/deb822/sources_file.rs                    |    255 +
>  ..._debian_dists_bullseye_main_source_Sources | 858657 +++++++++++++++
>  5 files changed, 858918 insertions(+), 1 deletion(-)
>  create mode 100644 src/deb822/sources_file.rs
>  create mode 100644 tests/deb822/sources/deb.debian.org_debian_dists_bullseye_main_source_Sources
> 
> proxmox-offline-mirror:
> 
> Fabian Grünbichler (4):
>   mirror: add exclusion of packages/sections
>   mirror: implement source packages mirroring
>   fix #4264: only require either Release or InRelease
>   mirror: refactor fetch_binary/source_packages
> 
>  Cargo.toml                                    |   1 +
>  debian/control                                |   2 +
>  src/bin/proxmox-offline-mirror.rs             |   4 +-
>  src/bin/proxmox_offline_mirror_cmds/config.rs |   8 +
>  src/config.rs                                 |  40 +-
>  src/mirror.rs                                 | 483 ++++++++++++++----
>  6 files changed, 437 insertions(+), 101 deletions(-)
> 

applied series, thanks!

Waiting for some doc patches before bumping, describing how to use this with ideally
common sensible section filters like 'games' and 'kernel' as I don't think many people
will find this in the rather hidden usage, at least not until its "too late" and they
already downloaded way more than they wanted (in most cases).





More information about the pve-devel mailing list