[sysadmin-bin] Make it possible not to delete some GH-only repos



commit ec79eb453310765b504f2dcff54c77b19b6d0441
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Mon Jan 11 10:35:03 2021 +0100

    Make it possible not to delete some GH-only repos

 gitlab/mirror2github | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gitlab/mirror2github b/gitlab/mirror2github
index 8e89d44..9d5f336 100755
--- a/gitlab/mirror2github
+++ b/gitlab/mirror2github
@@ -94,7 +94,8 @@ def remove_deprecated_gh_repos(gl, gh):
         custom_attributes={"enable_github_mirror": "true"}, lazy=True
     )
 
-    gl_projects = [prj.path for prj in group_projects + extra_projects]
+    keeplist = ['stands-website']
+    gl_projects = [prj.path for prj in group_projects + extra_projects] + keeplist
     orphan_mirrors = [mirror for mirror in gh_repos if mirror.name not in gl_projects]
 
     for mirror in orphan_mirrors:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]