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 78D371396D9 for ; Sun, 12 Nov 2017 15:21:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D640DE0F2A; Sun, 12 Nov 2017 15:21:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 7EC0EE0F0F for ; Sun, 12 Nov 2017 15:21:53 +0000 (UTC) Received: from a1i15.kph.uni-mainz.de (host2092.kph.uni-mainz.de [134.93.134.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id D690B33BF01; Sun, 12 Nov 2017 15:21:51 +0000 (UTC) Message-ID: <23048.26379.584985.594980@a1i15.kph.uni-mainz.de> Date: Sun, 12 Nov 2017 16:21:47 +0100 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Help testing ebuilds? golang/Fabio load balancer In-Reply-To: <1eed4490-6e21-42bf-6546-e73013d30b35@gentoo.org> References: <05c08f65-3cf6-67f4-621e-cf210fe2a82c@gentoo.org> <1510387105.1210.2.camel@gentoo.org> <1510428406.2446.2.camel@gentoo.org> <1eed4490-6e21-42bf-6546-e73013d30b35@gentoo.org> X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) From: Ulrich Mueller 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: multipart/signed; boundary="pgp+signed+sQdnxyZugtmLr01"; micalg=pgp-sha256; protocol="application/pgp-signature" X-Archives-Salt: 8672ad0e-2bf8-4542-a1aa-f7399596d45d X-Archives-Hash: 26e3a9b6508a8beafd2d5ba51118ee83 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --pgp+signed+sQdnxyZugtmLr01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit >>>>> On Sun, 12 Nov 2017, Michael Orlitzky wrote: > Some day -- I'll add it to my list. For now I'll update the docs to > explain why you should use keepdir, and do a QA warning for empty > directories. Then how does this sound for EAPI=next? > * Ban keepdir. > * Have portage call its keepdir code on any empty directories in $D > between src_install and pkg_preinst. > * Update the devmanual and portage documentation to suggest dodir > instead of keepdir in the new EAPI. > * Change the PMS to remove "undefined behavior" and replace it with > "empty directories must be tracked, and may only be removed once no > installed package is using them," or something along those lines. > That leaves the implementation up to the PM. How? Look up VDB entries of all installed packages? Note that this would have to be done for every dir that becomes empty, not just the ones currently containing a .keep_* file. What problem are you trying to solve? I see typically around 100 .keep_* files on my systems. These are empty files, so they don't use any blocks. And 100 inodes system wide looks like negligible usage of resources to me. Ulrich --pgp+signed+sQdnxyZugtmLr01 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBCAAGBQJaCGcKAAoJEMMJBoUcYcJzg2EH/2MzFkPOvYFCPIHE/DDdP82u unOvPxgknaAdxPAj8ohfXcpoESPeTuEGqsvqcSVm5Yq6jEHZSZ3ye3TKlUuaFS8W pVYIV+JOv2GvniAMfMLTjjf/hthKg0qJoMYdqsOi5/QGV4arIlKrrlge6Ze6axM/ 8F47yV2i6UMEmOggUKL971tRQG27D1NGqbkbslOk8TnOBbO0gOCoXsN8l64bcEJ4 GAAqpDMht7Jgar/dUa12bLHbhonZfaGYXZGcwRtnBXd9W9MEQKvHwpazWyfHUssR sZBYzY7VVkVmI3UUUnyQmXx6dRFCXnYm0Zcx6vOVoxyyU2aNaCrceDcDupBNzrs= =iJvy -----END PGP SIGNATURE----- --pgp+signed+sQdnxyZugtmLr01--