Subject: Re: proposed changes in bsd.pkg.mk
To: Todd Vierling <tv@wasabisystems.com>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 10/24/2001 18:38:53
On Wed, Oct 24, 2001 at 12:15:44PM -0400, Todd Vierling wrote:
> On Wed, 24 Oct 2001, Dwight Tuinstra wrote:
> 
> : > > pkg/PLIST -> pkg-plist
> : > > pkg/DESCR -> pkg-descr
> : > > pkg/INSTALL -> pkg-install
> : > > pkg/DEINSTALL -> pkg-deintall
> : > > pkg/MESSAGE -> pkg-message
> : >
> : > I really don't see the need to rename any files. But what do I know?
> :
> : I applauded the FreeBSD changes in an email a moment ago, but
> : yeah, I agree with you on the renaming.  It's a pain to
> : type five characters before auto-completion kicks in.
> 
> I thought the renaming was actually aesthetically useful ... keeps the
> Makefile at the front of the file list and puts all the package-bundle files
> together as a group.
> 
> In any case, there's no need to type 5 characters to get command line
> completion on those on a reasonable shell (mine is NetBSD's own
> /bin/ksh).... p<completekey>d<completekey> gets you pkg-descr.  :>
> 
> And we now return you to your regularly scheduled "real work"....
> 
> -- 
> -- Todd Vierling <tv@wasabisystems.com>  *  Wasabi NetBSD:  Run with it.
> -- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/

I don't agree that it's aesthetically pleasing - it may be that
the files are where you would expect them, but there are also more
of them than you would expect, and that is the start of the
differences.

It's also arguable that the Makefile should be the "first thing"
in a directory, since, in previous times, that was the documentation
for the files in a single directory. Whilst the Makefile usually
provides an overview of the interrelationship between files in a
directory, that is not really the case in pkgsrc, where the files
are usually fixed name, and very seldom differ.  I believe RedHat
agree with me here, as I was told 7.1 includes case-insensitive
ls(1) output by default.

I also think that the amount of special-casing that we'd have to
do in bsd.pkg.mk to accommodate this, along with the changes we'd
have to make to the repository, far outweigh the "aesthetics" that
you gain.

Regards,
Alistair