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 AC2D8138334 for ; Fri, 13 Jul 2018 19:41:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8291DE081E; Fri, 13 Jul 2018 19:41:49 +0000 (UTC) Received: from mail-pf0-f174.google.com (mail-pf0-f174.google.com [209.85.192.174]) (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 414AFE07F6 for ; Fri, 13 Jul 2018 19:41:49 +0000 (UTC) Received: by mail-pf0-f174.google.com with SMTP id l9-v6so11545277pff.9 for ; Fri, 13 Jul 2018 12:41:49 -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=1br+yy4iZEsM6pRcbP2uAceXsX5O8W7bW6b0FjtH2Yw=; b=gDVIQiS14+21V4uaFcH2oSWz8o/tZhFaXkBsbP0Vo2mFCPSM/HaJACdr0o5ujmtaKw x/43iDKRQJ2jWF+hswYQUPrIt9Sz2pdn+cuuowEBdn/RfWn9OZ79Zn2L0Orxld+LOppv dqKy+VzpXyMn/CHaKmMei0HH1+LFF0w+L6mMqg3TU8JV6KEs+X7/A+czdqp9UexwOJvo tjHkGwPw998WRal77eiznXGkLCBhXMOtn5UjQB/6zTyc3t6LQRhWgGC+7PbtXvqjLP0D FDfZmSozGs9yaGirNw1mavhrDeBdkHod+AFrQSl982kbWEfZaxfO+UALZ5SlMnpHVhyS fA7g== X-Gm-Message-State: AOUpUlGY8SCtLkVtCTcISbvQOF6zEchaAAzoFOa/Zo5x3dkXNuHwiaMm 2kkEi/zUFrisPm6131/ijMnF8Y0YC6LexJnK4yPu/tdS X-Google-Smtp-Source: AAOMgpdYJsf2UKGqjOaaqlYIjq8f+pZV6W9QV76sj7R030s+I3+i/CDPrXKyY16fiNRIsiNlGLzpSIXekWFZ62CcgMc= X-Received: by 2002:a65:4d05:: with SMTP id i5-v6mr7186315pgt.58.1531510907768; Fri, 13 Jul 2018 12:41:47 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Project discussion list X-BeenThere: gentoo-project@lists.gentoo.org Reply-To: gentoo-project@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> In-Reply-To: <23368.64354.849449.669215@a1i15.kph.uni-mainz.de> From: Rich Freeman Date: Fri, 13 Jul 2018 15:41:36 -0400 Message-ID: Subject: Re: [gentoo-project] Call for agenda items - Council meeting 2018-07-29 To: gentoo-project Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 80b90355-a4fa-4569-aa0e-1bd8e7da50de X-Archives-Hash: 9a6a07f1672c7dd4bdf3aa6ff2c966e8 On Fri, Jul 13, 2018 at 3:20 PM Ulrich Mueller wrote: > > >>>>> On Fri, 13 Jul 2018, Rich Freeman wrote: > > > For the directory under each I suggest a gentoo/portage parent > > directory, and then a tree underneath: > > .../gentoo/repos/gentoo (this is PMS) > > .../gentoo/repos/myoverlay (this is PMS) > > .../gentoo/packages (I'm not sure if this is PMS - move to portage if not) > > .../gentoo/distfiles (I don't think this is PMS, but it is so > > generic that it probably should be considered shared) > > Why the "gentoo" path component? That's not a package, and therefore > not compliant with the FHS. (Or even worse, it actually _is_ a > package, namely app-misc/gentoo.) >From FHS: /var/lib/ is the location that must be used for all distribution packaging support. Different distributions may use different names, of course. p34: https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.pdf > > > /var/lib/gentoo/repos/gentoo (I'm fine with cache here as well) > > Here we're at 5 path components again. I will likely vote against any > proposal that would put the tree such deep in the hierarchy. And the > double "gentoo" adds some extra ugliness. Well, /var/lib/ is 3 right there. If 5 is no good then you only have one left. We could just make it /var/lib/repos which seems non-compliant. Or we can make it /var/lib/gentoo/myoverlay which is great until we have an overlay called distfiles or whatever. And if it is just the double gentoo I guess there is /var/lib/gentoo/repos/main Unless we want to put overlays somewhere entirely different, in which case we could just use /var/lib/gentoo/repo I guess. But, I think it makes more sense to view the gentoo repo as just the main repo out of many. > > /var/cache/gentoo/packages (These are package builds and are > > completely reproducible.) > > /var/cache/gentoo/distfiles (This is literally a network cache/mirror) > > /var/cache/portage/edb (This is portage-specific, > > but it can be regenerated) > > /var/lib/portage/pkg (This is the must-preserve > > metadata state of the system, in portage's internal format.) > > Why not keep this at /var/db/pkg? That's the path mentioned in PMS. Why not put all of this stuff in /var/db? Or in /var/gentoo? Or in /gentoo? It isn't FHS. FHS actually specifically says that stuff in /var/db should go to /var/lib/misc or a pkg-specific directory (p35 footnote 5 - above link). Yeah, I get that BSD sticks it in /var/db. But BSD also sticks the repo in /usr/ports. But, if you want to leave /var/db/pkg alone at least moving the rest is a step in the right direction. -- Rich