Correct tag name for tc:approved-release

The OpenStack Technical Committee recently changed the name of the
'tc-approved-release' tag to 'tc:approved-release'.[1]  This patch
modifies stackalytics to account for the new name.

[1] https://review.openstack.org/#/c/393185/

Closes-bug: #1647903

Change-Id: I181626aab389c19bc1e6fcddf4941d5cfec1cc60
This commit is contained in:
Mark T. Voelker 2016-12-16 11:09:19 -05:00
parent ad0e01aed9
commit a90ddddbc7
5 changed files with 12 additions and 12 deletions

View File

@ -26589,10 +26589,10 @@
"modules": ["openstack-official", "governance", "api-wg", "openstack-user-stories"]
},
{
"id": "tc-approved-release",
"title": "tc-approved-release",
"id": "tc:approved-release",
"title": "tc:approved-release",
"child": true,
"modules": ["tc-approved-release"]
"modules": ["tc:approved-release"]
},
{
"id": "type:service",

View File

@ -297,10 +297,10 @@
"modules": ["openstack-official", "governance", "api-wg"]
},
{
"id": "tc-approved-release",
"title": "tc-approved-release",
"id": "tc:approved-release",
"title": "tc:approved-release",
"child": true,
"modules": ["tc-approved-release"]
"modules": ["tc:approved-release"]
},
{
"id": "type:service",

View File

@ -22,7 +22,7 @@ Sahara:
- openstack/sahara-extra
- openstack/sahara-image-elements
tags:
- tc-approved-release
- "tc:approved-release"
- release:managed
- release:cycle-with-milestones
- release:has-stable-branches

View File

@ -23,7 +23,7 @@ from stackalytics.processor import utils
LOG = logging.getLogger(__name__)
# list of supported tags
TAGS = ['tc-approved-release', 'type:service', 'type:library']
TAGS = ['tc:approved-release', 'type:service', 'type:library']
def _make_module_group(module_groups, name):

View File

@ -42,7 +42,7 @@ Sahara:
- openstack/sahara-extra
- openstack/sahara-image-elements
tags:
- tc-approved-release
- tc:approved-release
- release:managed
- release:cycle-with-milestones
- release:has-stable-branches
@ -74,9 +74,9 @@ class TestGovernance(testtools.TestCase):
'sahara-image-elements', 'sahara-specs'},
'tag': 'program'
},
'tc-approved-release': {
'id': 'tc-approved-release',
'module_group_name': 'tc-approved-release',
'tc:approved-release': {
'id': 'tc:approved-release',
'module_group_name': 'tc:approved-release',
'modules': set(),
'releases': {
'liberty': {'sahara', 'sahara-extra',