Adding pull request support via API v2

Merged
#11 · Created  · Last updated

Merged pull request

Merge branch 'feature/add-pull-requests' of bitbucket.org:powellc/bitbucket-cli into feature/add-pull-requests

6c50435·Author: ·Closed by: ·2015-02-19

Description

Hey there.

So the changes below are a first attempt at adding a pull request command, which would look something like:

bb pull_request --owner powellc feature/add-pull-requests master

There are a lot of rough edges to it, as I've never built out CLI tools with python. Furthermore, the post data is currently spitting back an error from BitBucket. I tried using the same data in Postman on Chrome to make sure the submission was being made correctly and got the same response.

I then tried the actual sample POST from the BitBucket API v2 documentation and it spit back the same error. So my feeling is that my implementation is correct and that there's something wonky with BitBucket. I've got a support request in

0 attachments

0 comments

Loading commits...