public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Andrew Gaffney <agaffney@skylineaero.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] format of files in /var/cache/edb/dep
Date: Thu, 13 May 2004 21:37:21 -0500	[thread overview]
Message-ID: <40A430E1.10009@skylineaero.com> (raw)
In-Reply-To: <200405132230.07263.vapier@gentoo.org>

Mike Frysinger wrote:
> On Thursday 13 May 2004 10:19 pm, Andrew Gaffney wrote:
> 
>>Are you serious? Why would the format of important files used by Portage
>>change?
> 
> 
> because the current system sucks horribly
> 
> ever wonder why portage can be so goddamn slow ? ;)

I was testing it earlier again my Perl dependency checker that I'm working on. 
After deleting the contents of /var/cache/edb/dep, Portage took 42s to do 
'emerge -ep xfree'. It then took 2.819s to run the same command again with the 
cache rebuilt. My program took 0.981s to do the same thing while generating 
dependency information directly from the ebuilds on the fly. Although, my 
dependency checker isn't yet as complete as Portage's.

For example, if one package has a dependency of '>=package2-2.0' and another has 
'<package2-2.3' and the newest version of package2 is 2.6, my program will 
choose to install package2-2.6.

It can currently handle USE flags, auto-USE flags, (un)masked packages, and 
virtuals (somewhat). It also saves time by not involving bash in the dependency 
process at all. Instead, it parses all the variable declarations straight out of 
the ebuild and does bash-style interpolation within the program.

-- 
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548


--
gentoo-dev@gentoo.org mailing list


  reply	other threads:[~2004-05-14  2:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-14  1:33 [gentoo-dev] format of files in /var/cache/edb/dep Andrew Gaffney
2004-05-14  1:43 ` Ciaran McCreesh
2004-05-14  2:19   ` Andrew Gaffney
2004-05-14  2:30     ` Mike Frysinger
2004-05-14  2:37       ` Andrew Gaffney [this message]
2004-05-14 16:27 ` Brian Harring
2004-05-14 16:25   ` Andrew Gaffney

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=40A430E1.10009@skylineaero.com \
    --to=agaffney@skylineaero.com \
    --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