[pve-devel] [PATCH-SERIES proxmox-apt/proxmox-widget-toolkit] APT repos: Use Origin property instead of "official host"

Fabian Ebner f.ebner at proxmox.com
Wed Jun 30 12:20:15 CEST 2021


which also works for mirrors, host aliases and direct IP addressses.

The third proxmox-apt patch is not directly related, but another small
improvement.

Requires the not-yet-applied patches for pve-rs and pve-manager from
here:

https://lists.proxmox.com/pipermail/pve-devel/2021-June/048963.html

It's necessary to re-build pve-rs to get the changes of course. For
pve-manger no changes should be required.


proxmox-apt:

Fabian Ebner (3):
  add get_cached_origin method and an initial config module
  check: return 'origin' property instead of 'badge' for official host
  standard repos: drop product acronym from repo name

 Cargo.toml                                    |    1 +
 debian/control                                |    2 +
 src/config.rs                                 |   35 +
 src/lib.rs                                    |    1 +
 src/repositories/file.rs                      |   17 +-
 src/repositories/mod.rs                       |   14 +-
 src/repositories/repository.rs                |  112 +-
 src/repositories/standard.rs                  |   21 +-
 ...ox.com_debian_pve_dists_bullseye_InRelease |   38 +
 ...rg_debian_dists_bullseye-updates_InRelease |  394 ++++
 ...debian.org_debian_dists_bullseye_InRelease | 1593 +++++++++++++++++
 ...security_dists_bullseye-security_InRelease |  426 +++++
 tests/repositories.rs                         |   77 +-
 13 files changed, 2677 insertions(+), 54 deletions(-)
 create mode 100644 src/config.rs
 create mode 100644 tests/lists/download.proxmox.com_debian_pve_dists_bullseye_InRelease
 create mode 100644 tests/lists/ftp.debian.org_debian_dists_bullseye-updates_InRelease
 create mode 100644 tests/lists/ftp.debian.org_debian_dists_bullseye_InRelease
 create mode 100644 tests/lists/security.debian.org_debian-security_dists_bullseye-security_InRelease


proxmox-widget-toolkit:

Fabian Ebner (1):
  apt repositories: replace OfficialHost with Origin

 src/node/APTRepositories.js | 28 ++++++++--------------------
 1 file changed, 8 insertions(+), 20 deletions(-)

-- 
2.30.2






More information about the pve-devel mailing list