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 72F9675226 for ; Wed, 23 Jun 2021 15:39:42 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 4E5D4B669 for ; Wed, 23 Jun 2021 15:39:12 +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)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 86DC7B634 for ; Wed, 23 Jun 2021 15:39:10 +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 4A76E46779 for ; Wed, 23 Jun 2021 15:39:10 +0200 (CEST) From: Fabian Ebner To: pve-devel@lists.proxmox.com Date: Wed, 23 Jun 2021 15:38:53 +0200 Message-Id: <20210623133904.174072-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.692 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 v7] APT repositories API/UI 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, 23 Jun 2021 13:39:42 -0000 List the configured repositories and have some basic checks for them. Allow adding standard Proxmox repositories and enabling/disabling repositories. Changes from v6: * do not include the upgrade functionality for now, focus on being able to add standard repositories and enable/disable them * put impl blocks and struct declarations together in proxmox-apt * merge repositories and check_repositories get calls * see individual patches for more Older changes can be found here: https://lists.proxmox.com/pipermail/pve-devel/2021-June/048598.html The dependency for pve-rs to proxmox-apt is already in the patches. Additionally, pve-manager depends on pve-rs and proxmox-widget-toolkit. proxmox-apt: Fabian Ebner (5): initial commit add files for Debian packaging add more functions to check repositories add handling of Proxmox standard repositories bump version to 0.2.0-1 pve-rs: Fabian Ebner (1): add bindings for proxmox-apt Cargo.toml | 2 + Makefile | 6 +- src/apt/mod.rs | 1 + src/apt/repositories.rs | 128 ++++++++++++++++++++++++++++++++++++++++ src/lib.rs | 4 +- 5 files changed, 136 insertions(+), 5 deletions(-) create mode 100644 src/apt/mod.rs create mode 100644 src/apt/repositories.rs proxmox-widget-toolkit: Fabian Ebner (2): add UI for APT repositories add buttons for add/enable/disable src/Makefile | 1 + src/node/APTRepositories.js | 503 ++++++++++++++++++++++++++++++++++++ 2 files changed, 504 insertions(+) create mode 100644 src/node/APTRepositories.js pve-manager: Fabian Ebner (3): api: apt: add call for repository information api: apt: add PUT and POST handler for repositories ui: add panel for listing APT repositories PVE/API2/APT.pm | 288 ++++++++++++++++++++++++++++++++++++ www/manager6/node/Config.js | 9 ++ 2 files changed, 297 insertions(+) -- 2.30.2