proxmox-backup/src/api2
Stefan Reiter a4e86972a4 add .../apt/update API call
Depends on patched apt-pkg-native-rs. Changelog-URL detection is
inspired by PVE perl code for now, though marked with fixme to use 'apt
changelog' later on, if/when our repos have APT-compatible changelogs
set up.

list_installed_apt_packages iterates all packages and creates an
APTUpdateInfo with detailed information for every package matched by the
given filter Fn.

Sadly, libapt-pkg has some questionable design choices regarding their
use of 'iterators', which means quite a bit of nesting...

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2020-07-23 10:41:14 +02:00
..
access api2/access/acl: add path and exact parameter to list_acl 2020-05-20 13:44:36 +02:00
admin update proxmox crate to 0.2.0 2020-07-10 11:08:27 +02:00
backup add incremental backup support 2020-06-24 10:01:25 +02:00
config api2/config/sync: fix id parameter 2020-05-29 11:24:54 +02:00
node add .../apt/update API call 2020-07-23 10:41:14 +02:00
reader depend on proxmox 0.1.31 - use Value to store result metadata 2020-05-18 09:57:35 +02:00
access.rs src/api2/access.rs: cleanup 2020-04-18 07:28:25 +02:00
admin.rs api2: add admin/sync endpoint 2020-05-29 11:31:32 +02:00
backup.rs src/api2/backup.rs: call register_chunk in previous download api 2020-06-26 08:22:46 +02:00
config.rs rename 'job' to 'sync' 2020-05-21 10:29:25 +02:00
helpers.rs api: translate ENOTFOUND to 404 for downloads 2020-07-22 09:19:29 +02:00
node.rs add .../apt/update API call 2020-07-23 10:41:14 +02:00
pull.rs api2/pull: refactor priv checking and creating pull parameters 2020-05-29 11:27:43 +02:00
reader.rs extract create_download_response API helper 2020-06-25 11:57:37 +02:00
status.rs api2/status: fix estimation bug 2020-07-21 13:02:08 +02:00
types.rs add .../apt/update API call 2020-07-23 10:41:14 +02:00
version.rs switch from failure to anyhow 2020-04-17 18:43:30 +02:00