Mailing List Archive

Pre-commit hooks are back!
Hi everyone,

I've just rewritten our pre-commit hooks today (/trunk/tools/subversion/hooks)
and deployed them to the MediaWiki repository. The following rules are in place:
* No empty commit summaries
* Lint test for all php files
* No committing as root

If anyone has any problems with the new hooks, let me know :)

-Chad

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: Pre-commit hooks are back! [ In reply to ]
On 05/08/11 23:31, Chad wrote:
> Hi everyone,
>
> I've just rewritten our pre-commit hooks today (/trunk/tools/subversion/hooks)
> and deployed them to the MediaWiki repository. <snip>

Are there any instructions somewhere to disable them easily? Just in
case of trouble.

--
Ashar Voultoiz


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: Pre-commit hooks are back! [ In reply to ]
Ashar Voultoiz wrote:
> Are there any instructions somewhere to disable them easily? Just in
> case of trouble.

The svn book explains it. I think it was just
chmod -x hook_file



_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l