Browse code

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

Ian Wienand authored on 2016/09/12 13:58:20
Showing 1 changed files
... ...
@@ -46,6 +46,9 @@ def is_in_openstack_namespace(proj):
46 46
 
47 47
 # Check if this project has a plugin file
48 48
 def has_devstack_plugin(proj):
49
+    # Don't link in the deb packaging repos
50
+    if "openstack/deb-" in proj:
51
+        return False
49 52
     r = requests.get("https://git.openstack.org/cgit/%s/plain/devstack/plugin.sh" % proj)
50 53
     return r.status_code == 200
51 54