From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D4716138BF3 for ; Tue, 18 Feb 2014 17:35:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F673E0D8A; Tue, 18 Feb 2014 17:35:41 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A4799E0D89 for ; Tue, 18 Feb 2014 17:35:40 +0000 (UTC) Received: from [192.168.11.3] ([88.150.32.217]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LhNwC-1X25gw2fGy-00mc5X for ; Tue, 18 Feb 2014 18:35:38 +0100 Message-ID: <530399EA.6020702@gmx.de> Date: Tue, 18 Feb 2014 18:35:38 +0100 From: Sebastian Luther User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131111 Thunderbird/17.0.9 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] [PATCH] Implement --newrepo flag. References: <20140217083914.17a7608f@big_daddy.dol-sen.ca> <1392659555-1167-1-git-send-email-davidjames@google.com> <53026C5E.4080107@gmx.de> In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:TfKQ6jgIBTTiebYs/vjt1l4iZejNbX/hx/wtGQASZxMvPmhC6yD JpCoOOx4n3ggx333n255ZdSc79ZP9+5rODC3axSwWLixVdYfgFBMj6MeonOnAVG8mMeVjXx Wr/M1PoUIUSeUFDZFW02bJJaApeevOKYAi4wcaVgDZZND2C4zOng6mfvDPwignh1PBaK8jX LjEZE7+EbTVAFy2QUm3kg== X-Archives-Salt: 68edebfb-fe25-4d98-82b9-17fe8de1bdb3 X-Archives-Hash: 3f0bad05956525106e3b6d3385fc7392 Am 17.02.2014 22:44, schrieb David James: > From a theoretical perspective, the reason why I implemented this is > because "ebuilds" are the source of truth. According to the ebuilds, the > owner repo of dev-libs/C-1 is repo1, so this means that, with --newrepo, > any binpkg for dev-libs/C-1 from repo2 would be invalid. Actually this test passes even without --new-repo. So yes, your interpretation is what's used by portage. Patch is committed. > > This functionality is useful in the case where an ebuild changes repos. > In this case, with --newrepo, you would want the package to be rebuilt > and any binaries to be invalidated, and our tests validate this. > > Cheers, > > David >