[TYPO3-dev] SVN pre-commit hooks to avoid commiting php files with syntax errors

Bastian Waidelich bastian at typo3.org
Mon Sep 21 12:16:48 CEST 2009


Fabrizio Branca wrote:

Hi Frabrizio,

> What do you think? Good Idea? Sebastian, you're "Mr. Forge", aren't you? 
> :) Could you do this?

I think, it's a good idea in general! Lately we were playing around with 
a pre-commit hook that checks the commit messages against the rather 
complex rules we have in FLOW3 [1].
The hook is not active yet, but the first tests went quite well.

But I think, it should be configurable in the project settings of forge, 
so you could enable/disable hooks for certain projects.

@Sebastian: what do you think, possible?

All the best
Bastian

[1] 
http://flow3.typo3.org/documentation/manuals/flow3/flow3.codingguidelines/#d0e4629




More information about the TYPO3-dev mailing list