From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 474BE73157 for ; Mon, 5 Jul 2021 15:51:11 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 1D594202D6 for ; Mon, 5 Jul 2021 15:50:41 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id AB89520295 for ; Mon, 5 Jul 2021 15:50:39 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 49AFC40BF3 for ; Mon, 5 Jul 2021 15:50:39 +0200 (CEST) From: Fabian Ebner To: pve-devel@lists.proxmox.com Date: Mon, 5 Jul 2021 15:50:27 +0200 Message-Id: <20210705135033.101390-1-f.ebner@proxmox.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.577 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH-SERIES apt/widget-toolkit/manager] small refinements for APT repositories X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2021 13:51:11 -0000 Limit some checks to Proxmox (and Debian) repositories where appropriate, and some other tiny improvements thrown in. The RFCs (apt patch #3 and widget-toolkit patch #2) form a logcial unit. The RFCs are also the only things requiring dependency bumps: 1. widget-toolkit patch #2 expects the new warnings from proxmox-apt 2. To avoid an (although soft) breaks, pve-manager needs to depend on the new proxmox-apt (via pve-rs) at the same time as it depends on the new widget-toolkit, because old widget-toolkit can end up showing warnings without message for the 'Suites' column (see widget-tookit patch #1 for the details/fix). proxmox-apt: Fabian Ebner (3): code cleanup: use contains() repository check: limit 'stable' to Proxmox and Debian origin repository check: check components for Proxmox repositories src/repositories/file.rs | 87 +++++++++++++++----------- src/repositories/mod.rs | 12 ++-- tests/repositories.rs | 23 ++++++- tests/sources.list.d.expected/pve.list | 2 + tests/sources.list.d/pve.list | 1 + 5 files changed, 79 insertions(+), 46 deletions(-) proxmox-widget-toolkit: Fabian Ebner (2): node: repos: properly ignore warnings for other properties node: repos: show components warnings from the backend src/node/APTRepositories.js | 46 +++++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 20 deletions(-) pve-manager: Fabian Ebner (1): api: apt: repositories: add description to return schema PVE/API2/APT.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.30.2