proxmox/tests
Fabian Ebner f48c12b00a standard repos: add suite parameter for stricter detection
Require that the suite matches too when detecting standard
repositories, since no or invalid updates will be obtained when the
suite is wrong. Thus, it should not be considered to be the same
repository.

Add the parameter for get_standard_repository too, so that the two
related calls have more similar parameters, and the detection of the
current release code name can be done once in the caller once.

This also will fix an issue with the front-end, where adding a
standard repository would end up just enabling an already present
repository with the wrong suite.

Reported-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-07-29 18:00:38 +02:00
..
lists add get_cached_origin method and an initial config module 2021-06-30 13:24:42 +02:00
sources.list.d standard repo detection: handle alternative URI for PVE repos 2021-07-16 15:21:21 +02:00
sources.list.d.expected standard repo detection: handle alternative URI for PVE repos 2021-07-16 15:21:21 +02:00
repositories.rs standard repos: add suite parameter for stricter detection 2021-07-29 18:00:38 +02:00