[pve-devel] [PATCH proxmox-apt 0/2] fix detection for PVE

Fabian Ebner f.ebner at proxmox.com
Fri Jul 16 14:36:00 CEST 2021


For PVE, the final "/pve" is in the URI is optional.

Fabian Ebner (2):
  bump proxmox dependency
  standard repo detection: handle alternative URI for PVE repos

 Cargo.toml                                 |  2 +-
 debian/control                             |  8 ++---
 src/repositories/repository.rs             | 19 +++++-----
 src/repositories/standard.rs               | 42 ++++++++++++++++------
 tests/repositories.rs                      | 14 ++++++++
 tests/sources.list.d.expected/pve-alt.list |  8 +++++
 tests/sources.list.d/pve-alt.list          |  6 ++++
 7 files changed, 75 insertions(+), 24 deletions(-)
 create mode 100644 tests/sources.list.d.expected/pve-alt.list
 create mode 100644 tests/sources.list.d/pve-alt.list

-- 
2.30.2






More information about the pve-devel mailing list