[Mageia-sysadm] Fwd: [Mageia-i18n] po files and content-type header

Romain d'Alverny rdalverny at gmail.com
Sat Jun 16 16:44:53 CEST 2012


Hi everyone,

it seems that pre-commit checks do not occur on .po files; see
http://svnweb.mageia.org/soft?view=revision&revision=4965 and
http://svnweb.mageia.org/soft?view=revision&revision=4964. Any idea?

By the way, is there a doc somewhere on the wiki explaining the
pre-commit hooks that are put in place?

---------- Forwarded message ----------
From: Yuri Chornoivan <yurchor at ukr.net>
Date: Sat, Jun 16, 2012 at 3:05 PM
Subject: Re: [Mageia-i18n] po files and content-type header
To: List dedicated to internationalisation issues <mageia-i18n at mageia.org>


написане Fri, 15 Jun 2012 18:36:57 +0300, Romain d'Alverny
<rdalverny at gmail.com>:


> On Fri, Jun 15, 2012 at 12:00 PM, Yuri Chornoivan <yurchor at ukr.net> 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...


More information about the Mageia-sysadm mailing list