octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #57735] pkg: package names should be handled c


From: Rik
Subject: [Octave-bug-tracker] [bug #57735] pkg: package names should be handled case insensitively
Date: Tue, 30 Jun 2020 10:46:59 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #57735 (project octave):

                  Status:          Ready For Test => Need Info              

    _______________________________________________________

Follow-up Comment #7:

Do we have a sense about whether package names *should* be lower case?  I took
another look at this and just treating things case insensitively, such as
swapping all strcmp for strcmpi, is not likely to be enough.  If someone wants
the "nan" package from Octave-Forge, but types "NaN", strcmpi will compare
true but there is no NaN package to download.  Sure, this can be worked around
by getting the list, doing the comparison case insensitively, and then always
choosing the name from the download list.  But that is just one example.

It would be simpler if we had a convention, such as all package names are
lower case, but it might be too late too implement that if there are a lot in
the wild with mixed case already.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57735>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]