Re: Poll: How users use DNF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 10, 2014 at 06:04:00AM +0100, Kevin Kofler wrote:
> Przemek Klosowski wrote:
> > I have mixed feelings for the typo correction/suggestions for arguments
> > providing package names: I am glad they are case-insensitive because
> > case conventions in package names are all over the place. On the other
> > hand I am concerned about possible mistakes (I want to 'install foo' but
> > mistype it as 'boo' and end up installing 'bugaboo').
> 
> Indeed, autocorrection should never be done without confirmation (and in 
> non-interactive mode ("dnf -y"), it should probably just fail). It's just 
> too likely to accidentally give the wrong answer.

There should definitely be the equivalent of 'dnf --do-exactly-what-i-say'
so that we can use it from scripts and programs.

Also (as yum is not careful about this):

 - Always send errors to stderr and ordinary output to stdout

 - Return a non-zero exit code on failure

 - Make sure ^C works

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux