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.
Personally I think this is overkill, but I won't argue against it. Doug -- This .signature sanitized for your protection _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"