build_manifest.py: Add a FIXME comment

This commit is contained in:
Jordan Petridis 2018-10-23 23:23:16 +03:00
parent 7ede52d7c7
commit 7ad193f276
No known key found for this signature in database
GPG key ID: 902CC06D159744F5

View file

@ -59,6 +59,9 @@ def test_get_hostname():
def find_repository_sha(module: str, branchname: str) -> Tuple[str, str]: 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): for project in request('projects?search=' + module):
if project['name'] != module: if project['name'] != module:
continue continue