* Re: [gentoo-dev] Versioning of eclasses and possibly functions inside ebuilds
@ 2011-12-28 19:01 99% ` Zac Medico
0 siblings, 0 replies; 1+ results
From: Zac Medico @ 2011-12-28 19:01 UTC (permalink / raw
To: gentoo-dev
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.
--
Thanks,
Zac
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-12-28 13:12 [gentoo-dev] Versioning of eclasses and possibly functions inside ebuilds Francesco Riosa
2011-12-28 19:01 99% ` Zac Medico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox