bitbucket-repo summary

Plugin Name: bitbucket-repo
Version: 0.4.23
Author: @melezhik
Realease Date: 2016-11-17 11:58:19
Short Description: Create ( multiple ) bitbucket git repositories.
Category: utilities
Plugin web page: https://github.com/melezhik/bitbucket-repo
 
Download link: bitbucket-repo-v0.004023.tar.gz
Latest version link: https://sparrowhub.org/info/bitbucket-repo

bitbucket-repo documentation

SYNOPSIS

Create ( multiple ) bitbucket git repositories.

Description

Plugin goes through the list of directories and creates remote git repository for every one.

INSTALL

  sparrow plg install bitbucket-repo

USAGE

  sparrow plg run bitbucket-repo 
  --param team=heroes \
  --param project=ABC \
  --param svn_repo=http://svn_repository/goods \
  --param user=alexey \
  --param password=12345 \
  --param granto=guest-user

Parameters

team

This should be a bitbucket team representing a realm for git repositories.

For example:

  --param team=my-cool-team

Obligatory. No default value.

project

This should be key of bitbucket project inside $team. Obligatory. No default value.

For example:

  --param project=PRJ1

user

This should be a bitbucket user with privileges to create a repositories inside the team.

password

This should be bitbucket user's password

svn_repo

This should be a svn repo URL.

For example:

  --param svn_repo=http://svn_repository/goods

Plugin goes through the list of directories and asynchronously creates remote git repository for every one.

A list of directories is fetched by svn list command:

  $ svn list $svn_repo 

Obligatory. No default value.

repo

If repo is set - only perform operation for given repository ( directory listed at $svn_repo ). For example:

  --param repo=foo 

postfix

An optional parameter, if set add $postfix string to the name of bitbucket repository being created.

For example:

  --param  postfix='-cookbook'

This is useful to avoid conflicts when some bitbucket repositories already exist at team.

granto

This should be butbucket user which will be granted a read access to bitbucket repositories being created.

Author

Alexey Melezhik