[gentoo-portage-dev] [PATCH] repoman: simplify wrapper for running locally

2016-06-12 Thread Mike Frysinger
Running the repoman program locally is a bit unreliable in its detection. Add a dedicated repoman.git program for people to run directly if they want. --- repoman/.repoman_not_installed | 0 repoman/bin/repoman | 10 -- repoman/bin/repoman.git | 37

Re: [gentoo-portage-dev] [PATCH v2] Move INSTALL_MASK handling into merging

2016-06-12 Thread Zac Medico
On 06/12/2016 01:43 PM, Zac Medico wrote: > On 06/12/2016 01:29 PM, Zac Medico wrote: >> On 05/22/2016 01:21 AM, Michał Górny wrote: >>> diff --git a/pym/portage/package/ebuild/config.py >>> b/pym/portage/package/ebuild/config.py >>> index fcc7ce5..9d13703 100644 >>> ---

Re: [gentoo-portage-dev] [PATCH v2] Move INSTALL_MASK handling into merging

2016-06-12 Thread Zac Medico
On 06/12/2016 01:29 PM, Zac Medico wrote: > On 05/22/2016 01:21 AM, Michał Górny wrote: >> diff --git a/pym/portage/package/ebuild/config.py >> b/pym/portage/package/ebuild/config.py >> index fcc7ce5..9d13703 100644 >> --- a/pym/portage/package/ebuild/config.py >> +++

Re: [gentoo-portage-dev] [PATCH v2] Move INSTALL_MASK handling into merging

2016-06-12 Thread Zac Medico
On 05/22/2016 01:21 AM, Michał Górny wrote: > diff --git a/pym/portage/package/ebuild/config.py > b/pym/portage/package/ebuild/config.py > index fcc7ce5..9d13703 100644 > --- a/pym/portage/package/ebuild/config.py > +++ b/pym/portage/package/ebuild/config.py > @@ -1774,14 +1774,14 @@ class

Re: [gentoo-portage-dev] [PATCH v2] Move INSTALL_MASK handling into merging

2016-06-12 Thread Zac Medico
On 06/12/2016 03:05 AM, Michał Górny wrote: > Dnia 12 czerwca 2016 11:49:26 CEST, Zac Medico > napisał(a): >> On 06/12/2016 02:28 AM, Michał Górny wrote: >>> Dnia 12 czerwca 2016 11:10:55 CEST, Zac Medico >> napisał(a): On 05/22/2016 01:21 AM, Michał

Re: [gentoo-portage-dev] [PATCH 3/3] portage.dbapi.vartree: Support exclusions in INSTALL_MASK

2016-06-12 Thread Zac Medico
On 06/12/2016 03:03 AM, Michał Górny wrote: > Dnia 12 czerwca 2016 11:43:35 CEST, Zac Medico > napisał(a): >> On 06/12/2016 02:31 AM, Michał Górny wrote: >>> Dnia 12 czerwca 2016 11:20:36 CEST, Zac Medico >> napisał(a): On 05/21/2016 11:56 PM, Michał

Re: [gentoo-portage-dev] [PATCH v2] Move INSTALL_MASK handling into merging

2016-06-12 Thread Michał Górny
Dnia 12 czerwca 2016 11:49:26 CEST, Zac Medico napisał(a): >On 06/12/2016 02:28 AM, Michał Górny wrote: >> Dnia 12 czerwca 2016 11:10:55 CEST, Zac Medico >napisał(a): >>> On 05/22/2016 01:21 AM, Michał Górny wrote: Introduce a new logic for

Re: [gentoo-portage-dev] [PATCH 3/3] portage.dbapi.vartree: Support exclusions in INSTALL_MASK

2016-06-12 Thread Michał Górny
Dnia 12 czerwca 2016 11:43:35 CEST, Zac Medico napisał(a): >On 06/12/2016 02:31 AM, Michał Górny wrote: >> Dnia 12 czerwca 2016 11:20:36 CEST, Zac Medico >napisał(a): >>> On 05/21/2016 11:56 PM, Michał Górny wrote: Allow INSTALL_MASK patterns to start

Re: [gentoo-portage-dev] [PATCH v2] Move INSTALL_MASK handling into merging

2016-06-12 Thread Zac Medico
On 06/12/2016 02:28 AM, Michał Górny wrote: > Dnia 12 czerwca 2016 11:10:55 CEST, Zac Medico > napisał(a): >> On 05/22/2016 01:21 AM, Michał Górny wrote: >>> Introduce a new logic for INSTALL_MASK handling in merging code, >>> replacing the old code that removed matching

Re: [gentoo-portage-dev] [PATCH 3/3] portage.dbapi.vartree: Support exclusions in INSTALL_MASK

2016-06-12 Thread Zac Medico
On 06/12/2016 02:31 AM, Michał Górny wrote: > Dnia 12 czerwca 2016 11:20:36 CEST, Zac Medico > napisał(a): >> On 05/21/2016 11:56 PM, Michał Górny wrote: >>> Allow INSTALL_MASK patterns to start with '-' to indicate that >>> a specific match is to be excluded from being

Re: [gentoo-portage-dev] [PATCH 1/3] portage.package.ebuild.config: Move FEATURES=no* handling there

2016-06-12 Thread Michał Górny
Dnia 12 czerwca 2016 09:28:14 CEST, Zac Medico napisał(a): >On 06/12/2016 12:19 AM, Zac Medico wrote: >> On 05/21/2016 11:56 PM, Michał Górny wrote: >>> diff --git a/pym/portage/package/ebuild/config.py >b/pym/portage/package/ebuild/config.py >>> index 45b7d08..fcc7ce5 100644

Re: [gentoo-portage-dev] [PATCH 3/3] portage.dbapi.vartree: Support exclusions in INSTALL_MASK

2016-06-12 Thread Michał Górny
Dnia 12 czerwca 2016 11:20:36 CEST, Zac Medico napisał(a): >On 05/21/2016 11:56 PM, Michał Górny wrote: >> Allow INSTALL_MASK patterns to start with '-' to indicate that >> a specific match is to be excluded from being masked. In this case, >> the last matching pattern

Re: [gentoo-portage-dev] [PATCH v2] Move INSTALL_MASK handling into merging

2016-06-12 Thread Michał Górny
Dnia 12 czerwca 2016 11:10:55 CEST, Zac Medico napisał(a): >On 05/22/2016 01:21 AM, Michał Górny wrote: >> Introduce a new logic for INSTALL_MASK handling in merging code, >> replacing the old code that removed matching files and directories >> from imagedir in bash. The new

Re: [gentoo-portage-dev] [PATCH 3/3] portage.dbapi.vartree: Support exclusions in INSTALL_MASK

2016-06-12 Thread Zac Medico
On 05/21/2016 11:56 PM, Michał Górny wrote: > Allow INSTALL_MASK patterns to start with '-' to indicate that > a specific match is to be excluded from being masked. In this case, > the last matching pattern determines whether the file is actually > filtered out or kept. > --- >

Re: [gentoo-portage-dev] [PATCH v2] Move INSTALL_MASK handling into merging

2016-06-12 Thread Zac Medico
On 05/22/2016 01:21 AM, Michał Górny wrote: > Introduce a new logic for INSTALL_MASK handling in merging code, > replacing the old code that removed matching files and directories > from imagedir in bash. The new code actually ignores matching files > on-the-fly while testing for file collisions

Re: [gentoo-portage-dev] [PATCH v2] Move INSTALL_MASK handling into merging

2016-06-12 Thread Zac Medico
On 05/22/2016 01:21 AM, Michał Górny wrote: > + def _is_install_masked(self, relative_path): > + ret = False > + for pattern in self.settings.install_mask: > + # absolute path pattern > + if pattern.startswith('/'): > +

Re: [gentoo-portage-dev] [PATCH 1/3] portage.package.ebuild.config: Move FEATURES=no* handling there

2016-06-12 Thread Zac Medico
On 06/12/2016 12:19 AM, Zac Medico wrote: > On 05/21/2016 11:56 PM, Michał Górny wrote: >> diff --git a/pym/portage/package/ebuild/config.py >> b/pym/portage/package/ebuild/config.py >> index 45b7d08..fcc7ce5 100644 >> --- a/pym/portage/package/ebuild/config.py >> +++

Re: [gentoo-portage-dev] [PATCH 1/3] portage.package.ebuild.config: Move FEATURES=no* handling there

2016-06-12 Thread Zac Medico
On 05/21/2016 11:56 PM, Michał Górny wrote: > diff --git a/pym/portage/package/ebuild/config.py > b/pym/portage/package/ebuild/config.py > index 45b7d08..fcc7ce5 100644 > --- a/pym/portage/package/ebuild/config.py > +++ b/pym/portage/package/ebuild/config.py > @@ -1773,6 +1773,16 @@ class