Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o, Lucian Poston <lucian.poston@×××××.com>
Subject: Re: [gentoo-portage-dev] [PATCH] emerge: Add --autounmask-only parameter
Date: Thu, 24 Dec 2015 01:58:12
Message-Id: 567B512D.5010303@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] emerge: Add --autounmask-only parameter by Lucian Poston
1 On 12/23/2015 01:39 PM, Lucian Poston wrote:
2 > diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
3 > index a080ba4..5004fd1 100644
4 > --- a/pym/_emerge/actions.py
5 > +++ b/pym/_emerge/actions.py
6 > @@ -327,6 +327,10 @@ def action_build(settings, trees, mtimedb,
7 > display_missing_pkg_set(root_config, e.value)
8 > return 1
9 >
10 > + if "--autounmask-only" in myopts:
11 > + mydepgraph.display_autounmask()
12 > + return 0
13 > +
14 > if not success:
15 > mydepgraph.display_problems()
16 > return 1
17
18 I think we should also call display_problems just before
19 display_autounmask, since it could display some very useful information.
20 Otherwise, the patch looks good to me.
21 --
22 Thanks,
23 Zac

Replies

Subject Author
Re: [gentoo-portage-dev] [PATCH] emerge: Add --autounmask-only parameter Lucian Poston <lucian.poston@×××××.com>