From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 9E51C1FF2C6 for ; Tue, 9 Jul 2024 12:48:54 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 965261DA0A; Tue, 9 Jul 2024 12:49:17 +0200 (CEST) Date: Tue, 9 Jul 2024 12:48:43 +0200 From: Wolfgang Bumiller To: Fiona Ebner Message-ID: References: <20240709061832.52121-1-w.bumiller@proxmox.com> <20240709061832.52121-6-w.bumiller@proxmox.com> <4aed2abf-cf5a-45d9-ab4b-c828819ab7c0@proxmox.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4aed2abf-cf5a-45d9-ab4b-c828819ab7c0@proxmox.com> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.086 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy 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: Re: [pbs-devel] [PATCH proxmox 6/6] apt: avoid global apt config X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Cc: Proxmox Backup Server development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" On Tue, Jul 09, 2024 at 12:34:37PM GMT, Fiona Ebner wrote: > Am 09.07.24 um 08:18 schrieb Wolfgang Bumiller: > > From: Dietmar Maurer > > > > Because it was only used for the test setup. Instead, we simply > > add an apt_lists_dir parameter where we need it. > > > > It was intended to be built upon and read in the actual values from the > user's apt configuration, i.e. the Dir::State and Dir::State::Lists > configuration variables. Just never got around to adding that feature. > Another option that was planned to be added is the > Dir::Ignore-Files-Silently one for > https://bugzilla.proxmox.com/show_bug.cgi?id=3510 If we want more flexibility in there it would probably make sense to have some kind of top-level type which can be configured and takes care of passing down the necessary data, with functionality being methods on that - and get rid of all the freestanding functions and functions returning longer tuples of not-self-describing data. Would also make the generated rust docs a lot more natural to read. _______________________________________________ pbs-devel mailing list pbs-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel