Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoSign in
Socket

bitbucket-to-gerrit

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitbucket-to-gerrit

Bitbucket to Gerrit migrator

latest
npmnpm
Version
1.1.5
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Bitbucket to Gerrit migration tool

Migrate your BitBucket git repositories to Gerrit in a blink.

Prerequisites of the machine that will execute this tool

  • NodeJS 8+
  • GIT, meaning git --version should work

Usage

npx bitbucket-to-gerrit --help
  Usage: bitbucket-to-gerrit [options]


  Options:

    -b, --bitbucket-url <url>                       Bitbucket url
    -u, --bitbucket-username <username>             Bitbucket username
    -p, --bitbucket-password <password>             Bitbucket password
    -e, --bitbucket-repositories-to-exclude [name]  Bitbucket repositories to exclude
    -i, --bitbucket-repositories-to-include [name]  Bitbucket repositories to include
    -g, --gerrit-url <url>                          Gerrit url
    -U, --gerrit-username <username>                Gerrit username
    -P, --gerrit-password <password>                Gerrit password
    -X, --gerrit-parent <parent>                    Gerrit parent project
    -h, --help                                      output usage information

Examples

Migrate all repositories

npx bitbucket-to-gerrit \
-b "https://bitbucket.doe.com" -u bitbucketuser -p bitbucketpassword \
-g "https://gerrit.doe.com" -U gerrituser -P gerritpassword

Migrate all repositories except some of them

Migrate all repositories except first-repo-to-exclude and second-repo-to-exclude:

npx bitbucket-to-gerrit \
-b "https://bitbucket.foo.com" -u bitbucketuser -p bitbucketpassword \
-g "https://gerrit.foo.com" -U gerrituser -P gerritpassword \
-e first-repo-to-exclude -e second-repo-to-exclude

Migrate only specific repositories

Migrate only repositories first-repo-to-include and second-repo-to-include:

npx bitbucket-to-gerrit \
-b "https://bitbucket.foo.com" -u bitbucketuser -p bitbucketpassword \
-g "https://gerrit.foo.com" -U gerrituser -P gerritpassword \
-i first-repo-to-include -i second-repo-to-include

Keywords

bitbucket

FAQs

Package last updated on 01 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts