Re: [gentoo-portage-dev] [PATCH 2/2] EbuildBuild: async spawn_nofetch in _fetchonly_exit (bug 614116)

2017-04-03 Thread Zac Medico
On Mon, Apr 3, 2017 at 1:21 PM, Brian Dolbec wrote: > On Sun, 2 Apr 2017 19:36:54 -0700 > Zac Medico wrote: > >> Replace a synchronous spawn_nofetch call with an asynchronous one, >> in order to avoid event loop recursion which is not compatible with >>

Re: [gentoo-portage-dev] [PATCH 1/2] EbuildBuild: eliminate call to digestgen (bug 614116)

2017-04-03 Thread Zac Medico
On Mon, Apr 3, 2017 at 1:21 PM, Brian Dolbec wrote: > On Sun, 2 Apr 2017 19:36:53 -0700 > Zac Medico wrote: > >> Eliminate the call to digestgen in EbuildBuild._fetchonly_exit, >> and make Scheduler._generate_digests call it earlier when >> --fetchonly is

Re: [gentoo-portage-dev] [PATCH 2/2] EbuildBuild: async spawn_nofetch in _fetchonly_exit (bug 614116)

2017-04-03 Thread Brian Dolbec
On Sun, 2 Apr 2017 19:36:54 -0700 Zac Medico wrote: > Replace a synchronous spawn_nofetch call with an asynchronous one, > in order to avoid event loop recursion which is not compatible with > asyncio. This involves refactoring of spawn_nofetch to provide an > asynchronous

Re: [gentoo-portage-dev] [PATCH 1/2] EbuildBuild: eliminate call to digestgen (bug 614116)

2017-04-03 Thread Brian Dolbec
On Sun, 2 Apr 2017 19:36:53 -0700 Zac Medico wrote: > Eliminate the call to digestgen in EbuildBuild._fetchonly_exit, > and make Scheduler._generate_digests call it earlier when > --fetchonly is enabled. This avoids event loop recursion which > is not compatible with asyncio

Re: [gentoo-portage-dev] [PATCH] AsynchronousLock: add async_unlock method (bug 614108)

2017-04-03 Thread Zac Medico
On Mon, Apr 3, 2017 at 1:03 PM, Brian Dolbec wrote: > On Sun, 2 Apr 2017 15:51:40 -0700 > Zac Medico wrote: > >> Add an async_unlock method, in order to avoid event loop >> recursion which is incompatible with asyncio. >> >> X-Gentoo-bug: 614108 >>

Re: [gentoo-portage-dev] [PATCH] emerge: fix --autounmask-continue to work with --getbinpkg (bug 614474)

2017-04-03 Thread Zac Medico
On Mon, Apr 3, 2017 at 12:57 PM, Brian Dolbec wrote: > On Sat, 1 Apr 2017 18:02:03 -0700 > Zac Medico wrote: > >> Fix action_build to populate binarytree instances with remote package >> metadata following config reload, using a new getbinpkg_refresh=False

Re: [gentoo-portage-dev] [PATCH] AsynchronousLock: add async_unlock method (bug 614108)

2017-04-03 Thread Brian Dolbec
On Sun, 2 Apr 2017 15:51:40 -0700 Zac Medico wrote: > Add an async_unlock method, in order to avoid event loop > recursion which is incompatible with asyncio. > > X-Gentoo-bug: 614108 > X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=614108 > --- >

Re: [gentoo-portage-dev] [PATCH] emerge: fix --autounmask-continue to work with --getbinpkg (bug 614474)

2017-04-03 Thread Brian Dolbec
On Sat, 1 Apr 2017 18:02:03 -0700 Zac Medico wrote: > Fix action_build to populate binarytree instances with remote package > metadata following config reload, using a new getbinpkg_refresh=False > parameter to prevent redundant fetching of remote package metadata. > >