Giter VIP home page Giter VIP logo

gitlab-to-bitbucket's Introduction

Migrate Gitlab Repositories and Projects to Bitbucket

Code for migrating all repositories and projects in Gitlab to Bitbucket

Instructions

  1. Make sure you have Python 3.x installed

  2. Install the required libraries by running the command $ pip install -r requirements.txt

  3. Copy config.yml.example to config.yml and edit the file to include details of API Keys, endpoints and credentials of your gitlab and bitbucket accounts

  4. Run the script. Eg: python3.6 gitlab-to-bitbucket.py

Notes

  1. The API versions supported and tested are:

    • Gitlab API: v3
    • Bitbucket API: v2
  2. Due to naming restrictions in Bitbucket, some project and repository names might be slightly changed.

  3. You can check the report containing the mappings of Gitlab and Bitbucket repositories in the output file generated as gl_to_bb_migration_report_<timestamp>.json

References

Thanks to https://github.com/giordy and https://github.com/danhper for the original code contributed here:

https://gist.github.com/danhper/f49da483a5b59dec9484b42ad5d25caa

https://gist.github.com/giordy/4b3c6eb34b09967ee73739b33a8e9eab

gitlab-to-bitbucket's People

Contributors

giordy avatar

Watchers

 avatar

Forkers

sandeepk17

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.