Git Product home page Git Product logo

bitbucket-batch's Introduction

bitbucket-batch

Created by Stephen McDonald

bitbucket-batch is a command-line tool for making bulk access updates to Bitbucket repositories. It is useful in a corporate team situation where a single company account exists for managing private repositories with each team member having their own account with write access to these repositories. When a new member joins or leaves the team, the process of manually adding or removing write access to all of the company's repositories can be tedious. bitbucket-batch allows you to make access updates to all of the company's repositories in a single command.

Installation

Assuming you have setuptools installed, the easiest method is to install directly from pypi by running the following command:

$ easy_install -U bitbucket-batch

Otherwise you can download bitbucket-batch and install it directly from source:

$ python setup.py install

Usage

Once installed, the command bitbucket-batch should be available which can be run in the following format:

$ bitbucket-batch repo_owner operation role user

Each of the required arguments are:

  • repo_owner: The Bitbucket username for the owner of the repositories the bulk update will be made to.
  • operation: The operation to apply which is either add or remove.
  • role: The role to use for the operation which is either reader, writer or admin.
  • user: The Bitbucket username that the operation will be made for.

For example, to add the user stephenmcd as a writer to all repositories owned by the user citrus, the command would be:

$ bitbucket-batch citrus add writer stephenmcd

bitbucket-batch's People

Contributors

stephenmcd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ubal shavasmallen

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.