Perceval backend for Bitbucket.
Clone the repository
$ git clone https://github.com/perceval-backends/grimoirelab-perceval-bitbucket
We use Poetry for managing the project. You can install it following these steps.
Install the required dependencies (this will also create a virtual environment)
Activate the virtual environment
Note:
3 tokens are needed to access the bitbucket backend
CLIENT_ID
get from Bitbucket - SettingsSECRET_ID
get from Bitbucket - SettingsREFRESH_TOKEN
For getting REFRESH_TOKEN
from Bitbucket one needs to follow these steps -
https://bitbucket.org/site/oauth2/authorize?client_id={CLIENT_ID}&response_type=code
in your preferred browser{YOUR_REDIRECT_LINK}/?code={CODE}
$ curl -X POST -u {CLIENT_ID}:{SECRET_ID} https://bitbucket.org/site/oauth2/token -d grant_type=authorization_code -d code={CODE}
REFRESH_TOKEN
Fetch issues from the bitbucket project libqxt/libqxt with CLIENT_ID
, SECRET_ID
, REFRESH_TOKEN
$ perceval bitbucket libqxt libqxt --category issue -c CLIENT_ID -s SECRET_ID -r REFRESH_TOKEN
The bitbucket backend can fetch issue
and pull_request
.
username
and password
for authentication instead of the 3 access tokens, read more about it from chaoss/grimoirelab-perceval/#/653 (comment)This project follows the contributing guidelines of the GrimoireLab.
The backend was initially developed by @imnitishng.
Adhering to the guidelines, the work is moved to this external repository. But, this can be merged (chaoss/grimoirelab-perceval/#/653) into the Perceval repository in the future.
Licensed under GNU General Public License (GPL), version 3 or later.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4