Tools mailing list archives

tools@odoo-community.org

Avatar

Re: Transifex deployment

by
Ivan Yelizariev
- 24/07/2017 14:04:08
I got answer from @mart-e about how it works in odoo:


To synchronise Transifex -> Github, I have made this with a simple script in a cron running weekly. I have published it at 

And then, a cron rule
0 4 * * 0 python2 /home/odoo/tx/pull-translations.py --path="/home/odoo/tx/10.0" --commit --push > /home/odoo/tx/cron-pull-10.0.log 2>&1

The tricky part was that the tx client was ignoring files locally newer than the ones on transifex, this is why I make a "touch" to force a timestamp (to adapt based on your synchronisation rate).


2017-07-24 14:05 GMT+05:00 Ivan Yelizariev <ivann.exe@gmail.com>:
Can somebody share information how @oca-transbot works? I want to deploy automatic merging translation from transifex to it-projects-llc repos. Do OCA use txgh server? Txgh documentation has examples for single repo only and  doesn't cover multi-repo deployment.

Thank you.

Ivan Yelizariev

Reference