From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IpzOE-0005CJ-IY for garchives@archives.gentoo.org; Thu, 08 Nov 2007 04:53:15 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lA84qHou017469; Thu, 8 Nov 2007 04:52:17 GMT Received: from siemen.orkz.net (mail.orkz.net [212.178.119.180]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lA84oR7H015271 for ; Thu, 8 Nov 2007 04:50:28 GMT Received: (qmail 60384 invoked by uid 98); 8 Nov 2007 04:47:52 -0000 Received: from 192.168.1.220 by siemen.orkz.net (envelope-from , uid 89) with qmail-scanner-1.25 (clamdscan: 0.88.4/1763. spamassassin: 3.1.4. Clear:RC:1(192.168.1.220):. Processed in 0.022281 secs); 08 Nov 2007 04:47:52 -0000 X-Qmail-Scanner-Mail-From: jer@gentoo.org via siemen.orkz.net X-Qmail-Scanner: 1.25 (Clear:RC:1(192.168.1.220):. Processed in 0.022281 secs) Received: from unknown (HELO epia.jer-c2.orkz.net) (192.168.1.220) by siemen.orkz.net with AES256-SHA encrypted SMTP; 8 Nov 2007 04:47:51 -0000 Date: Thu, 8 Nov 2007 05:50:18 +0100 From: Jeroen Roovers To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] EAPI feature suggestion: OBSOLETES (was: gentoo-x86 commit in profiles/updates: 4Q-2007) Message-ID: <20071108055018.11ed530a@epia.jer-c2.orkz.net> In-Reply-To: <20071106162335.482c6e4f@vrm378-02> References: <20071106161512.GA21625@aerie.halcy0n.com> <20071106210317.da2c9676.genone@gentoo.org> <20071106162335.482c6e4f@vrm378-02> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.14; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 557f0d01-e544-4c9b-8d12-32f956545d65 X-Archives-Hash: db1110673f5bb00366b5b90276af6533 On Tue, 6 Nov 2007 16:23:35 -0500 Jim Ramsay wrote: > Whether or not 'move' was the correct action in the recent compiz > example, perhaps we need to consider that some times one package does > actually make another obsolete. The correct thing for the PM to > do is to first uninstall the obsolete package, then install the new > one. >snip< I don't see anything in your suggestion that requires an EAPI bump to implement this. If the only thing you add to your ebuilds is the OBSOLETES variable, then a PM which doesn't recognise the enhancement will simply ignore it. In other words, OBSOLETE would not obsolete the proper negative DEPENDs (blockers) that are currently used. If you want to, say, make switching sysloggers easier by offering to uninstall metalog when the admin asks to emerge syslog-ng, then an EAPI bump would be warranted (and the proposal should be thought through a lot more thoroughly, because as of now, emerging one package and unmerging another are strictly separate actions and that should perhaps never change). Kind regards, JeR -- gentoo-dev@gentoo.org mailing list