Initial Commit
This commit is contained in:
parent
3f0ad1c876
commit
c8e7a2f7f5
3 changed files with 146 additions and 0 deletions
21
README.md
Normal file
21
README.md
Normal 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```
|
||||
Loading…
Add table
Add a link
Reference in a new issue