Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Thomas de Grenier de Latour <tom.gl@...>
Subject: Re: Re: GLEP 55
Date: Wed, 11 Jun 2008 01:36:01 +0200
On 2008/06/10, Ciaran McCreesh <ciaran.mccreesh@...> wrote:

> Currently we don't touch the ebuild's content *at all* for metadata
> operations, except where there's no or stale metadata cache (which is
> rare). We can get away with this currently because 0 and 1 have
> identical cache layouts and PMS has some (necessary) weasel wording;
> future EAPIs likely won't, so we're back to the chicken / egg problem.
> 
> So... We either have the EAPI from the extension (which we already
> have, since we have to read the dir to know what versions are
> available), in which case we know how to read the metadata cache file.
> Or we have to open up a file that would otherwise not be opened, just
> to parse one line so we know how to read the cache file.

Or you apply to future EAPI's cache formats one of the solutions that
have been proposed for the ebuild side of the very same "chicken / egg
problem": for instance, you could use $EAPI as cache filename extension. 

And that's it, you can get EAPI from the cache, hence no more extra
reading of ebuild files, and no more perfs issues.

It sounds so simple, am I missing something obvious?

-- 
TGL.
-- 
gentoo-dev@g.o mailing list


Replies:
Re: Re: GLEP 55
-- Ciaran McCreesh
References:
A few questions to our nominees
-- Piotr Jaroszyński
Re: GLEP 55
-- Ciaran McCreesh
Re: GLEP 55
-- Joe Peterson
Re: GLEP 55
-- Tiziano Müller
Re: Re: GLEP 55
-- Luca Barbato
Re: Re: GLEP 55
-- Joe Peterson
Re: Re: GLEP 55
-- Fernando J. Pereda
Re: Re: GLEP 55
-- Joe Peterson
Re: Re: GLEP 55
-- Richard Freeman
Re: Re: GLEP 55
-- Ciaran McCreesh
Re: Re: GLEP 55
-- Arun Raghavan
Re: Re: GLEP 55
-- Ciaran McCreesh
Re: Re: GLEP 55
-- Richard Freeman
Re: Re: GLEP 55
-- Ciaran McCreesh
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: GLEP 55
Next by thread:
Re: Re: GLEP 55
Previous by date:
Re: Re: GLEP 55
Next by date:
Re: EAPI-2 - Let's get it started


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.