Skip to main content

bitbucket-batch

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

Metadata

Release files for bitbucket-batch 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bitbucket-batch 0.1.2
File Size Uploaded Provenance Actions
bitbucket-batch-0.1.2.tar.gz 2.6 kB Without provenance Details for bitbucket-batch-0.1.2.tar.gz

Release files / bitbucket-batch-0.1.2.tar.gz

Download URL bitbucket-batch-0.1.2.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
48f92e93942b44a90281cdda7d7442bc4ffd76b7d2f806f9db62be35c5cf389e
BLAKE2b-256 checksum
How to use checksums
59de2cfa4af34a04fdea9b2dc895e2467d11d6f1c1f24d96053566ace04d92ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for bitbucket-batch 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page