[OpenStack-Infra] Zanata broken on Bionic
Ian Wienand
iwienand at redhat.com
Mon Apr 8 07:13:58 UTC 2019
On Tue, Apr 02, 2019 at 12:28:31PM +0200, Frank Kloeker wrote:
> The OpenStack I18n team was aware about the fact, that we will run into an
> unsupported platform in the near future and started an investigation about
> the renew of translation platform on [1].
> [1] https://blueprints.launchpad.net/openstack-i18n/+spec/renew-translation-platform
I took an action item to do some investigation in the infra meeting.
>From the notes above, for last iteration it looks like it came down to
Zanata v Poodle. However when I look at [1] Poodle doesn't look
terribly active.
It looks like Fedora haven't made any choices around which way to
go, but weblate has been suggested [2].
Looking at weblate, it seems to have a few things going for it from
the infra point of view
* it seems active
* it's a python/django app which fits our deployments and general
skills better than java
* has a docker project [3] so has interest in containerisation
* we currently put translations in, and propose them via jobs
triggered periodically using the zanata CLI tool as described at
[4]. weblate has a command-line client that looks to me like it can
do roughly what we do now [5] ... essentially integrate with jobs to
upload new translations into the tool, and extract the translations
and put them into gerrit.
* That said, it also seems we could integrate with it more "directly"
[6]; it seems it can trigger imports of translations from git repos
via webhooks (focused on github, but we could do similar with a post
job) and also propose updates directly to gerrit (using git-review;
documentation is light on this feature but it is there). It looks
like (if I'm reading it right) we could move all configuration in a
.weblate file per-repo, which suits our distributed model.
> My recommendation would be to leave it as it is and to decide how to
> proceed.
Overall, yeah, if it ain't broke, don't fix it :)
The other thing is, I noticed that weblate has hosted options. If the
CI integration is such that it's importing via webhooks, and proposing
reviews then it seems like this is essentially an unprivileged app.
We have sunk a lot of collective time and resources into Zanata
deployment and we should probably do a real cost-benefit analysis once
we have some more insights.
-i
[1] https://github.com/translate/pootle/commits/master
[2] https://lists.fedoraproject.org/archives/list/trans@lists.fedoraproject.org/thread/PZUT5ABMNDVYBD7OUBEGVXM7YVW6RZKQ/#4J7BJQWOJDEBACSHDIB6MYWEEXHES6CW
[3] https://github.com/WeblateOrg/docker
[4] https://docs.openstack.org/i18n/latest/infra.html
[5] https://docs.weblate.org/en/latest/wlc.html
[6] https://docs.weblate.org/en/latest/admin/continuous.html
More information about the OpenStack-Infra
mailing list