Don't add deb-* packaging repos to plugin list

A couple of hundred of these were added with
Ia02f4e1819ac47b12b4ce4381e04253eb26e9f70 and you can see in some of
the proposals at I21fd2b3866efe66dd1f7173003c2521688aa7fd6 they're
starting to match.  Just ignore packaging repos as they're not really
relevant for the purposes of plugin list.

Change-Id: Iaf9e0c0fb672a70c3aee1bbcf587bb0d387e5945
This commit is contained in:
Ian Wienand 2016-09-12 14:58:20 +10:00
parent 9546903265
commit 9c69eacaba

View File

@ -46,6 +46,9 @@ def is_in_openstack_namespace(proj):
# Check if this project has a plugin file
def has_devstack_plugin(proj):
# Don't link in the deb packaging repos
if "openstack/deb-" in proj:
return False
r = requests.get("https://git.openstack.org/cgit/%s/plain/devstack/plugin.sh" % proj)
return r.status_code == 200