Initial Commit

This commit is contained in:
Исправников Сергей Александрович 2020-06-04 21:35:23 +03:00
parent 3f0ad1c876
commit c8e7a2f7f5
3 changed files with 146 additions and 0 deletions

21
README.md Normal file
View file

@ -0,0 +1,21 @@
# BitBucket to Gitea migration tool.
## Description
Using BitBucket API we're getting repos, project of this repo, description and clone link.
Then, using Gitea API, creating organizations(gitea has no projects, but organizations replacing it fully), then starting migration for each repo from BitBucket.
## 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 bb, that have access to all repos'
migrationPassword='password'
```
run with
```python3 main.py```