build_manifest.py: Add a FIXME comment
authorJordan Petridis <jordan@centricular.com>
Tue, 23 Oct 2018 20:23:16 +0000 (23:23 +0300)
committerJordan Petridis <jordan@centricular.com>
Mon, 5 Nov 2018 09:24:12 +0000 (11:24 +0200)
gitlab/build_manifest.py

index 11de839..f1f08c9 100755 (executable)
@@ -59,6 +59,9 @@ def test_get_hostname():
 
 
 def find_repository_sha(module: str, branchname: str) -> Tuple[str, str]:
+    # FIXME: This does global search query in the whole gitlab instance.
+    # It has been working so far by a miracle. It should be limited only to
+    # the current namespace instead.
     for project in request('projects?search=' + module):
         if project['name'] != module:
             continue