zanata_stat.py does not honor project and branch (version) and stats of the last processed branch is used

Bug #1670640 reported by Akihiro Motoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack i18n
Fix Released
Critical
Akihiro Motoki

Bug Description

zanata_stat.py can process multiple projects and versions (branches) at the same time, but the logic does not honor a version processed. As a result, user stats from the last processed version is used as user translation stats.

AFAIK the tool is used to retrieve translation stats and determine ATC status.

https://github.com/openstack/i18n/blob/master/tools/zanata/zanata_stats.py#L157-L174

Akihiro Motoki (amotoki)
Changed in openstack-i18n:
assignee: nobody → Akihiro Motoki (amotoki)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to i18n (master)

Fix proposed to branch: master
Review: https://review.openstack.org/442401

Changed in openstack-i18n:
status: New → In Progress
Akihiro Motoki (amotoki)
summary: - zanata_stat.py does not honor branch (version) and stats of the last
- processed branch is used
+ zanata_stat.py does not honor project and branch (version) and stats of
+ the last processed branch is used
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/442784

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on i18n (master)

Change abandoned by Akihiro Motoki (<email address hidden>) on branch: master
Review: https://review.openstack.org/442401
Reason: This is no longer needed.
https://review.openstack.org/#/c/442941/ fixes the original bug.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to i18n (master)

Reviewed: https://review.openstack.org/442784
Committed: https://git.openstack.org/cgit/openstack/i18n/commit/?id=8d478d277fbcbc569ea726696505a0190fba4bc2
Submitter: Jenkins
Branch: master

commit 8d478d277fbcbc569ea726696505a0190fba4bc2
Author: Akihiro Motoki <email address hidden>
Date: Tue Mar 7 19:58:41 2017 +0000

    zanata_stat: calculate stats summary across proejcts and versions

    Change-Id: Id9ea9e3b66bb14720ccc53893a9590d59c34bde6
    Closes-Bug: #1670640

Changed in openstack-i18n:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers