Gentoo Archives: gentoo-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Proposal: pre-emerge advisories
Date: Tue, 26 Jul 2005 10:33:51
Message-Id: 200507261931.57887.jstubbs@gentoo.org
In Reply to: Re: [gentoo-dev] Re: Proposal: pre-emerge advisories by Georgi Georgiev
1 On Tuesday 26 July 2005 00:27, Georgi Georgiev wrote:
2 > One more thing. has_version would not necessarily detect the version we
3 > are upgrading from (i.e., the version that will be removed after
4 > installation) if there is a slotted package. Could that become a
5 > problem?
6
7 The portage that this will be put into (if it is done) will support
8 slot-based atoms. Brian has brought up some issues with it being done via
9 an ebuild function, though. Not sure what they are as it's pretty much the
10 same as it's pretty much the same as pkg_fetch(), but...
11
12 Another alternative is to use metadata.xml for this stuff. That would have
13 the advantage of being able to create a separate tool now without having
14 to change any ebuild semantics. It also has the added bonus that information
15 could be queried regardless as to what is installed. For example,
16 (re-)accessing important udev upgrade notes after upgrading.
17
18 --
19 Jason Stubbs