Re: [gentoo-portage-dev] [PATCH 2/2] Update /usr/portage references (bug 378603)

2018-08-06 Thread Brian Dolbec
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: > > > >> --- a/cnf/make.conf.example > >> +++ b/cnf/make.conf.example > >> [...] > > > >> @@ -119,16 +119,16 @@ > >> # fetched on

Re: [gentoo-portage-dev] [PATCH 2/2] Update /usr/portage references (bug 378603)

2018-08-06 Thread Zac Medico
On 08/05/2018 10:46 PM, Zac Medico wrote: >>> --- 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 >>>

[gentoo-portage-dev] [PATCH 3/4] rsync: split out repo storage framework

2018-08-06 Thread Zac Medico
Since there aremany ways to manage repository storage, split out a repo storage framework. The HardlinkQuarantineRepoStorage class implements the existing default behavior, and the InplaceRepoStorage class implements the legacy behavior (when sync-allow-hardlinks is disabled in repos.conf). Each

[gentoo-portage-dev] [PATCH 4/4] Add sync-rcu support for rsync (bug 662070)

2018-08-06 Thread Zac Medico
Add a boolean sync-rcu repos.conf setting that behaves as follows: Enable read-copy-update (RCU) behavior for sync operations. The current latest immutable version of a repository will be referenced by a symlink found where the repository would normally be located (see the

[gentoo-portage-dev] [PATCH 1/4] Implement asyncio.iscoroutinefunction for compat_coroutine

2018-08-06 Thread Zac Medico
Sometimes it's useful to test if a function is a coroutine function, so implement a version of asyncio.iscoroutinefunction that works with asyncio.coroutine as well as compat_coroutine.coroutine (since both kinds of coroutine functions behave identically for our purposes). ---

Re: [gentoo-portage-dev] [PATCH 2/2 v2] Update /usr/portage references (bug 378603)

2018-08-06 Thread Brian Dolbec
On Sun, 5 Aug 2018 22:32:34 -0700 Zac Medico wrote: > Update all relevant references in docs, messages, and comments > to refer to /var/db/repos/gentoo instead of /usr/portage. Also > update DISTDIR and PKGDIR references to refer to the new > /var/cache/{distfiles,binpkgs} locations. > > Bug:

[gentoo-portage-dev] [PATCH 2/4] Add _sync_decorator module

2018-08-06 Thread Zac Medico
Add functions that decorate coroutine methods and functions for synchronous usage, allowing coroutines to smoothly blend with synchronous code. This eliminates clutter that might otherwise discourage the proliferation of coroutine usage for I/O bound tasks. In the next commit, _sync_decorator

[gentoo-portage-dev] [PATCH 0/4] Add sync-rcu support for rsync (bug 662070)

2018-08-06 Thread Zac Medico
Add a boolean sync-rcu repos.conf setting that behaves as follows: sync-rcu = yes|no Enable read-copy-update (RCU) behavior for sync operations. The current latest immutable version of a repository will be referenced by a symlink found where the repository would normally be located

Re: [gentoo-portage-dev] [PATCH 2/2] Update /usr/portage references (bug 378603)

2018-08-06 Thread M. J. Everitt
On 06/08/18 19:35, Zac Medico wrote: > On 08/06/2018 12:30 AM, Brian Dolbec wrote: >> 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. > I suppose all of the docs changes can be made in advance,

Re: [gentoo-portage-dev] [PATCH 2/2] Update /usr/portage references (bug 378603)

2018-08-06 Thread Zac Medico
On 08/06/2018 02:50 PM, M. J. Everitt wrote: > On 06/08/18 19:35, Zac Medico wrote: >> On 08/06/2018 12:30 AM, Brian Dolbec wrote: >>> 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. >> I

Re: [gentoo-dev] [PATCH] systemd.eclass: set BDEPEND for EAPI 7

2018-08-06 Thread Ulrich Mueller
> On Mon, 06 Aug 2018, Vadim A Misbakh-Soloviov wrote: > Anyway, I think, it is possible to add something like > "EAPI=${EAPI:-0}" somewhere at the top of eclass, to don't call > "${EAPI:-0}" each time when EAPI variable is needed. No, that is not possible. Changing EAPI in an eclass would

Re: [gentoo-dev] [PATCH] systemd.eclass: set BDEPEND for EAPI 7

2018-08-06 Thread Mike Gilbert
On Mon, Aug 6, 2018 at 3:35 PM Vadim A. Misbakh-Soloviov wrote: > > В письме от понедельник, 6 августа 2018 г. 22:13:49 MSK пользователь Ulrich > Mueller написал: > > > On Mon, 6 Aug 2018, Mike Gilbert wrote: > > > -DEPEND="virtual/pkgconfig" > > > +if [[ ${EAPI} == [0123456] ]]; then > > > >

Re: [gentoo-dev] [PATCH] systemd.eclass: set BDEPEND for EAPI 7

2018-08-06 Thread Alec Warner
On Mon, Aug 6, 2018 at 3:51 PM, Mike Gilbert wrote: > On Mon, Aug 6, 2018 at 3:35 PM Vadim A. Misbakh-Soloviov > wrote: > > > > В письме от понедельник, 6 августа 2018 г. 22:13:49 MSK пользователь > Ulrich > > Mueller написал: > > > > On Mon, 6 Aug 2018, Mike Gilbert wrote: > > > >

[gentoo-dev] Re: commit 50078fbbb39667734 for linux-info.eclass

2018-08-06 Thread Thomas Deutschmann
Hi, just an acknowledge for the moment that kernel project has seen the request and is currently looking into this. Thanks. -- Regards, Thomas Deutschmann / Gentoo Linux Developer C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5 signature.asc Description: OpenPGP digital signature

Re: [gentoo-dev] [PATCH] systemd.eclass: set BDEPEND for EAPI 7

2018-08-06 Thread Vadim A. Misbakh-Soloviov
В письме от понедельник, 6 августа 2018 г. 22:13:49 MSK пользователь Ulrich Mueller написал: > > On Mon, 6 Aug 2018, Mike Gilbert wrote: > > -DEPEND="virtual/pkgconfig" > > +if [[ ${EAPI} == [0123456] ]]; then > > This should use ${EAPI:-0} because for EAPI 0 the variable can be > empty. >

[gentoo-dev] Re: News item review v2: Migration required for OpenSSH with LDAP

2018-08-06 Thread Thomas Deutschmann
Changes: * Incorporated suggestions by Peter Stuge * Package sys-auth/sakcl added --- Title: Migration required for OpenSSH with LDAP Author: Thomas Deutschmann Posted: 2018-08-xx Revision: 1 News-Item-Format: 2.0 Display-If-Installed: net-misc/openssh If your sshd authenticates against LDAP,

Re: [gentoo-dev] News item review: OpenSSH LDAP support

2018-08-06 Thread Peter Stuge
Hi Thomas, I suggest some improvements.. Thomas Deutschmann wrote: > Title: OpenSSH LDAP support Perhaps qualify this a bit, e.g. "Migration required for OpenSSH with LDAP" > When your sshd authenticates against LDAP, you have to migrate your s,When,If, > current setup to a new one using

[gentoo-dev] Re: News item review v3: Migration required for OpenSSH with LDAP

2018-08-06 Thread Thomas Deutschmann
Changes: * Incorporated suggestions by Peter Stuge * Package sys-auth/sakcl added * Last sentence corrected --- Title: Migration required for OpenSSH with LDAP Author: Thomas Deutschmann Posted: 2018-08-xx Revision: 1 News-Item-Format: 2.0 Display-If-Installed: net-misc/openssh If your sshd

Re: [gentoo-dev] [PATCH] systemd.eclass: set BDEPEND for EAPI 7

2018-08-06 Thread Toralf Förster
On 08/06/2018 10:09 PM, Alec Warner wrote: > > They do not even do so by convention; there are numerous EAPIs in the > wild that are non-numeric. Then this line if [[ ${EAPI} == [0123456] ]]; then is a short-term solution, right? -- Toralf PGP 23217DA7 9B888F45 signature.asc

[gentoo-dev] commit 50078fbbb39667734 for linux-info.eclass

2018-08-06 Thread Francesco Riosa
hi all,    like someone else I do build out of sources kernels, since commit 50078fbbb3966773401c1fc59838c1e5952c1318 it has been impossible to build some modules from gentoo repo. See bug https://bugs.gentoo.org/662772 reported by another user with the same problem. Please revert the commit,

Re: [gentoo-portage-dev] [PATCH 2/2] Update /usr/portage references (bug 378603)

2018-08-06 Thread Ulrich Mueller
> On Mon, 6 Aug 2018, Brian Dolbec wrote: > 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

[gentoo-dev] [PATCH] systemd.eclass: set BDEPEND for EAPI 7

2018-08-06 Thread Mike Gilbert
--- eclass/systemd.eclass | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass index 72f4845efc45..b822f54f8d06 100644 --- a/eclass/systemd.eclass +++ b/eclass/systemd.eclass @@ -26,11 +26,15 @@ inherit toolchain-funcs case

Re: [gentoo-dev] [PATCH] udev.eclass: return unprefixed udevdir

2018-08-06 Thread Mike Gilbert
On Fri, Jun 8, 2018 at 9:54 AM Guilherme Amadio wrote: > > Hi, > > This is a simple fix, but I'd like it to be reviewed. > > Without this get_udevdir returns the prefixed directory, leading > to double prefix on udev related packages (e.g. fuse-common). > > Even if not used in prefix, udev

[gentoo-dev] Re: commit 50078fbbb39667734 for linux-info.eclass

2018-08-06 Thread Francesco Riosa
Il 06/08/2018 17:13, Francesco Riosa ha scritto: ... > Please revert the commit, after that we should discuss here an > appropriate fix, with this statement I'm offering to test it for vanilla > kernel, out of source builds. tried to fix it and it seem to work, so I retract the revert request and

Re: [gentoo-portage-dev] [PATCH 2/2] Update /usr/portage references (bug 378603)

2018-08-06 Thread Zac Medico
On 08/06/2018 12:30 AM, Brian Dolbec wrote: > 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. I suppose all of the docs changes can be made in advance, with mention of both old a new locations.

Re: [gentoo-portage-dev] [PATCH 2/2 v2] Update /usr/portage references (bug 378603)

2018-08-06 Thread Zac Medico
On 08/06/2018 12:44 AM, Brian Dolbec wrote: > On Sun, 5 Aug 2018 22:32:34 -0700 > Zac Medico wrote: >> a/repoman/lib/repoman/checks/herds/herdbase.py >> b/repoman/lib/repoman/checks/herds/herdbase.py index >> ebe6a19b4..1e7c0b27c 100644 --- >> a/repoman/lib/repoman/checks/herds/herdbase.py +++

Re: [gentoo-dev] [PATCH] systemd.eclass: set BDEPEND for EAPI 7

2018-08-06 Thread Ulrich Mueller
> On Mon, 6 Aug 2018, Mike Gilbert wrote: > -DEPEND="virtual/pkgconfig" > +if [[ ${EAPI} == [0123456] ]]; then This should use ${EAPI:-0} because for EAPI 0 the variable can be empty. > + DEPEND="virtual/pkgconfig" > +else > + BDEPEND="virtual/pkgconfig" > +fi