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 33682138334 for ; Wed, 18 Jul 2018 13:57:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34F1EE08F2; Wed, 18 Jul 2018 13:56:59 +0000 (UTC) Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) (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 B87A8E088C for ; Wed, 18 Jul 2018 13:56:58 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id l9-v6so2248259pff.9 for ; Wed, 18 Jul 2018 06:56:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=3K0IsbFW9NoWm7lLw3jeOED/jn0xy87rx8UzIJ2J/js=; b=NfXUePOmPmh6gzjM9VUII8v9fbFE3Np2qmee72FzNmhFe6zSlN2h6X15/42HdkjvZ/ WuvMN1P7+SGL2gdapYoHVsB63s2fJKyDItc+q5KFODHHHx3JW5saDjd729iBGRb8+V3X Z/qhrH1bbtZMyaa9dnAgRULeYhozT+kMDF5Raqvan8lOrd+oSCYqc8kavtxveA8HPfWR /AogiHmBLb0ylwe+jHfivHqe7QJwYJwPlm06huyHMSLXei2ObDbE+YNOkIJ+Td/kmH9F e+3ef/tIOgITBvQ7f+cbbA/ky/ftPHgEyRvDFQk6/CNvcXl8PGRp/AvyOWfjDVqjn6VG MzUw== X-Gm-Message-State: AOUpUlGpeSXIdfWbmmNj2OldN87E5BigLDYXKHvIjRYp31C8m1GIn7K1 6V6ul2G+pS0sDiB27Wa4cMM2vTFkvFxEuSvkRa/DCg== X-Google-Smtp-Source: AAOMgpd0Qn2FmufTmY/CSLPIDVzKSmD5GSUBL6p+HjCz9zICLGgiw/gqJRYq87H9bB5pM93gRpuks7rBqeeHVVlfc74= X-Received: by 2002:a63:5b0d:: with SMTP id p13-v6mr6004028pgb.202.1531922217221; Wed, 18 Jul 2018 06:56:57 -0700 (PDT) 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 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> <23375.16600.915882.276261@a1i15.kph.uni-mainz.de> In-Reply-To: <23375.16600.915882.276261@a1i15.kph.uni-mainz.de> From: Rich Freeman Date: Wed, 18 Jul 2018 09:56:46 -0400 Message-ID: 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 Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 0253e82a-6761-493c-8ca0-b9659081f2cc X-Archives-Hash: b3f2cf49d9efec4ca1923fc0d8827278 On Wed, Jul 18, 2018 at 9:30 AM Ulrich Mueller wrote: > > >>>>> On Wed, 18 Jul 2018, Rich Freeman wrote: > > > On Wed, Jul 18, 2018 at 5:55 AM Ulrich Mueller wrote: > >> Also, there is that strange requirement that the > >> file hierarchy must not be exposed to users. At least for the > >> make.profile link we rely on a well defined hierarchy, and certainly > >> expose it to users. > > > That isn't true at all. When you run eselect profile you have no idea > > what it is looking at. > > If I run eselect profile, it shows a list of pathnames like > default/linux/amd64/17.1/desktop. If that doesn't expose the "specific > file hierarchy" then I wonder what could ever qualify? It lists profile names. The fact that our profiles are implemented using paths is an implementation detail. And you would have no idea that they're stored in /usr or /var from the output of eselect. If we modified PMS so that profiles were stored in a mysql database the current eselect output could work just fine. > Also eselect profile is a tool for convenience only, and nobody is > forced to use it. The make.profile symlink and its target are > mentioned in our documentation and users can set it manually. So is /var/lib/portage/world. Are you planning to move that to /etc? (I wouldn't object to that, actually.) Personally I think that a lot of this comes from the standpoint of a typical distro where command lines are things that should be hidden as deeply in the gnome menus as possible. But, my point is that if you want that kind of experience on Gentoo it is certainly possible insofar as profiles are concerned. > Hopefully we will keep having such users who want to understand the > inner workings, instead of being satisfied with a black box. :) > Ebuild repositories are human readable text, and we shouldn't move > them to a hidden location. There is nothing hidden about /var/lib. And I also prefer editing text files for the most part. My point is that FHS wasn't really written with Gentoo as its main target, and that is likely the reason for the bit about hiding paths. > > >> The same is true for license information in > >> /usr/portage/licenses. > > > You have a fair point there. Honestly, I don't really see this as a > > good reason on its own to abandon /var/lib, which is where other > > distros seem to stick stuff like this. Also, you don't need to poke > > around that directory to determine what license a package uses - just > > to read the text of the license itself (which could arguably just be > > stored on our webserver unless we're actually redistributing something > > in the repository under that license, which is unlikely in general > > since patches/etc are probably fair use). > > I totally disagree here. We keep local copies of licenses for good > reasons, and storing them on our webserver is no substitute. I'm not sure what you're disagreeing with. I'm not advocating for not storing them locally. I'm just saying it could be done, and I did say that you had a fair point. > No, the argument is that we already use /var/db/pkg, and grouping > other related things with it seems natural. Perhaps we should be trying to move away from using /var/db, and not doubling down? > Apart from this (quoting the devmanual): "Gentoo does not consider > the Filesystem Hierarchy Standard to be an authoritative standard, > although much of our policy coincides with it." And the discussion so > far has shown that the FHS wasn't designed for our use case. We can > still use it as a guideline, but maybe we shouldn't jump through > hoops, only to make it completely fit. Sure, I'd agree with that, but why not use /var/lib then? Your only argument against it is based on the FHS, which you freely concede wasn't written to fit our use case. > The only thing that seems certain is that regardless of what we will > do, we cannot make everybody happy. We shouldn't take that as an > excuse to do nothing, because /usr/portage is no good solution either. Well, the one thing I like about all these proposals is that it will result in Gentoo systems with a wide mixture of locations for these things, which will guarantee that any script that hard-codes paths will break. That means that those who exercise their choice to do things in a more sane way than our defaults will probably run into less trouble... -- Rich