{"id":15567076,"url":"https://github.com/pylipp/bibu","last_synced_at":"2026-01-07T05:47:41.963Z","repository":{"id":57414913,"uuid":"209875666","full_name":"pylipp/bibu","owner":"pylipp","description":"A Bitbucket command line client written in bash","archived":false,"fork":false,"pushed_at":"2021-01-14T21:21:28.000Z","size":59,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T05:19:03.348Z","etag":null,"topics":["bash","bitbucket","command-line","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pylipp.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-20T20:28:10.000Z","updated_at":"2021-01-14T21:21:30.000Z","dependencies_parsed_at":"2022-08-30T06:52:15.695Z","dependency_job_id":null,"html_url":"https://github.com/pylipp/bibu","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pylipp%2Fbibu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pylipp%2Fbibu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pylipp%2Fbibu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pylipp%2Fbibu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pylipp","download_url":"https://codeload.github.com/pylipp/bibu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140591,"owners_count":20729802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bitbucket","command-line","rest-api"],"created_at":"2024-10-02T17:09:53.504Z","updated_at":"2026-01-07T05:47:36.931Z","avatar_url":"https://github.com/pylipp.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `bibu`\n[![Build Status](https://travis-ci.org/pylipp/bibu.svg?branch=master)](https://travis-ci.org/pylipp/bibu)\n\nA Bitbucket command line client written in bash.\n\n## Installation\n\n`bibu` is distributed as Python package. It's best downloaded from the Python Packaging Index PyPI by\n\n    pip install --user bibu\n\nAlternatively you can install the relevant bash files: the main executable `bibu` into `~/.local/bin` and the bash library `bibu.bash` into `~/.local/lib`.\n\nIn either case take care to add `~/.local/bin` to your `$PATH`.\n\n### Bitbucket authentication\n\nObtain OAuth consumer key and secret from your Bitbucket profile settings:\n\n- Bitbucket settings -\u003e Access management -\u003e OAuth -\u003e Add consumer\n- enter name and callback URL (e.g. https://google.com)\n- adjust permissions (`team pipeline:variable webhook pullrequest:write snippet:write wiki repository:admin project issue:write account`)\n- save\n- copy key and secret to environment variable `$BITBUCKET_REST_API_AUTH` (separated by colon)\n\n### Dependencies\n\n`bibu` depends on `curl` and `jq`.\n\nIt's tested against `bash` 4.4.19, `curl` 7.64.0, `jq` 1.6 in an Alpine Linux Docker image.\n\n## Usage\n\nConsult `bibu --help`\n\n    bibu operates on the repository of the current working directory, and derives\n    information from 'git-remote'.\n\n    Available commands:\n        issue           Manage Bitbucket issues\n        pipeline        Manage Bitbucket pipelines\n        pr              Manage Bitbucket pullrequests\n        api             Get resource via REST API\n\n    General options:\n        --help          Display help message\n\n## Examples\n\nStart a pipeline called `all-tests` on current HEAD\n\n    bibu pipeline run -n all-tests\n\nView most recent pipeline runs\n\n    bibu pipeline list\n\nCreate a pull-request. You will be prompted for title and description (using `$EDITOR`).\n\n    bibu pr create\n\nGet the patch of the pull-request #42\n\n    bibu api pullrequests/42/patch\n\nGet comments on issue #7\n\n    bibu api issues/7/comments | jq '.values[] | .content.raw'\n\n## Ideas\n\nFuture features... Feel free to contribute!\n\n### Pipelines\n\n- trigger\n- list / status\n- browse\n\n### Pull requests\n\n- create\n- list\n- review\n\n### Issues\n\n- create\n- list\n- update\n- comment\n\n## Contributing\n\n### Set up\n\nFetch the Docker image\n\n    docker pull pylipp/bibu:latest\n\nInstall development dependencies into Python venv\n\n    pip install -U .[dev]\n\n### Testing\n\nTests are written with bats. Execute test suite\n\n    ./run test\n\nor a dedicated test\n\n    ./run test tests/cli.bats\n\n### Development installation\n\nEditable pip-install is not compatible with using the `data_files` option in `setup.py`. Hence apply the work-around\n\n    ./run install\n\n### Release\n\n1. Tag latest commit on master by version number acc. to format `vX.Y.Z`.\n1. `./run release`\n\n## Related projects\n\n- [gh](https://github.com/cli/cli)\n- [hub](https://github.com/github/hub)\n- [Python wrapper for Atlassian REST APIs](https://github.com/atlassian-api/atlassian-python-api)\n- open an issue or a pull request to extend the list :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpylipp%2Fbibu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpylipp%2Fbibu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpylipp%2Fbibu/lists"}