public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Proposal to move use.local.desc somewhere in /var
Date: Tue, 24 Apr 2012 13:32:24 -0400	[thread overview]
Message-ID: <201204241332.24934.vapier@gentoo.org> (raw)
In-Reply-To: <4F96D8A2.7060902@gentoo.org>

[-- Attachment #1: Type: Text/Plain, Size: 1367 bytes --]

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 #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2012-04-24 17:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-24 14:11 [gentoo-dev] Proposal to move use.local.desc somewhere in /var Theo Chatzimichos
2012-04-24 14:37 ` Mike Frysinger
2012-04-24 14:45   ` Michał Górny
2012-04-24 14:59     ` Brian Dolbec
2012-04-24 15:06       ` Theo Chatzimichos
2012-04-24 16:21 ` Robin H. Johnson
2012-04-24 16:45   ` Paul Varner
2012-04-24 17:32     ` Mike Frysinger [this message]
2012-04-24 20:05       ` Rich Freeman
2012-04-25  6:26       ` [gentoo-dev] " Steven J Long
2012-04-25 15:51         ` Mike Frysinger
2012-04-28  1:02           ` [gentoo-dev] " Steven J Long

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201204241332.24934.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox