[pve-devel] [PATCH-SERIES 0/6] proxmox-offline-mirror filtering & deb-src support
Fabian Grünbichler
f.gruenbichler at proxmox.com
Tue Oct 18 11:20:34 CEST 2022
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(-)
--
2.30.2
More information about the pve-devel
mailing list