написане Fri, 15 Jun 2012 18:36:57 +0300, Romain d'Alverny <[email protected]>:

On Fri, Jun 15, 2012 at 12:00 PM, Yuri Chornoivan <[email protected]> wrote:
This can be implemented as Subversion pre-commit hooks (as this kind of
errors are detected by msgfmt -vc), just like it is done in KDE:

http://websvn.kde.org/trunk/kde-common/svn/hooks/

http://websvn.kde.org/trunk/kde-common/svn/hooks/test-pofiles.pl?revision=1099588&view=markup

Thanks!

Actually, looking deeper, we do have a check in pre-commit, but I'm
not sure why some files still went through:

* http://svnweb.mageia.org/adm/puppet/modules/subversion/templates/syntax_check.sh?revision=HEAD * http://svnweb.mageia.org/adm/puppet/modules/subversion/manifests/init.pp?view=markup#l95

If anyone has an idea of the why, or a patch...

pre-commit hooks do not work at least for po (tested).

It is better to ask misc about why is it ($syntax_check = ''; in repository.pp? gettext is not installed?). It needs a specialist to decide...

Reply via email to