Weblate: Pull requests for BitBucket

Created on 23 Oct 2018  路  3Comments  路  Source: WeblateOrg/weblate

Is your feature request related to a problem? Please describe.
Weblate currently supports pull requests only for GitHub, it might be useful to have it for BitBucket as well.

Describe the solution you'd like
Similarly like with GitHub, Weblate would open pull request on BitBucket instead of directly pushing the code.

Additional context
See also https://github.com/WeblateOrg/weblate/issues/1276

backlog enhancement good first issue hacktoberfest help wanted

Most helpful comment

I would be greatly interested in this as well.

All 3 comments

I would be greatly interested in this as well.

Since https://github.com/WeblateOrg/weblate/pull/4224 we have generic layer for implementing pull requests support. So all what is needed is to trigger few API calls on the BitBucket to for a repo and create a pull request. The most tricky part in this is usually error handling (deal existing forks and pull requests).

For example, code for GitHub is here:

https://github.com/WeblateOrg/weblate/blob/b317c87a5b0397d4ed00845c9bba3a8c0066be15/weblate/vcs/git.py#L687-L772

This issue has been added to the backlog. It is not scheduled on our roadmap, but it eventually might be implemented. In case you desperately need this feature, please consider helping or funding the development.

Was this page helpful?
0 / 5 - 0 ratings