From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: "Proxmox VE development discussion" <pve-devel@lists.proxmox.com>,
"Fabian Grünbichler" <f.gruenbichler@proxmox.com>
Subject: [pve-devel] applied-series: [PATCH-SERIES 0/6] proxmox-offline-mirror filtering & deb-src support
Date: Thu, 20 Oct 2022 14:49:35 +0200 [thread overview]
Message-ID: <2035bca3-5757-fa29-7d9d-165e2f5d3561@proxmox.com> (raw)
In-Reply-To: <20221018092040.860121-1-f.gruenbichler@proxmox.com>
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).
prev parent reply other threads:[~2022-10-20 12:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-18 9:20 [pve-devel] " 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 ` Thomas Lamprecht [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2035bca3-5757-fa29-7d9d-165e2f5d3561@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=f.gruenbichler@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox