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 11BF4138334 for ; Mon, 1 Oct 2018 15:48:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66FEDE09E6; Mon, 1 Oct 2018 15:48:23 +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 EB604E09DD for ; Mon, 1 Oct 2018 15:48:22 +0000 (UTC) Received: from pomiot (d202-252.icpnet.pl [109.173.202.252]) (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 124C833BE39; Mon, 1 Oct 2018 15:48:20 +0000 (UTC) Message-ID: <1538408896.1095.8.camel@gentoo.org> Subject: Re: [gentoo-dev] RFC: Portage QA check for FHS/Gentoo policy paths, for top-level dirs and /usr/share/doc From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Mon, 01 Oct 2018 17:48:16 +0200 In-Reply-To: <1df93cd0-b3e7-56cf-3a29-bfaed2069e02@gentoo.org> References: <1df93cd0-b3e7-56cf-3a29-bfaed2069e02@gentoo.org> Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-9LP0GGy24VhPJ1XhHVYX" X-Mailer: Evolution 3.26.6 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 X-Archives-Salt: 732f2fc3-23b8-4731-aae8-161bfba366e7 X-Archives-Hash: c13e986a909eaa9fdda268530ba5c7dc --=-9LP0GGy24VhPJ1XhHVYX Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2018-10-01 at 08:19 -0700, Zac Medico wrote: > Hi all, >=20 > The ~arch version of portage hs a new QA check that reports installation > of files outside of directories that have been whitelisted [1]. The > current whitelist includes: >=20 > directories common to / and /usr > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > bin lib lib32 lib64 libx32 sbin >=20 > top level directories > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > boot dev etc opt srv usr var >=20 > /usr level directories > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > include libexec share src >=20 > /usr/share/doc level directories > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > /usr/share/doc/${PF} >=20 > The first bug report [2] is for qt-core, which installs documentation > into /usr/share/doc/${PN}-${PV} instead of /usr/share/doc/${PF} (${PF} > includes ebuild revision such as -r1, -r2, and so on). No, it doesn't. There's no /usr/share/doc/qtcore-5.11.1 on my system. > I have created a patch that will allow ebuilds to whitelist directories > by setting a QA_INSTALL_PATHS variable [3], however @mgorny said: @mgorny was seriously concerned about trigger-happy patch authors who find it urgent to silence QA warnings without even bothering to properly discuss the problem. And is continuously concerned about people who want something but don't bother starting the discussion, and instead rely on somebody else to start the discussion, even without having the appropriate knowledge on what the problem is in the first place. In other words, this is something that should be discussed on a case-by- case basis. Not the usual Gentoo thing of 'I don't like this QA warning, let's silence it quickly and go on ignoring everyone, whether my package is broken or not'. --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-9LP0GGy24VhPJ1XhHVYX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEXr8g+Zb7PCLMb8pAur8dX/jIEQoFAluyQcFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDVF QkYyMEY5OTZGQjNDMjJDQzZGQ0E0MEJBQkYxRDVGRjhDODExMEEACgkQur8dX/jI EQpnKg//R5vo+DBoArQU5GQw6Rc+0ICEhIK3tbFHTW13Q1I5RLeNpNHAmssmq7OS YERsUGENCeev4K3BcMNhdMNGRM7DZC7fljSnO/wVZlTAzFmJhL47CRs5bEuMUrpe nyrWpthnMkbCVeNogESuCKbTLUBH0bHWDOIMYvFMy1Bz6qy5s+1wLfVX7WQzCzPV MFSWcpajo6wIKHTb1sKeKhtRrIk6qrMarUAkHzV2B+VgXDwR4C7HMAyEk0H5GZW3 J72keTo3jpx4+UG05wvE7zQXXcbfWCqa9tzoiN1RohwEUFUclJE304/EKClNSwnY RGDDtoCNwCafUMVrWS4YntsmdbmiUKCBzoajrN8fsLImx2/6zlkRWZg3cQu3sTlL tJz10YJcBg8QpDArfMjuCI71W1KsiXvkfEUQtFi8WnjmGS1W+q77cn659wKlMr4a dwLK5H87FWi8+ywy9oOdrw6dgRYyAf5jeR2v25L6VHzu6m9HD2gBPpice5a06GPh r9okk9ykqNgcgZ1PkGw4xFeZt3c8FUvZKXMKZ1AgM2D4V1iVANPt25ih3GonYihQ l9Ihs7VWK7PJ7jWBcL7jTEmEbr3VLco0chYnYQlKm8nPdu0MkWXrcxccprrK4uTT wYvsxIWkQcj/VDYgFrvmm0BUvSw+ILZcZUTcj00qO6ojaTlQsT8= =UU2H -----END PGP SIGNATURE----- --=-9LP0GGy24VhPJ1XhHVYX--