Ignore deb-* packaging repos in the plugin list

This commit starts ignoring plugin hits from deb-* repos when generating
the plugin list for the plugin registry doc. These are just packaging
repos and not really relevant for a plugin list.

Change-Id: I5146936824c17476d4e7f3fab058c80fd932e512
This commit is contained in:
Matthew Treinish 2016-09-13 19:23:18 -04:00
parent 78b4d29fb5
commit cc4ae4887e
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177

View File

@ -48,6 +48,8 @@ def is_in_openstack_namespace(proj):
def has_tempest_plugin(proj): def has_tempest_plugin(proj):
if proj.startswith('openstack/deb-'):
return False
r = requests.get( r = requests.get(
"https://git.openstack.org/cgit/%s/plain/setup.cfg" % proj) "https://git.openstack.org/cgit/%s/plain/setup.cfg" % proj)
p = re.compile('^tempest\.test_plugins', re.M) p = re.compile('^tempest\.test_plugins', re.M)