Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
caps in ebuild names
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Beattie
Apprentice
Apprentice


Joined: 24 Jun 2002
Posts: 155

PostPosted: Thu Aug 15, 2002 3:41 pm    Post subject: caps in ebuild names Reply with quote

Does anyone else think it might be a good idea to have all ebuilds/packages named in all lower case or something like that? it just makes it easier to find things. for example, I was just installing pyqt and it took me a few minutes before I realized it was PyQt. I dunno, just a thought.
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Aug 15, 2002 3:56 pm    Post subject: Reply with quote

AFAIK, emerge is case-insensitve. The following:

Code:
emerge -s pyqt


Turns up dev-python/PyQt, just like I'd expect it to.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Aug 15, 2002 4:52 pm    Post subject: Reply with quote

klieber may have assumed that you were using "emerge -s" because you mentioned "find things". You're right that if you just try a straight emerge, like
Code:
# emerge -p pyqt
...it won't pick up PyQt. I can't speak for other languages, but Perl has a history of core modules being in all lowercase, and contributed ones starting with an uppercase letter, to prevent namespace collisions, and some ebuilds may have decided to follow this convention, as it would be easier for Perl programmers to remember. Perhaps Python has a similar convention?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Aug 15, 2002 4:57 pm    Post subject: Reply with quote

rac wrote:
klieber may have assumed that you were using "emerge -s" because you mentioned "find things"


Probably should have clarified that a bit... :)

If emerge -s is case-insensitive, then that would seem to be an adequate method of locating ebuilds, even if you must then use the case-sensitive version to install a specified package.

IOW, I don't see the upper/lower case thing being that big of a deal, given the way that Portage currently handles it.

BTW, moving to gentoo suggestions.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum