Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bitbucket deprecated its API v1.0: update all endpoints to API v2.0 (#…
…354) * Bitbucket deprecated its API v1.0: update all endpoints to API v2.0 (pull_requests wasn't updated) * Fix issue of approve_pull_request and unapprove_pull_request method * Use updated commit endpoint, instead of changeset * Fix github create pullrequest comment issue * Fix bitbucket create pullrequest comment issue * Update bitbucket API v2 pullrequest format * Update bitbucket API v2 pullrequest format * Rollback bitbucket.rb and parse new bitbucket comment format * Rename position to line_to * Fix for parsing comments to get the path * Support for comment paging in BitBucket API 2.0 * Print out response when request fails At the moment it just gives an obtuse NoMethodError when the response does not contains a 'values' key * fix (bitbucket): handle when a comment is made on a file Currently if you create a top level 'file' comment on the PR, it breaks as the comment has no line property * fix (bitbucket): remove extra end
- Loading branch information