Skip to content

psmiraglia/make-mirrors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

make-mirrors

  1. Obtain a GitHub Personal Token a BitBucket App Password and put them in settings.py as GH_TOKEN and BB_TOKEN (or define them as envvar). Put in settings.py (or define as envvar) also the GitHub/BitBucket username (GH_USER/BB_USER) and the BitBucket team (BB_TEAM).

  2. 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
    

About

Make a mirror of your GitHub repos to BitBucket

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages