On 23.01.2013 17:55, James Antill wrote:
> On Tue, 2013-01-22 at 16:03 +0100, Stefan Assmann wrote:
>> Add a config option to change the default answer to "Yes".
>> So instead of
>> Is this ok [y/N]:
>> there will be
>> Is this ok [Y/n]:
>>
>> This is not enabled by default and there's no intention to do so.
>> To enable this behaviour just add defaultyes=1 to dnf.conf.
> 

Hi James,
sorry I didn't read your reply since I wasn't in Cc of your post and
haven't subscribed to the list.

>  Are you aware of the alwaysprompt config?

I've read the documentation about alwaysprompt, but I'm not sure how
this would be of help.

>  What result are you trying to achieve?

Trying to provide a way for users to have a review step of your action
with a quick way to confirm by simply pressing enter. This is likely not
suitable for everyone, so I made it a config option (default off) so
users may decide which way they like better. Not trying to change any
defaults here.

Personally I prefer something like "yum install foo" with a dialog like
Is this ok [Y/n]:
having a short glimpse over the dependencies and just hit enter over
specifying -y which will just move ahead and do the action.

Putting it another way, it's a lesser form of "assumeyes".

If there's a combination of other options that achieves this I'd be glad
to learn about it. :)

  Stefan

_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to