Monday, June 15, 2009

SVN hooks

I want to make sure that the wml and po files stay updated all the time, so I am writing svn hooks to take care of that. I have identified three cases where it would be useful to have pre-commit svn hooks:

1. If someone commits a new wml file: convert to po, copy to language directories and commit

2. If someone commits an updated wml file: update all the po files and commit

3. If someone commits an updated po file: convert back to wml, copy to language directories and commit

I finished the first hook last week, but I am having a few problems with the second and third one. I'm guessing it's something really simple and trivial.

No comments:

Post a Comment