BitBucket to Gitea Repositories migration script
* use regex replace for invalid chars, import private correctly, reduce logging information. Import as import, not migration * remove comment * fix: regex for replacing project name at correct position * print finished state Co-authored-by: Gianni <g.montalto@sprinteins.com> |
||
|---|---|---|
| .gitignore | ||
| LICENSE | ||
| main.py | ||
| props.py | ||
| README.md | ||
BitBucket to Gitea migration tool.
Description
Simple script for all repos migration from BitBucket to Gitea.
Using
- Create authentification token in bitbucket
- Create authentification token in gitea
- Create file props.py with parameters:
BitBucketURL='bitbucket url'
authTokenBB='bitbucket auth token'
GiteaURL='gitea url'
authTokenGitea='gitea auth token'
migrationUsername='user in BitBucket, that have access to all repositories'
migrationPassword='password'
run with
python3 main.py
Problems and logging
See migration.log, that will be created on script run