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 DC204138334 for ; Mon, 6 Aug 2018 07:30:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1D7AE0839; Mon, 6 Aug 2018 07:30:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 73487E0839 for ; Mon, 6 Aug 2018 07:30:33 +0000 (UTC) Received: from professor-x (d108-172-194-6.bchsia.telus.net [108.172.194.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id EC267335CA8 for ; Mon, 6 Aug 2018 07:30:30 +0000 (UTC) Date: Mon, 6 Aug 2018 00:30:31 -0700 From: Brian Dolbec To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] [PATCH 2/2] Update /usr/portage references (bug 378603) Message-ID: <20180806003031.75f4132d@professor-x> In-Reply-To: References: <20180806002347.18237-1-zmedico@gentoo.org> <20180806002347.18237-3-zmedico@gentoo.org> <23399.54678.259278.201017@a1i15.kph.uni-mainz.de> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/6rLXXflQU=iLKJhq4P1ftCV"; protocol="application/pgp-signature" X-Archives-Salt: 29fc180c-6d58-4ea0-89a4-b447e065b5bf X-Archives-Hash: f796572c5e608724a73d59880a6701ed --Sig_/6rLXXflQU=iLKJhq4P1ftCV Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 5 Aug 2018 22:46:58 -0700 Zac Medico wrote: > On 08/05/2018 09:59 PM, Ulrich Mueller wrote: > >>>>>> On Sun, 5 Aug 2018, Zac Medico wrote: =20 > > =20 > >> --- a/cnf/make.conf.example > >> +++ b/cnf/make.conf.example > >> [...] =20 > > =20 > >> @@ -119,16 +119,16 @@ > >> # fetched on demand for a given build. If you would like to > >> # selectively prune obsolete files from this directory, see > >> # eclean from the gentoolkit package. Note that locations > >> under -# /usr/portage are not necessarily safe for data > >> storage. See the +# /var/db/repos/gentoo are not necessarily > >> safe for data storage. See the # PORTDIR documentation for > >> more information. -#DISTDIR=3D/usr/portage/distfiles > >> +#DISTDIR=3D/var/db/repos/gentoo/distfiles =20 > >=20 > > Shouldn't this be /var/cache/distfiles ... > > =20 > >> # > >> # PKGDIR is the location of binary packages that you can have > >> created # with '--buildpkg' or '-b' while emerging a package. > >> This can get # up to several hundred megs, or even a few gigs. > >> Note that -# locations under /usr/portage are not necessarily > >> safe for data +# locations under /var/db/repos/gentoo are not > >> necessarily safe for data # storage. See the PORTDIR > >> documentation for more information. -#PKGDIR=3D/usr/portage/packages > >> +#PKGDIR=3D/var/db/repos/gentoo/packages =20 > >=20 > > ... and /var/cache/binpkgs? =20 >=20 > Thanks, I've fixed the /var/cache/{distfiles,binpkgs} locations in v2. >=20 > >> --- a/lib/portage/cache/flat_hash.py > >> +++ b/lib/portage/cache/flat_hash.py > >> @@ -144,7 +144,7 @@ class database(fs_template.FsBased): > >> # Only recurse 1 deep, in > >> order to avoid iteration over # entries from another nested cache > >> instance. This can # happen if the user nests an overlay inside > >> - # /usr/portage/local as > >> in bug #302764. > >> + > >> # /var/db/repos/gentoo/local as in bug #302764. =20 > >=20 > > Shouldn't a local overlay be in /var/db/repos/local, but never > > inside of the gentoo repo? =20 >=20 > Yes, but for a long time /usr/local/portage was somewhat standard, in > fact it's still mentioned here: >=20 > https://wiki.gentoo.org/wiki/Custom_repository >=20 > Nowadays, repository verification will prevent that from working... >=20 But that too can be changed along with all the user install documentation which will need to be updated as well. The new recomended location should be /var/db/repos/local. I will be updating layman for /var/db/repos/... as well. That is the intention of the "repos/" subdir. All these changes as well as the catlayst changes need to be co-ordinated so that snapshots and portage and stages don't precede the docs changes. > >> --- a/man/make.conf.5 > >> +++ b/man/make.conf.5 > >> @@ -219,10 +219,10 @@ Use the \fBPORTAGE_RO_DISTDIRS\fR variable > >> to specify one or more read-only directories containing distfiles. > >> =20 > >> Note > >> -that locations under /usr/portage are not necessarily safe for > >> data storage. +that locations under /var/db/repos/gentoo are not > >> necessarily safe for data storage. =20 > >=20 > > IMHO this statement should be made much stronger. =20 >=20 > Yes, we could also say something about repository verification here. > The old defaults set a really bad example, so we needed statements > like this to steer people in the right direction. > -- > Thanks, > Zac >=20 --Sig_/6rLXXflQU=iLKJhq4P1ftCV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQKTBAEBCgB9FiEEpdfHTggcxw20pKr1+70IcnWCDtgFAltn+RdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEE1 RDdDNzRFMDgxQ0M3MERCNEE0QUFGNUZCQkQwODcyNzU4MjBFRDgACgkQ+70IcnWC DtimkQ//YvELtBxKW1AKDD/Rs/gF3SFlKVZPMcQJzNVxRoIjz/r11ctaQx2OUDAN in8oAP6Pw/p0rM3H5hvObbyWYYYkiQpXz4WaQ+Hg19axi3wYNF0y3M2faY5qdVuE 4fxD2UxMlfoyRSozAzxtdCnRmGWf012ML63eZdVvgOW9zG7/EDL9cmTlvq4jj5uz jzdWIMbAInAUCun4s2RkBC1Q+9ZgC5c/ksEmMaj6qLv5J5gtTO0Fp930a3s14fxk tNcUpxQBhbvnebQ83ZXbSdG6zA3T3qjctnBiGZgAZKlUVYn9gcYqB7gA3CCYb2F2 1aGRnDH+n9wgbmEtNGTlIOJN4J4NkOhvAl6NtzEwdU+0lsujH0vqs2peyG1v0OYY tE8Pea3EcCUc7O1FFT/1+AruXrhbIwcvNY/4h5QAVLXslRybT5ONRxMDYYfGba4p OgFlPmbhf1vqhsN+fHb9dLx0TzmyyjBe7SXniFHlCzbgBsnwhoF1YIA6DVtM9+Cs z2rUi+jA8mGJSDB2Sh9qhAVhmfKStGRsoaFOcZEtcYDp1zSxHU9hIUzQfluK+DTQ HhqvJCVDLba0s9hYrcc+Z5InPxhcbNL+1Q5EEvnecMtdO6aKfci+z5WqSDrcixaf dB5BuPPhsTWBOnkZCVRp9/cYc4j8pnwI3tO2mKN4nRlI+T81LIk= =Ex3K -----END PGP SIGNATURE----- --Sig_/6rLXXflQU=iLKJhq4P1ftCV--