Git Product home page Git Product logo

bitbucketimporter's Introduction

BitbucketImporter

This is a tool to migrate from a Bitbucket Server installation to Bitbucket.org.

The tool provides the following features:

  • Set server to read only (by removing all user permissions as this seems to be the only way)
    • WARNING: All users will lose specific permissions and be given read only access to entire code base
  • Migrate code to Bitbucket.org
    • WARNING: Will delete everything in Bitbucket.org under the team and do a fresh import
    • Migrate all projects to Bitbucket.org
    • Migrate all repositories to Bitbucket.org
      • Bitbucket.org handles the hierarchy of project/repo a little differently
      • Repositories cannot have the same name as all repositories live at the same level (vs under a project in Server)
      • All repository slugs will be renamed to be prefixed with the project key
  • Produces a user migration script
    • Handles SSH keys
    • Handles Personal Repositories
    • Will rewrite local .git/config files to point to new urls in Bitbucket.org

What is needed:

  • A Bitbucket Server admin account, username and password
  • A Bitbucket.org Team Administrator account, for whatever team you want to migrate to

How to run:

  • npm install (first time only)
  • [USAGE] ./importer.sh --sh|--server-host <Server Host> --su|--server-user <Server User> --sp|--server-pass <Server Password> --ct|--cloud-team <Cloud Team> --cu|--cloud-user <Cloud User> --cp|--cloud-pass <Cloud Password> [archive|import|userscript]

bitbucketimporter's People

Contributors

arciisine avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

simon-campbell

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.