Respect history of official projects list
List of official projects constantly changes, if the project became official it appears in the past stats too. To prevent this Stackalytics now checks list of official projects once per release using tags specified in the default_data.json. For initial approach we use election tags for openstack/governance project. Change-Id: I140025775f049fa2be85f42380ab620f84abf267 Partially-Bug: #1497403
This commit is contained in:
@@ -240,8 +240,10 @@ def apply_corrections(uri, runtime_storage_inst):
|
||||
|
||||
def process_project_list(runtime_storage_inst, project_list_uri):
|
||||
module_groups = runtime_storage_inst.get_by_key('module_groups') or {}
|
||||
releases = runtime_storage_inst.get_by_key('releases') or {}
|
||||
|
||||
official_module_groups = governance.process_official_list(releases)
|
||||
|
||||
official_module_groups = governance.read_projects_yaml(project_list_uri)
|
||||
LOG.debug('Update module groups with official: %s', official_module_groups)
|
||||
module_groups.update(official_module_groups)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user