Merge "Skip puppet-* projects for plugin search"
This commit is contained in:
commit
11aa0360cd
@ -75,11 +75,13 @@ r = urllib.urlopen(url)
|
||||
# json library won't choke.
|
||||
projects = sorted(filter(is_in_openstack_namespace, json.loads(r.read()[4:])))
|
||||
|
||||
# Retrieve projects having no deb, ui or spec namespace as those namespaces
|
||||
# do not contains tempest plugins.
|
||||
projects_list = [i for i in projects if not (i.startswith('openstack/deb-') or
|
||||
i.endswith('-ui') or
|
||||
i.endswith('-specs'))]
|
||||
# Retrieve projects having no deb, puppet, ui or spec namespace as those
|
||||
# namespaces do not contains tempest plugins.
|
||||
projects_list = [i for i in projects if not (
|
||||
i.startswith('openstack/deb-') or
|
||||
i.startswith('openstack/puppet-') or
|
||||
i.endswith('-ui') or
|
||||
i.endswith('-specs'))]
|
||||
|
||||
found_plugins = list(filter(has_tempest_plugin, projects_list))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user