Portfile authors: pay attention to keywords, eol-style, Id

Landon Fuller landonf at macports.org
Tue Apr 17 14:57:05 PDT 2007

On Apr 17, 2007, at 14:33, Ryan Schmidt wrote:

> On Apr 17, 2007, at 16:19, Landon Fuller wrote:
>>> I once said I would work on a pre-commit hook script we could  
>>> install which would reject any commit that did not conform with  
>>> these requirements. I haven't gotten around to that yet, but I  
>>> haven't forgotten either.
>> If we're going to be nazis, can the pre-commit hook just set this  
>> stuff magically? Or can we stop being nazis about it?
> The pre-commit hook can only verify the transaction and either  
> accept or reject it; it cannot modify the transaction.
> I think these are useful conventions to enforce, so I will work on  
> a pre-commit hook to enforce this.

I'm apathetically opposed -- I don't care about $Id$ tags in my  
Portfiles, or native line breaks. If there was a way to do this  
automatically I'd be all in favor, but enforcement rubs me the wrong  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20070417/1e870031/PGP.bin

More information about the macports-dev mailing list