Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions gitlabber/gitlab_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def add_projects(self, parent, projects):

def get_projects(self, group, parent):
try:
projects = group.projects.list(iterator=True, archived=self.archived)
projects = group.projects.list(iterator=True, archived=self.archived, get_all=True)
self.progress.update_progress_length(len(projects))
self.add_projects(parent, projects)
except GitlabListError as error:
Expand Down Expand Up @@ -147,7 +147,7 @@ def add_groups(self, parent, groups):

def get_subgroups(self, group, parent):
try:
subgroups = group.subgroups.list(iterator=True, archived=self.archived)
subgroups = group.subgroups.list(iterator=True, archived=self.archived, get_all=True)
except GitlabListError as error:
log.error(f"Error listing group {group.name} (ID: {group.id}): {error}. Check your permissions as you may not have access to it.")
return
Expand All @@ -173,7 +173,8 @@ def load_gitlab_tree(self):
if not groups:
groups = self.gitlab.groups.list(iterator=True,
archived=self.archived,
top_level_only=True)
top_level_only=True,
get_all=True)
self.progress.init_progress(len(groups))
for group in groups:
if group.parent_id is None:
Expand Down