* [pve-devel] [PATCH manager stable8+master] pve8to9: record where legacy spelling of pve-test repository is found
@ 2025-08-01 11:15 Fiona Ebner
0 siblings, 0 replies; only message in thread
From: Fiona Ebner @ 2025-08-01 11:15 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
The stable-8 branch needs a 'make tidy' first for this to apply
cleanly.
PVE/CLI/pve8to9.pm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/PVE/CLI/pve8to9.pm b/PVE/CLI/pve8to9.pm
index 4d61cd83..fe3964d1 100644
--- a/PVE/CLI/pve8to9.pm
+++ b/PVE/CLI/pve8to9.pm
@@ -1465,7 +1465,8 @@ sub check_apt_repos {
$found_pve_test_repo = 1;
# just safe one, mismatched suite check will handle multiple different ones already
$found_pve_test_repo_suite = $suite;
- $found_legacy_spelled_pve_test_repo = 1 if $component eq 'pvetest';
+ $found_legacy_spelled_pve_test_repo = { where => $where }
+ if $component eq 'pvetest';
}
}
@@ -1530,9 +1531,11 @@ sub check_apt_repos {
);
if ($found_legacy_spelled_pve_test_repo) {
my $_log = $found_pve_test_repo_suite eq $new_suite ? \&log_fail : \&log_warn;
+ my $where = $found_legacy_spelled_pve_test_repo->{where};
$_log->(
- "Found legacy spelling 'pvetest' of the pve-test repo. Change the repo to use"
- . " 'pve-test' when updating the repos to the '$new_suite' suite for Proxmox VE 9!"
+ "Found legacy spelling 'pvetest' of the pve-test repo $where. Change the repo to"
+ ." use 'pve-test' when updating the repos to the '$new_suite' suite for Proxmox"
+ ." VE 9!"
);
} elsif ($found_pve_test_repo_suite eq $new_suite) {
log_pass(
--
2.47.2
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-01 11:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-01 11:15 [pve-devel] [PATCH manager stable8+master] pve8to9: record where legacy spelling of pve-test repository is found Fiona Ebner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.