Commit 2797c5c7 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

ci-fairy: include namespaces in the project search

So searching for 'username/projectname' actually returns that project. Without
that, only the project name itself is matched.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent 5e7863f8
......@@ -25,7 +25,7 @@ def gitlab_project(gitlab, project=None):
return None
p = gitlab.projects.get(project_id)
p = gitlab.projects.list(search=project)
p = gitlab.projects.list(search=project, search_namespaces=True)
if len(p) != 1:
logger.error('Invalid or ambiguous project path')
return None
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment