List Archive: gentoo-dev
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
On 05/24/2012 01:19 PM, Mike Frysinger wrote:
> On Thursday 24 May 2012 16:12:35 Kent Fredric wrote:
>> Were it me, I'd have a tool that scrapes the eclass files's
>> documentation and emits a .json file which repoman can then optionally
>> use for consistency checks.
> python provides its own pickling system. no need to add yet another layer.
Python's json module is similar to the pickly module, so you might just
use that instead. For example, I've converted /var/cache/edb/mtimedb
from pickle to json:
>> Mostly because I don't like the idea of repoman re-probing all the
>> eclasses every time you check an ebuild
> caching of data most likely will be done (the decision will be data driven),
> but that's independent of the underlying behavioral question.
I expect that reading and validating the cache is probably not going to
be much faster than just parsing the eclasses over again.