[pve-devel] [PATCH-SERIES v7] APT repositories API/UI

Fabian Ebner f.ebner at proxmox.com
Wed Jun 23 15:38:53 CEST 2021


List the configured repositories and have some basic checks for them.
Allow adding standard Proxmox repositories and enabling/disabling repositories.


Changes from v6:
    * do not include the upgrade functionality for now, focus on being
      able to add standard repositories and enable/disable them
    * put impl blocks and struct declarations together in proxmox-apt
    * merge repositories and check_repositories get calls
    * see individual patches for more

Older changes can be found here:
https://lists.proxmox.com/pipermail/pve-devel/2021-June/048598.html


The dependency for pve-rs to proxmox-apt is already in the patches.
Additionally, pve-manager depends on pve-rs and proxmox-widget-toolkit.


proxmox-apt:

Fabian Ebner (5):
  initial commit
  add files for Debian packaging
  add more functions to check repositories
  add handling of Proxmox standard repositories
  bump version to 0.2.0-1


pve-rs:

Fabian Ebner (1):
  add bindings for proxmox-apt

 Cargo.toml              |   2 +
 Makefile                |   6 +-
 src/apt/mod.rs          |   1 +
 src/apt/repositories.rs | 128 ++++++++++++++++++++++++++++++++++++++++
 src/lib.rs              |   4 +-
 5 files changed, 136 insertions(+), 5 deletions(-)
 create mode 100644 src/apt/mod.rs
 create mode 100644 src/apt/repositories.rs


proxmox-widget-toolkit:

Fabian Ebner (2):
  add UI for APT repositories
  add buttons for add/enable/disable

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


pve-manager:

Fabian Ebner (3):
  api: apt: add call for repository information
  api: apt: add PUT and POST handler for repositories
  ui: add panel for listing APT repositories

 PVE/API2/APT.pm             | 288 ++++++++++++++++++++++++++++++++++++
 www/manager6/node/Config.js |   9 ++
 2 files changed, 297 insertions(+)

-- 
2.30.2






More information about the pve-devel mailing list