[pbs-devel] applied: [PATCH proxmox-offline-mirror v2 0/3] improve pom multi-key handling
Fabian Grünbichler
f.gruenbichler at proxmox.com
Tue Jan 9 09:11:16 CET 2024
FWIW, this got applied back in December by Thomas :)
On November 29, 2023 3:51 pm, Stefan Sterz wrote:
> this patch series intends to improve the user experience when a user
> adds multiple keys to one mirror and wants to use one medium to activate
> multiple products. the first commit removes the `ProductType` trait that
> has been moved to `proxmox-subscription` from pom. the second commit
> handles media with muliple keys for muliple products more gracefully in
> proxmox-offline-mirror-helper. it only tries to activate subscriptions
> that have a matching server id. the finally commit just adds some
> rustfmt clean ups.
>
> changes since v1 @ (thanks to Fabian Grünbichler):
>
> - moved to a hash map based approach when automatically selecting all
> applicable keys for the current system
>
>
> Stefan Sterz (3):
> type: move `ProductType` enum to `proxmox-subscription`
> helper: improve handling of multiple keys when activating them
> offline mirror binary: rustfmt clean up
>
> src/bin/proxmox-offline-mirror-helper.rs | 101 ++++++++++--------
> src/bin/proxmox-offline-mirror.rs | 15 ++-
> src/bin/proxmox_offline_mirror_cmds/medium.rs | 4 +-
> .../subscription.rs | 4 +-
> src/config.rs | 4 +-
> src/subscription.rs | 4 +-
> src/types.rs | 44 +-------
> 7 files changed, 75 insertions(+), 101 deletions(-)
>
> --
> 2.39.2
>
>
>
> _______________________________________________
> pbs-devel mailing list
> pbs-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
>
More information about the pbs-devel
mailing list