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

Ryan Schmidt ryandesign at macports.org
Tue Apr 17 14:33:22 PDT 2007


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.





More information about the macports-dev mailing list