Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@×××××××××××××.uk>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Deprecating an eclass
Date: Mon, 18 Feb 2008 22:26:44
Message-Id: 20080218222550.2c3dcbea@snowcone
In Reply to: Re: [gentoo-dev] [RFC] Deprecating an eclass by Doug Klima
1 On Mon, 18 Feb 2008 17:19:55 -0500
2 Doug Klima <cardoe@g.o> wrote:
3 > > Well, that depends upon whether you want it to be part of the C/P-V
4 > > metadata... If you do, it's a cache format change (and you can't
5 > > easily do DEPRECATED_*). But then, deprecation is a property of the
6 > > eclass, not an C/P-V.
7 >
8 > Deprecation is a property of the eclass. Not of an ebuild. The point
9 > is to allow utilities and users/developers to clearly see that an
10 > eclass is deprecated and what they should be using in place of it.
11
12 Right. eclasses don't currently have metadata (and there's no easy way
13 for them to have it, since eclasses can't be sourced standalone). If
14 you make deprecation a metadata variable, there will be no way for a
15 package manager to determine whether an eclass is deprecated unless it
16 has an ebuild that uses that eclass. Is this a satisfactory restriction?
17
18 --
19 Ciaran McCreesh

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] [RFC] Deprecating an eclass "Petteri Räty" <betelgeuse@g.o>