-
Obtain a GitHub Personal Token a BitBucket App Password and put them in
settings.py
asGH_TOKEN
andBB_TOKEN
(or define them as envvar). Put insettings.py
(or define as envvar) also the GitHub/BitBucket username (GH_USER
/BB_USER
) and the BitBucket team (BB_TEAM
). -
Run it
a. Create a virtualenv and install the requirements
$ virtualenv -p python3 .venv $ source .venv/bin/activate $ pip install -r requirements.txt
then
$ python gh2bb.py
b. Build the Docker image
$ docker build --tag psmiraglia/gh2bb .
and run a container
$ docker run -ti --rm --env-file settings.env psmiraglia/gh2bb
-
Notifications
You must be signed in to change notification settings - Fork 0
psmiraglia/make-mirrors
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Make a mirror of your GitHub repos to BitBucket
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published