mirror of
https://github.com/cooperspencer/gickup
synced 2026-08-05 08:32:53 +02:00
Gitlab supports nesting subgroups up to 20 levels deep. However, these two filters were actually applied to projects in the provided organization/group as well as projects in any immediate subgroup, but not to projects in more deeply nested subgroups. Presumably, the original intention of these filters was that the entire organization/group would be either included or excluded, not only projects in the group and its immediate subgroups. Fix by using ListDescendantGroups() to get all descendant/nested groups. Also, use gitlab.ScanAndCollect() to handle paginated results.