{"id":19310516,"url":"https://github.com/sepppenner/gitlabautopullmirroring","last_synced_at":"2025-09-06T15:41:03.442Z","repository":{"id":82868752,"uuid":"149458825","full_name":"SeppPenner/GitlabAutoPullMirroring","owner":"SeppPenner","description":"GitlabAutoPullMirroring is a script to update all Gitlab repositories to be mirrored from Github (Pull from Github, push is currently not possible). Useful for all that are #movingtogitlab. The script was written and tested in Python 3.","archived":false,"fork":false,"pushed_at":"2024-05-28T07:03:00.000Z","size":45,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-22T13:44:48.757Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SeppPenner.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-19T13:55:30.000Z","updated_at":"2024-05-28T07:03:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"09fea442-c4a0-4ce4-a848-74d7b0397a65","html_url":"https://github.com/SeppPenner/GitlabAutoPullMirroring","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/SeppPenner/GitlabAutoPullMirroring","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FGitlabAutoPullMirroring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FGitlabAutoPullMirroring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FGitlabAutoPullMirroring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FGitlabAutoPullMirroring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SeppPenner","download_url":"https://codeload.github.com/SeppPenner/GitlabAutoPullMirroring/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FGitlabAutoPullMirroring/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273926569,"owners_count":25192318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"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-10T00:24:35.697Z","updated_at":"2025-09-06T15:41:03.382Z","avatar_url":"https://github.com/SeppPenner.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"GitlabAutoPullMirroring\n====================================\n\nGitlabAutoPullMirroring is a script to update all Gitlab repositories to be mirrored from Github (Pull from Github, push is currently not possible: https://gitlab.com/gitlab-org/gitlab-ee/issues/7599).\nUseful for all that are [#movingtogitlab](https://twitter.com/hashtag/movingtogitlab?lang=en). The script was written and tested in Python 3.\n\n[![Build status](https://ci.appveyor.com/api/projects/status/dwyek279jpfod10i?svg=true)](https://ci.appveyor.com/project/SeppPenner/gitlabautopullmirroring)\n[![GitHub issues](https://img.shields.io/github/issues/SeppPenner/GitlabAutoPullMirroring.svg)](https://github.com/SeppPenner/GitlabAutoPullMirroring/issues)\n[![GitHub forks](https://img.shields.io/github/forks/SeppPenner/GitlabAutoPullMirroring.svg)](https://github.com/SeppPenner/GitlabAutoPullMirroring/network)\n[![GitHub stars](https://img.shields.io/github/stars/SeppPenner/GitlabAutoPullMirroring.svg)](https://github.com/SeppPenner/GitlabAutoPullMirroring/stargazers)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://raw.githubusercontent.com/SeppPenner/GitlabAutoPullMirroring/master/License.txt)\n[![Known Vulnerabilities](https://snyk.io/test/github/SeppPenner/GitlabAutoPullMirroring/badge.svg)](https://snyk.io/test/github/SeppPenner/GitlabAutoPullMirroring) \n\n# Steps to use this script:\n1. Migrate your projects from github to gitlab: https://docs.gitlab.com/ee/user/project/import/github.html\n2. Wait until finished\n3. Generate a personal access token on gitlab: https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html\n4. Get your user id from https://gitlab.com/profile or via \n\n![EditProfile](https://github.com/SeppPenner/GitlabAutoPullMirroring/blob/master/EditProfile.png \"Edit profile\") and\n![GetUserId](https://github.com/SeppPenner/GitlabAutoPullMirroring/blob/master/UserId.png \"Get user id\")\n\n4. Fill in your user name, user id and the generated access token in the following lines in the\n[GitlabAutoPullMirroring.py](https://github.com/SeppPenner/GitlabAutoPullMirroring/blob/master/GitlabAutoPullMirroring.py) file:\n```python\nuserName = \"YourUserName\"\nuserId = 1234567\ntoken = \"1234567890\"\n```\n\n5. Install all required pip package dependencies with:\n```python\npip install -r requirements.txt\n```\n\n6. Run the project using:\n```bash\npython GitlabAutoPullMirroring.py\n```\n\nor\n```bash\n./run.sh\n```\n\n# For more information see:\n* https://docs.gitlab.com/ee/api/projects.html#start-the-pull-mirroring-process-for-a-project\n* https://docs.gitlab.com/ee/api/projects.html#edit-project\n* https://stackoverflow.com/questions/52428297/how-can-i-tell-gitlab-to-mirror-my-github-repositories-over-the-api/52443442#52443442\n* https://stackoverflow.com/questions/52554811/how-can-i-change-the-mirroring-settings-in-gitlab-over-the-api/52554997#52554997\n* https://gitlab.com/gitlab-org/gitlab-ee/issues/7599\n\nChange history\n--------------\n\nSee the [Changelog](https://github.com/SeppPenner/GitlabAutoPullMirroring/blob/master/Changelog.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsepppenner%2Fgitlabautopullmirroring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsepppenner%2Fgitlabautopullmirroring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsepppenner%2Fgitlabautopullmirroring/lists"}