Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Francesco Riosa <vivo75@...>
Subject: Re: Versioning of eclasses and possibly functions inside ebuilds
Date: Thu, 29 Dec 2011 02:28:44 +0000
2011/12/28 Zac Medico <zmedico@g.o>:
> On 12/28/2011 05:12 AM, Francesco Riosa wrote:
>> Disclaimer: this is just one idea that come at lunch, and sharing (in
>> a short pause before my demanding daughter request me) here to not
>> forget in the next busy days.
>>
>> Seem to me that append a time slice to the function, in the name or as
>> a parent function that call the underling function can solve most of
>> the versioning/deprecation problems
>>
>> how could it work:
>>
>> 1) package manager record the time it start an emerge "transaction",
>> and share it via the environment with ebuilds and eclasses. The time
>> could be faked by an argument via command line too.
>> 2) the bash functions which are "versioned" this way chose the right one
>> 3) package manager save the build time in the binpkg and in /var/db
>> for unmergin and other purposes
>
> You're idea is irrelevant for binary packages and unmerge of installed
> packages, since they make use of environment.bz2 which contains a
> snapshot of the eclass functions / environment from build time.
>
The environment would contain all the versioned functions but it will
also contain the timestamp of the original merge possibly solving the
dilemma


References:
Versioning of eclasses and possibly functions inside ebuilds
-- Francesco Riosa
Re: Versioning of eclasses and possibly functions inside ebuilds
-- Zac Medico
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Versioning of eclasses and possibly functions inside ebuilds
Next by thread:
Re: Versioning of eclasses and possibly functions inside ebuilds
Previous by date:
Re: Versioning of eclasses and possibly functions inside ebuilds
Next by date:
Re: Versioning of eclasses and possibly functions inside ebuilds


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.