Skip to content
Snippets Groups Projects
Commit 5a76f2b7 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

gitlab: filter projects by prefix rather than exact matching

parent 95a3412a
No related branches found
No related tags found
No related merge requests found
......@@ -307,7 +307,7 @@ def projects(
# project override)
for project in gl.projects.list(iterator=True):
path_with_namespace = project.path_with_namespace
if project_list and path_with_namespace not in project_list:
if project_list and not path_with_namespace.startswith(project_list):
continue
# For the last print statement to explain how many got updated
projects[path_with_namespace] = project
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment