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 EB872138A1A for ; Wed, 14 Jan 2015 23:26:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53D83E07FE; Wed, 14 Jan 2015 23:26:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B92FEE07E0 for ; Wed, 14 Jan 2015 23:26:52 +0000 (UTC) Received: from [10.0.31.246] (unknown [100.42.98.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id E49A434073F for ; Wed, 14 Jan 2015 23:26:51 +0000 (UTC) Message-ID: <54B6FB39.2020600@gentoo.org> Date: Wed, 14 Jan 2015 15:26:49 -0800 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 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: [gentoo-portage-dev] Re: [PATCH] emerge: add --changed-deps/--binpkg-changed-deps (282927) References: <1419367536-30393-1-git-send-email-zmedico@gentoo.org> In-Reply-To: <1419367536-30393-1-git-send-email-zmedico@gentoo.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Archives-Salt: 9080b20a-d7ca-4a10-94e3-d51d8b5ad16c X-Archives-Hash: b189138b7c905de1ca3613c1b0bbb610 On 12/23/2014 12:45 PM, Zac Medico wrote: > The @changed-deps set is useful, but it has limitations similar to the > @installed set (see bug #387059), which can make it unsuitable for use > when updating the whole system. Therefore, implement two new options > that are analogous to --newuse and --binpkg-respect-use, called > --changed-deps and --binpkg-changed-deps. > > The rationale for having a separate --binpkg-* option is the same in > both cases: depending on the situation, people may want different > behavior for binary packages. For example, just like > ---binpkg-respect-use is automatically enabled if the user has not > specified --usepkgonly, so is --binpkg-changed-deps (though the user > can explicitly override the automatic behavior). In both cases, > inconsistencies in dependencies are automatically avoided, increasing > the probability of a successful dependency calculation. > > X-Gentoo-Bug: 282927 > X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=282927 > --- > man/emerge.1 | 22 +++- > pym/_emerge/create_depgraph_params.py | 16 +++ > pym/_emerge/depgraph.py | 138 ++++++++++++++++++++++-- > pym/_emerge/main.py | 26 +++++ > pym/portage/dep/_slot_operator.py | 13 +++ > pym/portage/tests/resolver/test_changed_deps.py | 120 +++++++++++++++++++++ > 6 files changed, 323 insertions(+), 12 deletions(-) > create mode 100644 pym/portage/tests/resolver/test_changed_deps.py Any feedback on this? I think it's good to merge. -- Thanks, Zac