]> git.proxmox.com Git - proxmox-apt.git/commit
add type DebianCodename
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 29 Jul 2021 12:25:52 +0000 (14:25 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 29 Jul 2021 16:00:38 +0000 (18:00 +0200)
commitfb51dcf9db19dd96d3de46b63221549ccdb67122
treed1f3954eaf025dd95d2cf1c848a90fdba322fd4d
parent51c69d76a5336083dc9ace011acda789c99e8500
add type DebianCodename

which allows to get rid of an possible error with check_suites, and
easily detect unexpected values with get_current_release_codename.

The check_repos function needs to be adapted, since the type does
not include suite names like oldstable,experimental,etc.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
src/repositories/file.rs
src/repositories/mod.rs
src/repositories/release.rs
tests/repositories.rs