From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Nx4uE-0001v8-W4 for garchives@archives.gentoo.org; Wed, 31 Mar 2010 20:52:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83B6BE0AD1; Wed, 31 Mar 2010 20:52:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4E959E09AA for ; Wed, 31 Mar 2010 20:52:37 +0000 (UTC) Received: from [192.168.0.3] (e179018081.adsl.alicedsl.de [85.179.18.81]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 96D421B4024 for ; Wed, 31 Mar 2010 20:52:36 +0000 (UTC) Message-ID: <4BB3B612.9090606@gentoo.org> Date: Wed, 31 Mar 2010 22:52:34 +0200 From: Sebastian Pipping User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100310 Thunderbird/3.0.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Unnecessary logs: has_version to the rescue? References: <4BB3ABC8.7050207@gentoo.org> <20100331211904.0f49cae0@snowmobile> <4BB3B11A.1020505@gentoo.org> <4BB3B279.4060308@gentoo.org> <4BB3B3AC.2020009@gentoo.org> In-Reply-To: <4BB3B3AC.2020009@gentoo.org> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 070b09f5-3770-4205-aa8c-7fbcac7b0e96 X-Archives-Hash: 60bb1766554a821b0084a5691e25e198 On 03/31/10 22:42, Zac Medico wrote: > Well, it works fine when not called for the same $CATEGORY/$PN, and > even for the same $CATEGORY/$PN it works fine for other slots it > they happen to be installed. Good point. So the check would be: Deny calling has_version if all of: - in postinst stage - same category and package - same slot How about that? Sebastian