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 |
Create ( multiple ) bitbucket git repositories.
Plugin goes through the list of directories and creates remote git repository for every one.
sparrow plg install bitbucket-repo
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
This should be a bitbucket team representing a realm for git repositories.
For example:
--param team=my-cool-team
Obligatory. No default value.
This should be key of bitbucket project inside $team
. Obligatory. No default value.
For example:
--param project=PRJ1
This should be a bitbucket user with privileges to create a repositories inside the team
.
This should be bitbucket user's password
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.
If repo is set - only perform operation for given repository ( directory listed at $svn_repo
). For example:
--param repo=foo
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.
This should be butbucket user which will be granted a read access to bitbucket repositories being created.
Alexey Melezhik