Go to file
Christian Ebner 21dd3cee70 fix: never append archive name extensions twice, use type instead
Commit 16298c5f ("update to current PBS master") introduced a helper
method to generate the backup archive names from a device name.

However, the helper was also used incorrectly to generate archive
names from strings already having the `.img.fidx` filename extension.
As the extension is appended unconditionally, this leads to an
archive name which will parse successfully, but not be the expected
archive name to be found in the backup manifest.

Fix this by dropping the incorrect helper call-sites and adapt the
function parameters to take a `BackupArchiveName` directly, reducing
potential for future mishandling.

Fixes: Commit 16298c5f ("update to current PBS master")
Reported-by: Markus Frank <m.frank@proxmox.com>
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Tested-by: Markus Frank <m.frank@proxmox.com>
2025-01-30 13:11:29 +01:00
.cargo move .cargo/config to .cargo/config.toml 2024-06-20 12:29:42 +02:00
debian bump version to 1.5.0 2025-01-24 08:29:24 +01:00
src fix: never append archive name extensions twice, use type instead 2025-01-30 13:11:29 +01:00
submodules use pbs-api-types dependency from newly separated package 2025-01-24 08:23:35 +01:00
.gitmodules use PBS workspace crates from submodule 2023-05-27 17:55:07 +02:00
build.rs warnings and clippy fixups 2024-01-05 10:44:00 +01:00
Cargo.toml bump version to 1.5.0 2025-01-24 08:29:24 +01:00
current-api.h header: adapt to typo fixes 2024-06-20 09:56:40 +02:00
header-preamble.c tree-wide: fix typos in comments 2024-06-12 12:48:31 +02:00
Makefile buildsys: derive upload dist automatically 2023-05-27 17:55:07 +02:00
simpletest.c simpletest: Fix build after API change 2023-01-12 13:34:18 +01:00