all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH pve-manager 1/1] api: apt: add 'all' option to Arch property
@ 2025-11-06  8:54 Nicolas Frey
  2025-11-06  9:13 ` Lukas Wagner
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Frey @ 2025-11-06  8:54 UTC (permalink / raw)
  To: pve-devel

The `all` architecture is defined for e.g. all proxmox perl packages,
so add it to the enum.

This would lead to an error in the update view in PDM:
[...] failed to parse api response: unknown variant `all` [...]

Reported-by: Lukas Wagner <l.wagner@proxmox.com>
Signed-off-by: Nicolas Frey <n.frey@proxmox.com>
---
 PVE/API2/APT.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/APT.pm b/PVE/API2/APT.pm
index 1ccbaf97..395ce070 100644
--- a/PVE/API2/APT.pm
+++ b/PVE/API2/APT.pm
@@ -204,7 +204,7 @@ my $apt_package_return_props = {
     Arch => {
         type => 'string',
         description => 'Package Architecture.',
-        enum => [qw(armhf arm64 amd64 ppc64el risc64 s390x)],
+        enum => [qw(armhf arm64 amd64 ppc64el risc64 s390x all)],
     },
     Description => {
         type => 'string',
-- 
2.47.3


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-11-06  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-06  8:54 [pve-devel] [PATCH pve-manager 1/1] api: apt: add 'all' option to Arch property Nicolas Frey
2025-11-06  9:13 ` Lukas Wagner

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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal