"Roan Kattouw" roan.kattouw@home.nl wrote in message news:477BF45B.8050408@home.nl...
Mark Clements schreef:
Why doesn't someone write a post-commit hook that updates the
appropriate
wiki page on betawiki if a translation is committed via SVN? Then
people
can use whichever method they like, and they would never be out of sync.
What happens in case of a conflict? Translations entered at BetaWiki are only committed every so many hours (i.e. whenever Siebrand has time).
If changes via SVN are automatically updated onto the wiki, then any conflicts would have to be picked up by the on-wiki translator(s) and resolved using the standard diff tools. Presumably the page would be watched and a notification about the update sent to the on-wiki translator(s) so they would be made aware of the change. The resolved version would then go back into SVN when the next update is done.
To avoid too many edit conflicts, an extension that automatically commits changes in the other direction (from the wiki into SVN at point of save) would be a good solution (though it would need to avoid getting into a loop!).
In that situation, problems will only occur if there are 'edit wars' between a wiki translator and an SVN translator, but as has already been said, communication is the key here...
- Mark Clements (HappyDog)