[pve-devel] applied: [PATCH v2 manager] fix #4481: fetch changelogs for any Proxmox repository
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Feb 1 12:38:28 CET 2023
Am 30/01/2023 um 11:59 schrieb Leo Nunner:
> This patch fixes the issue that when the user supplied any non-standard
> repositories, the changelogs often wouldn't load. For example, providing
> both pve-no-subscription and pbs-no-subscription broke the changelog
> API, since the URL built for pbs-no-subscription was invalid.
>
> Signed-off-by: Leo Nunner <l.nunner at proxmox.com>
> ---
> Changes from v1:
> - Directly pass $pkgfile to get_changelog_url
> - Only check enabled repositories
> - Compare the site of the package with the repository URL
>
> PVE/API2/APT.pm | 28 +++++++++++++++++++++-------
> 1 file changed, 21 insertions(+), 7 deletions(-)
>
>
applied, thanks!
with a few (mostly unrelated to this patch) cleanups in the module and a comment
for why passing "pve" to the Proxmox::RS::APT::Repositories::repositories is done
and that we actually check all configured repos not only PVE specific,
More information about the pve-devel
mailing list