Commit 172ee9ed authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: exclude shared projects

parent 8d39b7ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -877,7 +877,7 @@ class Synchronizer:
        self.sync_avatar(src_group, dest_group)

        # 3: sync sub-projects
        subprojects = src_group.projects.list(all=True)
        subprojects = src_group.projects.list(all=True, with_shared=False)
        print(f"- sync {len(subprojects)} sub projects...")
        for src_project in subprojects:
            if not self.is_included(src_project.path_with_namespace):