mantisbt-plugins / source-integration

Source control integration plugin framework for MantisBT, including support for Github, Gitlab, Bitbucket, Gitea, Gitweb, Cgit, Subversion, Mercurial and more
http://noswap.com/projects/source-integration/
MIT License
181 stars 130 forks source link

Use Bitbucket Api 2.0 #320

Closed Xen3r0 closed 5 years ago

Xen3r0 commented 5 years ago

Any plan for integration of bitbucket api 2.0 ?

Actually, i can't import my latest changes because bitbucket remove some resources from their apis : https://developer.atlassian.com/cloud/bitbucket/deprecation-notice-v1-apis/

In my case, i have a error when the script try to get all branches.

dregad commented 5 years ago

I was not even aware that API 1.0 had been deprecated...

Bitbucket integration is community-maintained, so a pull request to adapt the plugin to the new version of the API would be welcome !

Xen3r0 commented 5 years ago

PR : https://github.com/mantisbt-plugins/source-integration/pull/321

dregad commented 5 years ago

Many thanks for your contribution ! I just reviewed the PR.

semanticfire commented 5 years ago

Any timeframe to when the PR gets included ?

dregad commented 5 years ago

@semanticfire as mentioned in #321, I only did basic import tests.

Did you check that the PR works as expected in other scenarios ? If so, it would be nice to have your feedback.

semanticfire commented 5 years ago

From the feedback on #321 I had the impression it was working as expected. I'll have an opportunity to test full integration on Friday I'll not it down and comment on the PR

semanticfire commented 5 years ago

See https://github.com/mantisbt-plugins/source-integration/pull/321#issuecomment-528812186_

dregad commented 5 years ago

Release 2.3.0 is out. Thanks for your contribution !