Re: [gentoo-portage-dev] [PATCH v3] install-qa-checks.d: Add a check for Gentoo path policies (FHS-y)

2018-09-04 Thread Zac Medico
On 09/04/2018 10:58 AM, Michał Górny wrote: > Add a check that verifies whether ebuilds don't install to paths > forbidden by the policy. This mostly aims to verbosely report bugs > such as missing dependencies causing empty install paths, resulting > in files ending up in / and bad upstreams.

[gentoo-portage-dev] [PATCH v3] install-qa-checks.d: Add a check for Gentoo path policies (FHS-y)

2018-09-04 Thread Michał Górny
Add a check that verifies whether ebuilds don't install to paths forbidden by the policy. This mostly aims to verbosely report bugs such as missing dependencies causing empty install paths, resulting in files ending up in / and bad upstreams. This should also help detect the relatively common

Re: [gentoo-portage-dev] [PATCH v2] install-qa-checks.d: Add a check for Gentoo path policies (FHS-y)

2018-09-04 Thread Michael Orlitzky
On 09/04/2018 01:53 PM, Michał Górny wrote: > + # TODO: do we need it? gconf installs empty dir there but that's > + # all > + root FWIW, we should not allow this.

[gentoo-portage-dev] [PATCH v2] install-qa-checks.d: Add a check for Gentoo path policies (FHS-y)

2018-09-04 Thread Michał Górny
Add a check that verifies whether ebuilds don't install to paths forbidden by the policy. This mostly aims to verbosely report bugs such as missing dependencies causing empty install paths, resulting in files ending up in / and bad upstreams. This should also help detect the relatively common

Re: [gentoo-portage-dev] [PATCH] install-qa-checks.d: Add a check for Gentoo path policies (FHS-y)

2018-09-04 Thread Michał Górny
On Tue, 2018-09-04 at 13:24 +0200, Ulrich Mueller wrote: > > > > > > On Tue, 04 Sep 2018, Michał Górny wrote: > > + # toplevel directories which can be installed to by ebuilds > > + # /home is not included as no ebuilds should install files there > > + local allowed_paths_toplevel=( > > +

Re: [gentoo-portage-dev] [PATCH] install-qa-checks.d: Add a check for Gentoo path policies (FHS-y)

2018-09-04 Thread Ulrich Mueller
> On Tue, 04 Sep 2018, Michał Górny wrote: > + # toplevel directories which can be installed to by ebuilds > + # /home is not included as no ebuilds should install files there > + local allowed_paths_toplevel=( > + "${allowed_common_dirs[@]}" > + boot dev