proxmox/debian
Fabian Ebner bb0ff2ac73 add get_cached_origin method and an initial config module
Allows obtaining the 'Origin' property from the cached InRelease file.

Used the once_cell crate for the config module, because it is already
used in proxmox-backup and seemed to be the right fit here.

For now, the config module is just used to be able to override the
path for the test environment, but those are actual APT config
variables, and in the future, it can be extended and used to actually
parse the apt.conf(.d/*) on the system.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-06-30 13:24:42 +02:00
..
changelog bump version to 0.2.0-1 2021-06-23 16:00:30 +02:00
control add get_cached_origin method and an initial config module 2021-06-30 13:24:42 +02:00
copyright add files for Debian packaging 2021-06-23 16:00:30 +02:00
debcargo.toml add files for Debian packaging 2021-06-23 16:00:30 +02:00