[pmg-devel] [PATCH-SERIES pmg-rs/pmg-api/pmg-gui] add APT repositories API/UI

Fabian Ebner f.ebner at proxmox.com
Tue Jul 13 10:04:09 CEST 2021


Nearly identical to what's in PVE. I ran into very occasional errors
like
    error: invalid type: string "3", expected usize (500)
    error: expected bool value (500)
when using the enabled/disabled button, so I added int() coercions to
make perlmod always happy.

Dependency bump from pmg-api to pmg-rs needed.


pmg-rs:

Fabian Ebner (2):
  bump perlmod dependency
  add bindings for proxmox-apt

 Cargo.toml              |   6 +-
 Makefile                |   7 ++
 debian/control          |   2 +
 src/apt/mod.rs          |   1 +
 src/apt/repositories.rs | 159 ++++++++++++++++++++++++++++++++++++++++
 src/lib.rs              |   1 +
 6 files changed, 175 insertions(+), 1 deletion(-)
 create mode 100644 src/apt/mod.rs
 create mode 100644 src/apt/repositories.rs


pmg-api:

Fabian Ebner (1):
  api: apt: add calls for repositories

 src/PMG/API2/APT.pm | 292 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 292 insertions(+)


pmg-gui:

Fabian Ebner (1):
  add panel for APT repositories

 js/ServerAdministration.js | 7 +++++++
 1 file changed, 7 insertions(+)

-- 
2.30.2





More information about the pmg-devel mailing list