[pbs-devel] [PATCH-SERIES proxmox-backup] add apt repositories support

Fabian Ebner f.ebner at proxmox.com
Thu Jul 8 16:14:25 CEST 2021


Basically copy-pasting the code in pve-rs and replacing instances of
"pve" with "pbs", but there are a few minor differences, need to use
String instead of &str, digest checking uses the local helper, can
use APTRepositoryHandle type directly in the API.

Can also be seen as the continuation of [0], but that series already
got it's next version, and quite a lot changed with what the UI
expects from the API calls and also a bit with the library interface,
so I just sent it as a new series.

[0]: https://lists.proxmox.com/pipermail/pbs-devel/2021-April/002596.html

Fabian Ebner (4):
  depend on proxmox-apt
  api: apt: add repositories call
  api: apt: add endpoints for adding/changing repositories
  ui: add APT repositories

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

-- 
2.30.2






More information about the pbs-devel mailing list