@my-ideas/bb-create

0.1.7 • Public • Published

There are no tests here! Use this at your own risk!

Readme

A tiny script to create Bitbucket repositories using a configuration file, instead of relying on manual configuration

Supported settings:

  • Creation of the repo with its metadata (name, description, private/public, etc.)
  • Enable pipeline and set environment variables
  • Branch restrictions (number of review, number of passing builds)

Missing features

  • Create HipChat notifications
  • Test

How to use

Install this module npm install -g bb-create

Get an App Password and write a ~/.bbcreate-settings.json config file

{
    "username": <YOUR_USER_NAME>,
    "appPassword": <YES_EXACTLY_WHAT_HE_SAYS> 
}

Then write the definition of your Bitbucket repo in a JSON file.

Last step, run bb-create <REPO_DEFINITION>.json

How to define a Bitbucket repository

See example-repo.json and refer to the Atlassian documentaiton

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.71latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.71
0.1.60
0.1.50

Package Sidebar

Install

npm i @my-ideas/bb-create

Weekly Downloads

1

Version

0.1.7

License

MIT

Unpacked Size

21.9 kB

Total Files

11

Last publish

Collaborators

  • claudiodangelis
  • carlo.loffredo
  • totomz
  • giorgio.catenacci