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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1838A138334 for ; Fri, 27 Jul 2018 08:41:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36A24E08A4; Fri, 27 Jul 2018 08:40:54 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4548E081B for ; Fri, 27 Jul 2018 08:40:53 +0000 (UTC) Received: from [10.65.133.49] (public-gprs634879.centertel.pl [5.184.23.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 8C6D6335CA9; Fri, 27 Jul 2018 08:40:51 +0000 (UTC) Date: Fri, 27 Jul 2018 10:40:42 +0200 User-Agent: K-9 Mail for Android In-Reply-To: <23386.55441.474410.12939@a1i15.kph.uni-mainz.de> References: <23368.25818.481969.336756@a1i15.kph.uni-mainz.de> <20180713065734.63627e6f@professor-x> <23368.58952.48436.482420@a1i15.kph.uni-mainz.de> <23368.64354.849449.669215@a1i15.kph.uni-mainz.de> <23369.2669.259722.764432@a1i15.kph.uni-mainz.de> <23375.3755.971322.887796@a1i15.kph.uni-mainz.de> <23386.55441.474410.12939@a1i15.kph.uni-mainz.de> 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [gentoo-dev] rfc: moving default location of portage tree (was: [gentoo-project] Call for agenda items - Council meeting 2018-07-29) To: gentoo-dev@lists.gentoo.org,Ulrich Mueller From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= Message-ID: <0FA12EA9-2CF9-43D6-A396-36F8FB24256F@gentoo.org> X-Archives-Salt: b52b8746-b4da-40bf-9e6a-d2ae59823f39 X-Archives-Hash: 887299671162066f961e5dcc1efff99a Dnia 27 lipca 2018 10:32:17 CEST, Ulrich Mueller napisa= =C5=82(a): >>>>>> On Thu, 19 Jul 2018, Ch=C3=AD-Thanh Christopher Nguy=E1=BB=85n wrot= e: > >>> Users must never need to modify files in /var/lib to configure a >>> package's operation, and _the_specific_file_hierarchy_ used to >>> store the data _must_not_be_ _exposed_ to regular users=2E" > >> One small note, while it is never needed to modify, skel=2Eebuild >> would then be a file that is meant to be accessed by users in >> /var/lib if your proposal is realized=2E > >That's one of the reasons why the proposal prefers /var/db=2E The other >reason is existing usage in eselect-repository=2E > >>>>>> On Thu, 19 Jul 2018, Ulrich Mueller wrote: > >> In my understanding, a cache is typically an open collection of >items=2E >> Some subset of them can be deleted without much negative consequence, >> and there may also be surplus items that are no longer necessary and >> will be expired at some later time in order to reclaim disk space=2E > >> Nothing of this is true for an ebuild repository, which is a closed >> collection of files: A single file cannot be discarded without >> invalidating the whole repository=2E Also there cannot be any stray >> files which would be expired later=2E Same as above, a single stray >file >> will invalidate all=2E > >> (A collection of binary packages may qualify as a cache though, by >> this definition=2E) > >So, considering all the feedback from mailing list and IRC: > > /usr/portage -> /var/db/repos/gentoo > /usr/portage/distfiles -> /var/cache{,/gentoo}/distfiles > /usr/portage/packages -> /var/cache{,/gentoo}/binpkgs > >Open question: Should we have the additional "gentoo" path component >for the ones in /var/cache? The tradeoff is between a path that is >easier to type, or slightly easier usage if someone wants to NFS mount >distfiles and binpkgs=2E Note that NFS is not exactly clear cut here since binpkgs are not portable= to different hosts, so you can have multiple variants of it=2E > >Ulrich --=20 Best regards, Micha=C5=82 G=C3=B3rny (by phone)