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 0/4] Autounmask changes
  @ 2014-08-13 16:56 99%     ` Alexander Berntsen
  0 siblings, 0 replies; 1+ results
From: Alexander Berntsen @ 2014-08-13 16:56 UTC (permalink / raw
  To: gentoo-portage-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 13/08/14 18:45, Brian Dolbec wrote:
> Actually, re-reading your patches again, your patches actually made
>  more sense to me finally.  You were fixing it to make implied 
> behavior the actual behavior.  So while I was originally objecting
> to them, then was not opposing them (last time we discussed
> inclusion), I now see them much clearer and agree with them.
> 
> The --ask implying --autounmask-write is something people would not
>  object to so strongly like they did to your original patchset.
Let's merge the bug fix (see the other thread) first. I can still
prepare the other patches if you think that's worthwhile, but I prefer
keeping them separated from that very simple bugfix patch.


One thing that needs discussion is what to do with the current
behaviour of --autounmask, i.e. printing the suggestions. One thing
that was really weird in my original patches (the ones in this thread)
is this:

emerge foo # this will do what --autounmask does today
emerge foo --autounmask # this will do what --autounmask-write does
emerge foo -a # this will do what --ask --autounmask-write does
emerge foo --autounmask=n # this will do what --autounmask=n does

The problem here is that there is no way to do e.g. emerge foo --ask,
and get suggestions any longer. You can either have it prompt to write
stuff, or you can have it not do anything -- but you can't explicitly
have it suggest stuff without prompting to write. This is bad design.

So either I need to implement tri-state (--autounmask can be yes, no,
suggest), or I need to do something more drastic.

Suggestions welcome.
- -- 
Alexander
bernalex@gentoo.org
https://secure.plaimi.net/~alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlPrmLwACgkQRtClrXBQc7UBaQEAmdDIIApMb99GIM2UnPHmH6c2
IvuVynLLfbprR2WjdnEA/0czubzAIeGJPCbhQvEoHyb2BC3KSzWThaQVYFrvt05D
=5lOp
-----END PGP SIGNATURE-----


^ 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-08-12  9:37     [gentoo-portage-dev] [PATCH 0/4] Autounmask changes Alexander Berntsen
2014-08-13 16:06     ` Alexander Berntsen
2014-08-13 16:45       ` Brian Dolbec
2014-08-13 16:56 99%     ` Alexander Berntsen

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