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 13A2F71D85 for ; Wed, 30 Jun 2021 12:20:56 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 09B2818628 for ; Wed, 30 Jun 2021 12:20:26 +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 ABD0D18603 for ; Wed, 30 Jun 2021 12:20:23 +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 7AE0146813 for ; Wed, 30 Jun 2021 12:20:23 +0200 (CEST) From: Fabian Ebner To: pve-devel@lists.proxmox.com Date: Wed, 30 Jun 2021 12:20:15 +0200 Message-Id: <20210630102019.39057-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.625 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 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [standard.rs, proxmox.com, mod.rs, repository.rs, repositories.rs, config.rs, lib.rs, file.rs] Subject: [pve-devel] [PATCH-SERIES proxmox-apt/proxmox-widget-toolkit] APT repos: Use Origin property instead of "official host" 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: Wed, 30 Jun 2021 10:20:56 -0000 which also works for mirrors, host aliases and direct IP addressses. The third proxmox-apt patch is not directly related, but another small improvement. Requires the not-yet-applied patches for pve-rs and pve-manager from here: https://lists.proxmox.com/pipermail/pve-devel/2021-June/048963.html It's necessary to re-build pve-rs to get the changes of course. For pve-manger no changes should be required. proxmox-apt: Fabian Ebner (3): add get_cached_origin method and an initial config module check: return 'origin' property instead of 'badge' for official host standard repos: drop product acronym from repo name Cargo.toml | 1 + debian/control | 2 + src/config.rs | 35 + src/lib.rs | 1 + src/repositories/file.rs | 17 +- src/repositories/mod.rs | 14 +- src/repositories/repository.rs | 112 +- src/repositories/standard.rs | 21 +- ...ox.com_debian_pve_dists_bullseye_InRelease | 38 + ...rg_debian_dists_bullseye-updates_InRelease | 394 ++++ ...debian.org_debian_dists_bullseye_InRelease | 1593 +++++++++++++++++ ...security_dists_bullseye-security_InRelease | 426 +++++ tests/repositories.rs | 77 +- 13 files changed, 2677 insertions(+), 54 deletions(-) create mode 100644 src/config.rs create mode 100644 tests/lists/download.proxmox.com_debian_pve_dists_bullseye_InRelease create mode 100644 tests/lists/ftp.debian.org_debian_dists_bullseye-updates_InRelease create mode 100644 tests/lists/ftp.debian.org_debian_dists_bullseye_InRelease create mode 100644 tests/lists/security.debian.org_debian-security_dists_bullseye-security_InRelease proxmox-widget-toolkit: Fabian Ebner (1): apt repositories: replace OfficialHost with Origin src/node/APTRepositories.js | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) -- 2.30.2