{"id":16252159,"url":"https://github.com/dachinat/bitbucket_pr","last_synced_at":"2025-07-26T01:16:56.361Z","repository":{"id":62554284,"uuid":"158304888","full_name":"dachinat/bitbucket_pr","owner":"dachinat","description":"Submit Bitbucket PR with CLI","archived":false,"fork":false,"pushed_at":"2018-11-20T12:45:44.000Z","size":56,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-15T21:15:27.270Z","etag":null,"topics":["bitbucket","bitbucket-api","bitbucket-cloud","ruby","ruby-cli","ruby-gem"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/dachinat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-19T23:48:28.000Z","updated_at":"2018-11-20T12:45:45.000Z","dependencies_parsed_at":"2022-11-03T05:00:31.429Z","dependency_job_id":null,"html_url":"https://github.com/dachinat/bitbucket_pr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dachinat/bitbucket_pr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachinat%2Fbitbucket_pr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachinat%2Fbitbucket_pr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachinat%2Fbitbucket_pr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachinat%2Fbitbucket_pr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dachinat","download_url":"https://codeload.github.com/dachinat/bitbucket_pr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachinat%2Fbitbucket_pr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267098083,"owners_count":24035698,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bitbucket","bitbucket-api","bitbucket-cloud","ruby","ruby-cli","ruby-gem"],"created_at":"2024-10-10T15:12:37.940Z","updated_at":"2025-07-26T01:16:56.296Z","avatar_url":"https://github.com/dachinat.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BitbucketPr\n\nGem is useful to submit pull-requests to Attlasian Bitbucket through CLI command __if you don't like to open new browser tab__\n\n![](http://www.quickmeme.com/img/78/7802c0254fca6dc4b3ee20300007dc8aa4164ac99b466f66bb9fb84befec097a.jpg)\n\n## Installation\n\n```bash\n$ gem install bitbucket_pr\n```\n\n## Aliasing\n\nThis is optional you can always use `$ bitbucket_pr` as an executable,\nbut we'll be using `$ git pr` instead.\n\nCreate bash executable named `git-pr` with following snippet:\n\n```bash\n#!/bin/bash\nbitbucket_pr \"$@\"\n```\n\nand add this to your path. On macOS you can place this in `~/bin`\n\nYou might also need to\n\n```bash\n$ chmod +x ~/bin/git-pr\n``` \n\n## Usage\n\n`source` `destination` and `title` are required options.\n\n`username` `password` and `repository name` are also required, but can be saved for future.\n\n#### Minimal setup \n\n```\n$ git pr [source] [destination] -t[title] -a[username:password]`\n```\n\nexample:\n```\n$ git pr middleware-patch master -rdachinat/rack_pg -adachinat:3Edm$51dd2 -t'Patching a middleware'\n```\n\nyou can use `--title=\"Patching a middelware\" --auth=\"username:password\"` style if you want\n\n#### Save credentials and repository name\n\n##### Warning: this will create file containing your encrypted password. Use at your own risks! \n\n```\n$ git pr configure -u[username] -p[password] -r[repository_name]\n```\n\nRepository name has to be in `username/repository` format\n\nexample: \n\n```\n$ git pr configure -udachinat -p3Edm$51dd2 -rdachinat/rack_pg\n```\n\nOnce you have credentials stored, you can skip `-r` and `-a` options\n\n#### More options\n\n* `-d` `--description` - Optional PR description\n* `--reviewers` - Optional reviewer username array (i.e.: --reviewers=\"reviewer1, reviewer2\") \n* `-c` `--close` - Optional close flag / close branch after PR is merged or not\n\n#### Help\n\nYou can always use `git pr help` for further help 😄\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/dachinat/bitbucket_pr. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the BitbucketPr project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/dachinat/bitbucket_pr/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdachinat%2Fbitbucket_pr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdachinat%2Fbitbucket_pr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdachinat%2Fbitbucket_pr/lists"}