[Yum-devel] [PATCH] dnf: add defaultyes config option

Ales Kozumplik akozumpl at redhat.com
Wed Jan 23 17:06:25 UTC 2013


On 01/22/2013 04:03 PM, 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.
> ---

I joined this with some refactoring in userconfirm(), added unit tests 
and pushed your patch:

https://github.com/akozumpl/dnf/commit/f79fd1eced64ffdec7865f5128217ee6d46d15af

Thanks,
Ales


More information about the Yum-devel mailing list