[pbs-devel] [PATCH-SERIES v4] APT repositories API/UI

Fabian Ebner f.ebner at proxmox.com
Fri Apr 2 13:20:41 CEST 2021


List the configured repositories and have some basic checks for them.

The plan is to use perlmod to make the Rust implementation available for PVE+PMG
as well.


Changes from v3:
    * incorporate Fabian G.'s feedback:
        * switch to a per-file approach
        * check for official host names
        * fix case-sensitivity issue for .sources keys
        * include digests
    * fix write issue when there are no components (in case of an absolute suite)
    * add more tests


Still missing (intended as followups):
    * Upgrade suite/distribuiton button to be used before major release
      upgrades (but it's really simply to add that now).
    * perlmod magic and integration in PVE and PMG.


Changes v2 -> v3:
    * incorporate Wolfgang's feedback
    * improve main warning's UI

Changes v1 -> v2:
    * Perl -> Rust
    * PVE -> PBS
    * Don't rely on regexes for parsing.
    * Add writer and tests.
    * UI: pin warnings to the repository they're for.
    * Keep order of options consistent with configuration.
    * Smaller things noted on the individual patches.

proxmox-apt:

Fabian Ebner (4):
  initial commit
  add files for Debian packaging
  add functions to check for Proxmox repositories
  add check_repositories function


proxmox-backup:

Fabian Ebner (4):
  depend on new proxmox-apt crate
  api: apt: add repositories call
  ui: add panel for APT repositories
  api: apt: add check_repositories_call

 Cargo.toml                  |   1 +
 debian/control              |   1 +
 src/api2/node/apt.rs        | 149 +++++++++++++++++++++++++++++++++++-
 www/ServerAdministration.js |   8 ++
 4 files changed, 158 insertions(+), 1 deletion(-)


proxmox-widget-toolkit:

Fabian Ebner (2):
  add UI for APT repositories
  APT repositories: add warnings

 src/Makefile                |   1 +
 src/node/APTRepositories.js | 415 ++++++++++++++++++++++++++++++++++++
 2 files changed, 416 insertions(+)
 create mode 100644 src/node/APTRepositories.js

-- 
2.20.1






More information about the pbs-devel mailing list