[Localization] [Sugar-devel] New tool for tracking L10n commits
Aleksey Lim
alsroot at activitycentral.org
Sat Sep 3 06:59:29 EDT 2011
On Fri, Sep 02, 2011 at 08:19:55PM +0200, Bert Freudenberg wrote:
> On 02.09.2011, at 18:14, Chris Leonard wrote:
>
> > Bert,
> >
> > Would it be possible to limit what gets sent to
> > http://lists.sugarlabs.org/listinfo/pootle-commits to only those
> > commits made by user Pootle?
> >
> > I do not want to flood the list with every eToys commit, only those
> > from user Pootle.
>
> It only forwards those in the Etoys po/ directory, no other Etoys commits.
>
> > In addition, Aleksey modified the subject coming from git to the format
> >
> > Commit to [chat] by [anderson861.] for [mn]
> >
> > The first bracketed entry is the po file name, the second is the
> > lang-admin using the commit priv and the third is the language code.
> > This makes it easy t ovisually scan the subject lines, as well as t
> > ocopy paste from the message list and parse it with a spreadsheet.
>
> I can prefix it by "Commit to [etoys]" but the rest of the subject is just the first line of the log message ("Commit from Sugar Labs: Translation System by user cjl.: 7 of 7 messages translated (0 fuzzy).")
>
> That is, unless someone can come up with a more suitable post-commit hook invocation than this:
>
> svnnotify \
> --repos-path "$REPOS" \
> --revision "$REV" \
> --from commits at etoys.squeak.org \
> --to-email-map '^trunk/po/'=pootle-commits at lists.sugarlabs.org \
> --subject-prefix 'Commit to [etoys]' \
> --header 'Repository: http://etoys.squeak.org/svn' \
> --attach-diff \
> --max-diff-length 50000
On git.sl.o side, it parses log message for i18n admin name and languages
come from the list of committed files (if they go to po/ directory).
>
>
> - Bert -
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
--
Aleksey
More information about the Localization
mailing list