cvs commit: ports/x11 Makefile ports/x11/Terminal Makefile distinfo pkg-descr pkg-plist

Kris Kennaway kris at obsecurity.org
Thu Jan 27 14:04:23 PST 2005


On Thu, Jan 27, 2005 at 08:51:20PM +0100, Oliver Lehmann wrote:
> Kris Kennaway wrote:
> 
> > On Thu, Jan 27, 2005 at 08:27:04PM +0100, Oliver Lehmann wrote:
> > >
> > > Even if the author of that software have choseen to write and use it
> > > uppercase?
> > 
> > This is discussed in the porters' handbook.
> 
> a)
>    Yes it is.
>    >>>>
>    The first letter of name part should be lowercase. (The rest of the
>    name can contain capital letters, so use your own discretion when you
>    are converting a software name that has some capital letters in it.)
>    <<<
>    I don't see a "must" in that part. 
> 
> b)
>    I think that "terminal" would be a much more collective term then
>    "Terminal" is. Renaming it to xfce4-terminal is imho also a bad idea
>    since thats just not its name and there might be a project called
>    xfce4-terminal once - just because there is none right now.
> 
> c)
>    What makes "Terminal" different from "FreeBSD" when it comes to
>    writing? We all want to see FreeBSD written as FreeBSD and not as
>    freebsd. So why do we want to force other piece of software to
>    be written in lowercase? Do we apply double standards?
> 
> 
> If you want me to back it out, I'll do so, but please reconsider...

The reason is that it's more difficult to locate the port when you
have to try to remember or guess the possible studlycaps, i.e. the
mapping is one to many.

e.g. if I'm looking for the port of security software called 'foobar',
I'll try to cd /usr/ports/security/foobar and not
/usr/ports/security/FoObaR.  I actually run into this periodically,
and it's quite annoying to have to cancel the command, and visually
grep the directory listing to find the capitalized port directory.

The opposite case ("I want to know where in the ports collection is
the port of security software which I happen to know the authors
capitalize as FoObaR") is trivial to guess, if the port name is
correctly lower-cased, because the mapping is many-to-one.

It's not quite this simple because the rule isn't "port name should be
completely lower case", but the capitalization is usually on word
boundaries, so you can get there with shell filename completion.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20050127/401ebd90/attachment.bin


More information about the cvs-all mailing list