Project 'openstack/openstack' is excluded from analysis
That project has all core projects as sub-modules. As result commits are assigned incorrectly and all emails are assigned to 'openstack/openstack'. The change introduces parameter 'exclude' for project source. Resolves bug 1246785 Change-Id: I35a004382b187e4322e65f898177f91deced1dac
This commit is contained in:
parent
9f27d1c265
commit
bce1cc2d4f
@ -5339,7 +5339,8 @@
|
||||
{
|
||||
"organization": "openstack",
|
||||
"project_type": "openstack",
|
||||
"project_group": "other"
|
||||
"project_group": "other",
|
||||
"exclude": ["openstack"]
|
||||
},
|
||||
{
|
||||
"organization": "openstack-dev",
|
||||
|
@ -143,6 +143,12 @@
|
||||
},
|
||||
"project_group": {
|
||||
"type": ["string", "null"]
|
||||
},
|
||||
"exclude": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["organization", "project_type"],
|
||||
|
@ -62,11 +62,13 @@ def _retrieve_project_list(default_data):
|
||||
LOG.warn('Fail to retrieve list of projects. Keep it unmodified')
|
||||
return False
|
||||
|
||||
exclude = set(project_source.get('exclude', []))
|
||||
|
||||
for repo in repos:
|
||||
repo_uri = repo.git_url
|
||||
repo_name = repo.name
|
||||
|
||||
if repo_uri not in repo_index:
|
||||
if (repo_uri not in repo_index) and (repo_name not in exclude):
|
||||
r = {
|
||||
'branches': ['master'],
|
||||
'module': repo_name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user