> On Tue, 24 Apr 2018, Marty E Plummer wrote:
> Reworked to be usable with app-dicts/dictd-* ebuilds to avoid code
> duplication
I don't see much code duplication there, so I think it would be
cleaner to have a second eclass, rather than adding conditionals to
the existing one.
> You can
On Tue, Apr 24, 2018 at 11:03:44PM -0500, Marty E. Plummer wrote:
> Reworked to be usable with app-dicts/dictd-* ebuilds to avoid code
> duplication
>
> You can reference this pull request to get an idea as to the usage.
>
> https://github.com/gentoo/gentoo/pull/8106
>
> Package-Manager:
Reworked to be usable with app-dicts/dictd-* ebuilds to avoid code
duplication
You can reference this pull request to get an idea as to the usage.
https://github.com/gentoo/gentoo/pull/8106
Package-Manager: Portage-2.3.31, Repoman-2.3.9
---
eclass/dict.eclass | 75
This is similar to asyncio.gather, but takes an iterator of
futures as input, and includes support for max_jobs and max_load
parameters. For bug 653946, this will be used to asynchronously
gather the results of the portdbapi.async_fetch_map calls that
are required to generate a Manifest, while
In order to avoid event loop recursion, pass fetchlist_dict to
ManifestTask as a Future.
Zac Medico (2):
Add iter_gather function (bug 653946)
ManifestScheduler: async fetchlist_dict (bug 653946)
.../ebuild/_parallel_manifest/ManifestScheduler.py | 82 ++
In order to avoid event loop recursion, pass fetchlist_dict to
ManifestTask as a Future.
Bug: https://bugs.gentoo.org/653946
---
[PATCH v2] fixed _future_fetchlist to limit concurrent async_aux_get
calls with async_iter_completed(max_jobs=1)
In order to avoid event loop recursion, pass fetchlist_dict to
ManifestTask as a Future.
Bug: https://bugs.gentoo.org/653946
---
.../ebuild/_parallel_manifest/ManifestScheduler.py | 70 +-
.../ebuild/_parallel_manifest/ManifestTask.py | 22 +++