swift .pot files not being generated in setup.py build

Bug #752610 reported by Jay Pipes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Invalid
Medium
Unassigned
OpenStack Object Storage (swift)
Invalid
High
Jay Pipes

Bug Description

Not sure how nobody noticed this (perhaps no i18n users of Swift..), but the i18n build hasn't worked, and the translations branch I setup for Swift bexar release was deleted.

Anyway, the setup.py needs to be updated to properly use DistUtilsExtra, which bypasses problems in the babel library's integration with setuptools.

After this is done, Swift's automatic import/export of the translation templates needs to be set up again on Launchpad.

Related branches

Thierry Carrez (ttx)
Changed in swift:
milestone: none → 1.3-rc
importance: Undecided → High
status: Confirmed → In Progress
Revision history for this message
Thierry Carrez (ttx) wrote :

Not release-critical since there are no translations anyway...

Changed in swift:
milestone: 1.3-rc → none
Revision history for this message
Monty Taylor (mordred) wrote :

Actually- I'm working on moving nova and glance back to babel... when I do, I'll go back into swift and make sure that we get this working.

summary: - .pot files not being generated in setup.py build
+ swift .pot files not being generated in setup.py build
Changed in openstack-ci:
assignee: nobody → Monty Taylor (mordred)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Chmouel Boudjnah (chmouel) wrote :

it's been one year is i18n still something we should support? I am not sure what's the openstack policy as well on this.

Revision history for this message
Clark Boylan (cboylan) wrote :

The process for making this work is to add swift as a project under the OpenStack umbrella on transifex, give the openstackjenkins user account admin right to push .pot files to transifex, add the translation-jobs to swift, and run the swift-upstream-translation-update as part of the zuul post queue.

Additionally the python setup.py Babel commands should work for swift as we rely on them in the Jenkins jobs.

I won't have time to immediately do this and Daisy will be given more transifex powers so we might have her do this as part of her learning process. In any case feel free to ping me if people want a walk through on how to make this happen sooner rather than later.

Changed in openstack-ci:
milestone: none → havana
assignee: Monty Taylor (mordred) → nobody
Jay Pipes (jaypipes)
Changed in swift:
status: In Progress → Invalid
Changed in openstack-ci:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.