Re: Should "yum install" be case sensitive?

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

 



So I have another idea. I still believe that just making installing in
yum case insensitive would be a good idea, but we can make something
like "yum suggestions". Example:

# yum install perl-TExt-CharWidth
No package perl-TExt-CharWidth available.
(didn't you mean perl-Text-CharWidth?)

Yum wouldn't install a package itself, but just suggest to an user
that "sorry man, you made a mistake". That should make everybody happy
and shouldn't be difficult to implement too.
And we could add a new option to yum.conf file: "sensitiveness=1". Can
be changed to "=1" if anybody like.


2007/11/26, Jesse Keating <jkeating@xxxxxxxxxx>:
> On Mon, 26 Nov 2007 20:50:46 +0100
> "Michał Bentkowski" <mr.ecik@xxxxxxxxx> wrote:
>
> > Hi!
> > Recently, a funny thing happened on Polish Fedora forum. Some users
> > were talking about Miro but rest of them weren't able even to install
> > that... After some time it turned out that they tried to type "yum
> > install miro" instead of "yum install Miro".
> > So my question is the same as in the topic: should "yum install" be
> > case sensitive?
> > I haven't checked but I'm quite sure (correct me if I'm wrong) that
> > there are no packages in repo whose names differ in letter size.
> > What's more: "yum list" command is case insensitive and there's
> > nothing wrong with it, is there? I know that you can say that these
> > users I wrote about in the beginning should have used "yum list" first
> > and then they would have found out why things went wrong but it makes
> > a need to type more and more commands.
> > "yum install" gives a summary what packages are going to be installed
> > so if a user wanted to run "Foo", but not "foo" she/he could break the
> > installation.
> > Besides, pressing SHIFT key could be painful ;-)
> > So my proposal is to make "yum install" (and probably "yum update" as
> > well) case insensitive.
> > Just think about it :)
>
> Search is case insensitive, list is a search.  However packages are
> case sensitive.  While we don't /currently/ have a Miro and a miro, the
> rpm database would allow for it, thus install/removal actions need to
> be case sensitive.  We could try for some brutal packaging policy that
> demands all package names be in lower case, but I doubt that would fly
> very far.
>
> --
> Jesse Keating
> Fedora -- All my bits are free, are yours?
>
> --
> fedora-devel-list mailing list
> fedora-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
>
>


-- 
Michał Bentkowski
mr.ecik@xxxxxxxxx

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[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