public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-portage-dev] [PATCH 1/3] emerge: Deprecate --autounmask
  @ 2014-01-25  3:10 99%         ` Brian Dolbec
  0 siblings, 0 replies; 1+ results
From: Brian Dolbec @ 2014-01-25  3:10 UTC (permalink / raw
  To: gentoo-portage-dev

On Sun, 19 Jan 2014 11:47:34 +0100
Alexander Berntsen <alexander@plaimi.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On 19/01/14 11:32, Pacho Ramos wrote:
> > Then, I guess "-ap" would be the equivalent of --autounmask=n and 
> > should behave in the same way, right? In that case, no problem
> > (even if I think we should document this since using --ask
> > --pretend at the same time doesn't look so intuitive to me :( )
> Since --ask implies --autounmask, the following are all the same for
> autounmask-purposes:
> 
> emerge --pretend --ask foo
> emerge --pretend --autounmask foo
> 
> As for "emerge --autounmask=n foo", This will actually spit out the
> suggestions, just not ask to write them.
> 
> While playing with this, I discovered a possible misbehaviour though.
> With "emerge --ask --autounmask=n", --ask takes precedence to
> - --autounmask=n. Maybe it shouldn't. But this can always be changed.
> - -- 
> Alexander

As I recall in portage's code, -p -s ignored and removed from the
options when --ask is invoked since it implies --pretend behavior, but
allows emerge to continue with an yes answer rather than have to start
the dep calc's over again.

So, I agree that having to have both --ask and --pretend to get the
same functionality is just bad and not intuitive.

Brian Dolbec, <dolsen>


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-01-19  0:21     [gentoo-portage-dev] [PATCH 1/3] emerge: Deprecate --autounmask Alexander Berntsen
2014-01-19  8:01     ` Pacho Ramos
2014-01-19 10:23       ` Alexander Berntsen
2014-01-19 10:32         ` Pacho Ramos
2014-01-19 10:47           ` Alexander Berntsen
2014-01-25  3:10 99%         ` Brian Dolbec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox