From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 227B81FF0B6 for ; Thu, 12 Nov 2026 15:14:42 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 178CB21683; Thu, 12 Nov 2026 15:14:39 +0100 (CET) From: Filip Schauer To: pve-devel@lists.proxmox.com Subject: [PATCH manager 12/26] use proxmox-oci instead of skopeo for listing tags from OCI registries Date: Thu, 12 Nov 2026 15:10:39 +0100 Message-ID: <20261112141109.137298-13-f.schauer@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261112141109.137298-1-f.schauer@proxmox.com> References: <20261112141109.137298-1-f.schauer@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1794492875764 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.192 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: SI7AKT4AM3M5BCA5S672BK6Q7W23RSCV X-Message-ID-Hash: SI7AKT4AM3M5BCA5S672BK6Q7W23RSCV X-MailFrom: f.schauer@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: Filip Schauer --- PVE/API2/Nodes.pm | 13 ++----------- debian/control | 1 - 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm index 1e2a96f1..6a7eeb86 100644 --- a/PVE/API2/Nodes.pm +++ b/PVE/API2/Nodes.pm @@ -1905,18 +1905,9 @@ __PACKAGE__->register_method({ code => sub { my ($param) = @_; - die "Install 'skopeo' to list tags from OCI registries.\n" if (!-f '/usr/bin/skopeo'); - my $reference = $param->{reference}; - my $tags_json = ""; - PVE::Tools::run_command( - ["skopeo", "list-tags", "docker://$reference"], - outfunc => sub { - $tags_json = $tags_json . shift; - }, - ); - my $tags = decode_json($tags_json); - return $tags->{Tags}; + my $auth = "Anonymous"; + return PVE::RS::OCI::list_repository_tags($reference, $auth); }, }); diff --git a/debian/control b/debian/control index e438ce12..7d3de1d8 100644 --- a/debian/control +++ b/debian/control @@ -107,7 +107,6 @@ Depends: apt (>= 1.5~), Recommends: proxmox-firewall, proxmox-offline-mirror-helper, pve-nvidia-vgpu-helper, - skopeo, Conflicts: vlan, vzdump, Replaces: vlan, vzdump, Provides: vlan, vzdump, -- 2.47.3