Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jun 2021 17:16:48 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        Po-Chuan Hsieh <sunpoet@freebsd.org>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 30e6befe38aa - main - suitesparse-btf: new port for the module BTF of SuiteSparse
Message-ID:  <YLuxgNCGjeLQ1j%2BD@FreeBSD.org>
In-Reply-To: <YLuuOONyp6AQQ3df@graf.pompo.net>
References:  <202105251013.14PADZgA000969@gitrepo.freebsd.org> <CAMHz58QLZ2ZHL4tGi25ZC0cf5V=X42=JaupEYyQq4YVvuZsqHA@mail.gmail.com> <YLuuOONyp6AQQ3df@graf.pompo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 05, 2021 at 07:02:48PM +0200, Thierry Thomas wrote:
> ...
> Well, I used for $PORTNAME the naming scheme of upstream. This is also
> the names of the directories after the tarball has been extracted.
> 
> But for origin/dir names I used lowercase, as the porter's handbook
> recommends. Isn't it the best solution?

Not really, no.  It does not look unixish.  There are few special cases
when it is indeed desirable to use upper/mixed cased names, e.g. CPAN
packages, Python modules, those things with established naming convention
of their own, when we bring lots of them to our ports and want to stay
more or less consistent with popular GNU/Linux distributions, but those
are isolated groups.

For some random unattached port it's almost always better tolower() it.
We're Unix, and lowercase is preferred by default.  This tradition is
commonly seen throughout entire Unix heritage and is omnipresent, be it
login names, hier(7), or most APIs.  This naturally applies to port and
package names.  Please don't break this consistency.

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YLuxgNCGjeLQ1j%2BD>