Date: Tue, 5 Dec 2006 20:40:49 -0500 From: Wesley Shields <wxs@atarininja.org> To: Ade Lovett <ade@FreeBSD.org> Cc: ports@freebsd.org, Doug Barton <dougb@FreeBSD.org> Subject: Re: distfile belongs to? Message-ID: <20061206014049.GA43656@atarininja.org> In-Reply-To: <BDBB52B0-3FB2-4C82-A507-4785183B3C1F@FreeBSD.org> References: <20061204213106.GA42084@atarininja.org> <45749998.3070308@FreeBSD.org> <20061204232125.GA42307@atarininja.org> <790a9fff0612050838s66c655fapfde80d4038f64ca2@mail.gmail.com> <20061205172803.GA51892@atarininja.org> <4575C568.70905@FreeBSD.org> <20061205194146.GC52966@atarininja.org> <20061205203120.GA53894@atarininja.org> <4575EBA8.3020601@FreeBSD.org> <BDBB52B0-3FB2-4C82-A507-4785183B3C1F@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 05, 2006 at 05:08:45PM -0800, Ade Lovett wrote: > > On Dec 05, 2006, at 13:59 , Doug Barton wrote: > > >Wesley Shields wrote: > >>>@comment DISTFILE:$filename:$size:$md5:$sha256 > > > >I think that's good, the other information might come in handy down > >the road. One thing you might want to consider is to put the md5 sum > >at the end, since at some point down the road (maybe years from now, > >but still ...) we're likely to drop md5 altogether. > > Better still would be: > > @comment DISTFILE:<filename>[':' <key>=<value>]* > > eg: DISTFILE:foo:SIZE=1234:MD5=...:SHA256=... > > Relying on the specific position of an item in a delimited list > almost always comes back and bites in painful spots later on down the > way. Minimal extra parsing required by consumers, and bits and > pieces can be added/removed almost at will. > > -aDe I agree. I'll modify Doug's latest patch to add this. -- WXS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061206014049.GA43656>