Includes user survey in ZANATA_VERSION_PATTERN
OpenStack user survey now supports translated surveys [1] with kind contribution from many different countries. Since openstack-user-survey project in Zanata [2] has a version names openstack-user-survey which is different from master or stable-*, including openstack-user-survey in ZANATA_VERSION_PATTERN in zanata_stats.py file is needed to calculate ATC statistics which deadline is Jul 10 - Jul 14 [3]. [1] https://www.openstack.org/user-survey [2] https://translate.openstack.org/project/view/openstack-user-survey [3] https://releases.openstack.org/pike/schedule.html Change-Id: I8d4e61b7687c4d41f353662f2162362267cfc61a
This commit is contained in:
parent
7225d59f2a
commit
0e284d8e00
@ -33,7 +33,8 @@ import yaml
|
||||
ZANATA_URI = 'https://translate.openstack.org/rest/%s'
|
||||
LOG = logging.getLogger('zanata_stats')
|
||||
|
||||
ZANATA_VERSION_PATTERN = re.compile(r'^(master[-,a-z]*|stable-[a-z]+)$')
|
||||
ZANATA_VERSION_EXPR = r'^(master[-,a-z]*|stable-[a-z]+|openstack-user-survey)$'
|
||||
ZANATA_VERSION_PATTERN = re.compile(ZANATA_VERSION_EXPR)
|
||||
|
||||
|
||||
class ZanataUtility(object):
|
||||
|
Loading…
x
Reference in New Issue
Block a user