GithubHelp home page GithubHelp logo

a-lawrence / bitbucket2gitlab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xvilka/bitbucket2gitlab

0.0 2.0 0.0 120 KB

Simple tool to import bitbucket exported issues into gitlab projects.

License: MIT License

Ruby 100.00%

bitbucket2gitlab's Introduction

IMPORTANT

I've contributed the script in this repository to the Gitlab people who are now maintaining and improving the script as part of their Gitlab Recipes repository. You should be able to find it there in the import/bitbucket directory and you should probably be using their version.

bitbucket2gitlab

At Inbot we recently set up our own Gitlab server and we needed to port our issues over from bitbucket. Since I could find no tool to do this, I hacked together a quick tool that gets the job done.

Instructions:

  • from bitbucket export the issues from your project. You should get a zip file with a json file inside
  • modify the global variables inside bitbucket2gitlab.rb to match your project settings
  • run the script, I recommend testing this with a test project in gitlab that you can discard before running this against the real thing

Limitations

  • it gets you the raw content (comments and issues) but things like milestones, assignments, create timestamps, etc are lost
  • comments are in the order they are listed in the dump

Pull requests

This was a quick and dirty job. Somebody with spare time could likely find many ways to improve it. Therefore feel free to fork and own. We're done with bitbucket so we won't need this script again. The License allows you to do what you want but we do appreciate being mentioned.

bitbucket2gitlab's People

Contributors

jillesvangurp avatar

Watchers

James Cloos avatar Anthony Escott-Lawrence avatar

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.