On Tuesday 24 April 2012 12:45:22 Paul Varner wrote:
> On 04/24/12 11:21, Robin H. Johnson wrote:
> > On Tue, Apr 24, 2012 at 04:11:44PM +0200, Theo Chatzimichos wrote:
> >> log from #gentoo-portage: <tampakrap> zmedico: (random idea) would
> >> it make sence to generate local.use.desc in /var/cache, or
> >> somewhere in /var, but out of the tree?
> > 
> > Why are we keeping it? I move that we remove it. It's been replaced
> > by USE flags in metadata.xml for several years now.
> 
> euse from gentoolkit still uses it since it is written in bash and XML
> parsing in bash can be problematic.  We really need to get euse
> rewritten in python so it can use the portage and gentoolkit API's
> before we get rid of the file.
> 
> Additionally, if we move the file, euse will need to be updated as well
> and get pushed out to a stable version of gentoolikit.
> 
> The euse rewrite is on the roadmap for gentoolkit-0.3.1 which doesn't
> have a release date yet since the primary contributors have been busy
> with other things.

it's also a bit of a speed issue.  i often want to look at what flags get used 
across the tree.  what's faster: loading + parsing 15000 xml files, or loading 
1 file ? shifting it to metadata/ as a cache of all the xml files is probably 
fine, but i'm not sure dropping it completely is an improvement.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to