{"id":21801748,"url":"https://github.com/tango-controls/gitlab-migration-tools","last_synced_at":"2026-04-13T02:02:58.170Z","repository":{"id":54141063,"uuid":"322266855","full_name":"tango-controls/gitlab-migration-tools","owner":"tango-controls","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-03T07:10:38.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-14T00:09:47.605Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tango-controls.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-17T10:58:48.000Z","updated_at":"2021-03-08T09:46:38.000Z","dependencies_parsed_at":"2022-08-13T07:30:35.254Z","dependency_job_id":null,"html_url":"https://github.com/tango-controls/gitlab-migration-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tango-controls/gitlab-migration-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tango-controls%2Fgitlab-migration-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tango-controls%2Fgitlab-migration-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tango-controls%2Fgitlab-migration-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tango-controls%2Fgitlab-migration-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tango-controls","download_url":"https://codeload.github.com/tango-controls/gitlab-migration-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tango-controls%2Fgitlab-migration-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31736723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"online","status_checked_at":"2026-04-13T02:00:06.623Z","response_time":93,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T11:19:47.889Z","updated_at":"2026-04-13T02:02:58.153Z","avatar_url":"https://github.com/tango-controls.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitlab-migration-tools\n\n## get_participants.py\n\nReturns the Github user names of contributors and commenters of a github project\n\n**Tip:** you can exclude account names from the output by listing them in the `exclude` file.\nUsers registered at https://mensuel.framapad.org/p/migration_ready_2548763689 are automatically excluded.\n\n**Note:** the script should work with python\u003e=3.6, but is tested with python\u003e=3.7\n\n```console\n$ python3 ./get_participants.py\nRepo owner [tango-controls] ?\nRepo name [pytango] ? jtango\n\ngetting contributors (page 1): 7\ngetting commenters (page(1): 100\ngetting commenters (page(2): 100\ngetting commenters (page(3): 22\n\nUnique users for github.com/tango-controls/jtango:\n@Ingvord, @KrystianKedron, @Pascal-Verdier, @altavir, @bourtemb, @gwen-soleil, @jc17609, @jkotan, @ma-neumann, @reszelaz, @sergirubio, @t-b, @tre3k\n\n```\n\n## add_moved_branch.sh\n\nHelper script to add a `moved-to-gitlab` branch to the old repository. So, the day of the migration, do:\n\n1. Run `add_moved_branch.sh \u003cprojectname\u003e`\n2. In GH, change the default branch of the project to `moved-to-gitlab` and change the project description to \"Moved to gitlab\"\n3. Archive the GH project\n4. Import it as `https://gitlab.com/tango-controls/\u003cprojectname\u003e` using the @tango-controls-bot account, and check it.\n5. Delete the `moved-to-gitlab` branch in GitLab and set the proper default branch.\n6. Notify the tango community about the migration (send an email to info@tango-controls.org) and add a comment in [this migration issue](https://github.com/tango-controls/TangoTickets/issues/47)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftango-controls%2Fgitlab-migration-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftango-controls%2Fgitlab-migration-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftango-controls%2Fgitlab-migration-tools/lists"}