From owner-freebsd-ports Fri Sep 29 13: 7:29 2000 Delivered-To: freebsd-ports@freebsd.org Received: from peak.mountin.net (peak.mountin.net [207.227.119.2]) by hub.freebsd.org (Postfix) with ESMTP id E7BF437B661; Fri, 29 Sep 2000 13:07:23 -0700 (PDT) Received: (from daemon@localhost) by peak.mountin.net (8.9.1/8.9.1) id PAA29128; Fri, 29 Sep 2000 15:07:17 -0500 (CDT) (envelope-from jeff-ml@mountin.net) Received: from dial-79.max1.wa.cyberlynk.net(207.227.118.79) by peak.mountin.net via smap (V1.3) id sma029119; Fri Sep 29 15:06:53 2000 Message-Id: <4.3.2.20000929140626.00c3fa00@207.227.119.2> X-Sender: jeff-ml@207.227.119.2 X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Fri, 29 Sep 2000 15:02:50 -0500 To: Trevor Johnson , Satoshi - Ports Wraith - Asami From: "Jeffrey J. Mountin" Subject: Re: RFC: Ports layout reorganization (Re: ports tree idea: Combine DESCR and COMMENT) Cc: ports@FreeBSD.ORG In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 01:23 PM 9/29/00 -0400, Trevor Johnson wrote: >I like the idea of having the comments in the makefiles. The DESCR files >as they are already contain a detailed description, and COMMENT a brief >description. A port's Makefile, though, often doesn't have that >information. It doesn't seem to be mentioned in the Handbook >(http://www.freebsd.org/porters-handbook/x54.html#AEN67) but portlint >encourages us to have 24 or fewer lines of text in DESCR files. If the >first line had to be the brief description, I'd want to leave a blank line >beneath it, leaving only 22 lines. Agreed and since the person doing the proposing has to change bsd.port.mk's readme target to make the README.html files... ;) In some cases combining them would should more clearly that some lack a good description. AFAICR, a couple are the same either exactly or in essence. > > pkg-comment > > pkg-descr > > pkg-plist > > (and other pkg files) > >I don't see the value of the pkg- prefix. I do see myself typing two >extra characters ("p" then tab) to work with those files from the shell, >if the prefix is added. Moving them to the root and prefixing them means the are visually tied together and that has value. One can quickly see if they are there and I need to hit 3 extra keys being an ESC-\ type. > > I do not like moving all the patches into the main directory. It's > > not only the number of patches, but the unpredictability of the > > directory listing caused by different lengths (more variations now > > with filenames included) and number of patches. I want to know where > > to look for my stuff when I do a "ls". :) > >The OpenBSD-style naming I proposed would retain the patch- prefix for >patches. That would keep them all in the same place unless you used the >-t option to ls. Speaking of patch naming. Some like using the file name rather than patch. This might be a problem if the patches are moved to files/ and think that something along the line of patch--?? would be better (only have one locally that doesn't start with patch). Again, visually grouped and should please most. I rather like the idea of know what file the patch is for and not have to open every patch to find something. > > or heaven forbid: > > > > === > > ## ls > > total 21 > > 1 CVS/ 1 patch-ac 1 pkg-comment > > 1 Makefile 1 patch-ad 1 pkg-descr > > 1 checksum 1 patch-af 1 pkg-plist > > 1 files/ 1 patch-ag 2 > scripts-create-dev-link* > > 3 patch-aa 1 patch-ai > > 3 patch-ab 1 patch-ba > > === > >I could live with this, even if the patches had longer names that forced a >single-column listing. I realize that some porters cannot. It would nuke another directory. Not sure I agree with PW's reasoning: > I do not like moving all the patches into the main directory. It's > not only the number of patches, but the unpredictability of the > directory listing caused by different lengths (more variations now > with filenames included) and number of patches. I want to know where > to look for my stuff when I do a "ls". :) Sounds more of a personal preference when using 'ls' to view things. Don't care to argue with the Wraith, but he did RFC. Losing 2 directories is great, but why not all of them. To be sure, some will end up with very ugly main directories (postfix-current has 61) that some will not enjoy viewing. Most only have a small number of patches. OK, scripts/ could stay. What's another 1000 inodes compared to losing 40,000. Or 60,000 if files/ goes away. Jeff Mountin - jeff@mountin.net Systems/Network Administrator FreeBSD - the power to serve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message