public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH-SERIES 0/6] proxmox-offline-mirror filtering & deb-src support
@ 2022-10-18  9:20 Fabian Grünbichler
  2022-10-18  9:20 ` [pve-devel] [PATCH proxmox-apt 1/2] packages file: add section field Fabian Grünbichler
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Fabian Grünbichler @ 2022-10-18  9:20 UTC (permalink / raw)
  To: pve-devel

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





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-10-20 12:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-18  9:20 [pve-devel] [PATCH-SERIES 0/6] proxmox-offline-mirror filtering & deb-src support Fabian Grünbichler
2022-10-18  9:20 ` [pve-devel] [PATCH proxmox-apt 1/2] packages file: add section field Fabian Grünbichler
2022-10-18  9:20 ` [pve-devel] [PATCH proxmox-apt 2/2] deb822: source index support Fabian Grünbichler
2022-10-18  9:20 ` [pve-devel] [PATCH proxmox-offline-mirror 1/4] mirror: add exclusion of packages/sections Fabian Grünbichler
2022-10-18  9:20 ` [pve-devel] [PATCH proxmox-offline-mirror 2/4] mirror: implement source packages mirroring Fabian Grünbichler
2022-10-18  9:20 ` [pve-devel] [PATCH proxmox-offline-mirror 3/4] fix #4264: only require either Release or InRelease Fabian Grünbichler
2022-10-18  9:20 ` [pve-devel] [PATCH proxmox-offline-mirror 4/4] mirror: refactor fetch_binary/source_packages Fabian Grünbichler
2022-10-20 12:49 ` [pve-devel] applied-series: [PATCH-SERIES 0/6] proxmox-offline-mirror filtering & deb-src support Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal