Text of gitea.com › appleboy › github-migrator as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

appleboy/github-migrator - github-migrator - Gitea: Git with a cup of tea

appleboy / github-migrator Watch 1 Star 0 Fork 0 forked from gitea/migrator Code Issues Pull Requests 2 Releases Wiki Activity 49 Commits 9 Branches 0 Tags master T Clone Open with VS Code Open with VSCodium Open with Intellij IDEA Download ZIP Download TAR.GZ Download BUNDLE This branch is 1 commit behind gitea/migrator:master jonasfranz b17fb5a71b Update dependencies 2019-02-03 21:14:33 +01:00 cmd Add web log ( #27 ) 2018-09-11 19:51:10 +00:00 config Fix config parsing 2018-12-17 12:47:47 +01:00 migrations Add additional tests to increase coverage ( #29 ) 2018-12-24 11:04:17 +00:00 web Add web log ( #27 ) 2018-09-11 19:51:10 +00:00 .changelog.yml Add title and note to releases ( #20 ) 2018-07-04 22:38:53 +00:00 .gitignore Refactor some parts of github.go 2018-12-14 10:12:58 +01:00 commands_web.go Web interface implementation ( #18 ) 2018-07-26 14:40:29 +00:00 commands.go Web interface implementation ( #18 ) 2018-07-26 14:40:29 +00:00 config.example.yml Web interface implementation ( #18 ) 2018-07-26 14:40:29 +00:00 Dockerfile Fix drone build caused by golang regression 2018-12-17 14:15:30 +01:00 Dockerfile.web Fix drone build caused by golang regression 2018-12-17 15:02:28 +01:00 drone.yml Use Gitea 1.7 for testing 2019-02-03 20:55:55 +01:00 Gopkg.lock Update dependencies 2019-02-03 21:14:33 +01:00 Gopkg.toml Web interface implementation ( #18 ) 2018-07-26 14:40:29 +00:00 LICENSE Web interface implementation ( #18 ) 2018-07-26 14:40:29 +00:00 main.go Add web log ( #27 ) 2018-09-11 19:51:10 +00:00 Makefile Refactor some parts of github.go 2018-12-14 10:12:58 +01:00 README.md Add coverage service 2018-12-12 13:13:49 +01:00 README.md gitea-github-migrator A tool to migrate GitHub Repositories to Gitea including all issues, labels, milestones and comments.

Features Migrates: Repositories Issues Labels Milestones Comments Users Pull Requests (as issue) Statuses Installation From source go get git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator cd $GOPATH /src/git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator dep ensure make build Web Support Run make web-build instead of make build to include web support. From Binary We provide binaries of master builds and all releases at our minio storage server .

Additionally we provide them for every release as release attachment under releases . You don't need any dependencies except the binary to run the migrator. These binaries include web support by default. From Docker image We provide a cli docker image : For master builds: docker run ggmigrator/cli:latest For release builds: docker run ggmigrator/cli:0.0.10 Usage Command line Migrate one repository: gitea-github-migrator migrate \ --gh-repo owner/reponame \ --gh-token GITHUB_TOKEN \ --url http://gitea-url.tdl \ --token GITEA_TOKEN \ --owner 1 gh-token is only required if you have more than 50 issues / repositories.

Migrate all repositories: gitea-github-migrator migrate-all \ --gh-user username \ --gh-token GITHUB_TOKEN \ --url http://gitea-url.tdl \ --token GITEA_TOKEN \ --owner 1 Migrate all repositories without issues etc. (classic): gitea-github-migrator migrate-all \ --gh-user username \ --gh-token GITHUB_TOKEN \ --url http://gitea-url.tdl \ --token GITEA_TOKEN \ --owner 1 --only-repo Web interface Since 0.1.0 gitea-github-migrator comes with an integrated web interface.

Follow these steps to get the web interface running: Download or build a web-capable binary of the gitea-github-migrator. The builds on our storage server are build with web support included. If you build from source, please follow web support . Create config.yml file and change the properties according to your wishes. Please keep in mind that you have to create a GitHub OAuth application to make the web interface work.

Run ./gitea-github-migrator web Visit http://localhost:4000 Docker We're providing a docker image with web support. To start the web service please run: docker run ggmigrator/web -p 4000:4000 -v data/:/data Place your config.yml into data/config.yml . Config Example: # GitHub contains the OAuth2 application data obtainable from GitHub GitHub : client_id : GITHUB_OAUTH_CLIENT_ID client_secret : GITHUB_OAUTH_SECRET # Web contains the configuration for the integrated web server Web : port : 4000 host : 0.0.0.0 Problems This migration tool does not work with Gitea instances using a SQLite database.

Comments / Issues will be added in the name of the user to whom belongs the token (information about the original date and author will be added) The current date is used for creation date (information about the actual date is added in a comment) Reference in new issue View Git Blame Copy Permalink Description No description provided Readme 1.7 MiB 0 Stars 1 Watchers 0 Forks Languages Go 83.6% JavaScript 11.1% Makefile 4.1% Dockerfile 1.2%