An Emacs wrapper for the Bitbucket API.
Currently, you have to manually install the package.
(add-to-list 'load-path "my-package-directory")
I am working on getting the package into MELPA. You can track the progress through this pull request
Basic Authentication is supported.
The access token is created by base64 encoding your username and password. In emacs you can do this with the following code.
(base64-encode-string
(concat "username" ":" "password"))
(If you are using 2-factor-authentication, set an app password, and use that instead of the user password.)
You can apply the token programmatically:
(setq bitbucket-basic-auth "my-basic-auth-token"))
or through an environment variable:
export BITBUCKET_BASIC_AUTH=my-basic-auth-token
This project is a work in progress. I have only ported the Issues endpoints, which allows Bitbucket integration for git-commit-insert-issue
If you need more endpoints added, create an issue, or even better send a pull request.
This project has been inspired by the great emacs-gitlab