[Freeipa-devel] My git post-commit hook (Was: [PATCH] 0544 Remove the global anonymous read ACI)

Petr Viktorin pviktori at redhat.com
Mon May 26 18:52:52 UTC 2014


On 05/26/2014 12:15 PM, Petr Viktorin wrote:
> On 05/23/2014 02:26 PM, Martin Kosek wrote:
>> On 05/22/2014 04:03 PM, Petr Viktorin wrote:
>>> On 05/21/2014 08:08 AM, Martin Kosek wrote:
[...]
>>>> The problem is that you used your testing suffix instead of suffix
>>>> variable.
>>>
>>> Shame on me. I've updated & rebased the patch.
>>>
>>> I've also made a git hook yell at me when I commit something
>>> containing "BRQ",
>>> hopefully this won't happen again.
>>
>> Would it make sense to publish your FreeIPA git hooks somewhere on
>> http://www.freeipa.org/page/Contribute/Code or your github and link
>> it? I think
>> it already contains couple gems that may help other people prevent
>> basic errors
>> like this one.
>
> Sure, I'll document it a bit and publish.

I've put my post-commit hook here: 
https://github.com/encukou/ipa-tools/blob/master/hooks/post-commit.example

It's still a bunch of examples however, and sometimes the output is not 
too understandable by itself, so I can't in good conscience recommend it 
to someone just starting to hack on FreeIPA.

Feel free to use & improve it though.

-- 
Petr³




More information about the Freeipa-devel mailing list