From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (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 finch.gentoo.org (Postfix) with ESMTPS id CD5AB158009 for ; Tue, 20 Jun 2023 18:07:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4E63E092C; Tue, 20 Jun 2023 18:07:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 93450E08FB for ; Tue, 20 Jun 2023 18:07:39 +0000 (UTC) Message-ID: <06d53584-9c50-b819-cac5-abc17249c515@gentoo.org> Date: Tue, 20 Jun 2023 20:07:35 +0200 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [gentoo-dev] Eselect repository feature request To: gentoo-dev@lists.gentoo.org References: <30d4b57b-734f-bd42-4427-15389256e80f@gentoo.org> <703cdee8-b322-6c49-be13-efd10426ea6b@gentoo.org> Content-Language: en-US, nl-NL From: Andrew Ammerlaan Organization: Gentoo Linux In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Archives-Salt: 8f9ee2d7-c0b3-452b-8c74-39b0f7b8cecc X-Archives-Hash: c7ebb96a6a3c0e20c9a86afda34804c2 On 20/06/2023 19:26, Mike Gilbert wrote: > On Tue, Jun 20, 2023 at 1:08 PM Florian Schmaus wrote: >> >> On 20.06.23 16:41, TOMAS FABRIZIO ORSI wrote: >>> Isn't that duplicating the information of metadata/layout.conf's >>> 'master' key-value pair [1]? >>> >>> >>> Yes, I agree that it would be duplicating that information. As a matter >>> of fact, Michał Górny pointed the same thing out. >>> However, Michał also added, quote: "What's really lacking here is >>> support for specifying dependencies via |repositories.xml| >> >> Do we need to duplicate the information in repositories.xml, with all >> the drawbacks of duplication? >> >> Can't eselect repository add the new repository, then read the 'masters' >> value from layout.conf, and add the missing repositories recursively? > > That would be a significant change in behavior for eselect repository. > Currently, it does not actually sync any repos; it just manages the > config in /etc/portage/repos.conf. > Or maybe we just output a warning after syncing if a repository listed in masters= is not enabled? Less automated, but simpler. I don't think this situation happens very often so this is probably good enough IMO. Best regards, Andrew