1 | # Hubot Bitbucket Pull Requests
|
2 |
|
3 | List all BitBucket open Pull Requests in all or selected repositories
|
4 |
|
5 | ## Features
|
6 |
|
7 | * List all Pull Requests of all selected repositories
|
8 | * List Pull Requests of an unique selected repository
|
9 |
|
10 | ## Installation
|
11 |
|
12 | In your hubot directory, run:
|
13 |
|
14 | `npm install hubot-bitbucket-pullrequests --save`
|
15 |
|
16 | Then add *hubot-bitbucket-pullrequests* to your external-scripts.json:
|
17 |
|
18 | ```json
|
19 | ["hubot-bitbucket-pullrequests"]
|
20 | ```
|
21 |
|
22 | ## Configuration
|
23 |
|
24 | Set the following environment settings:
|
25 |
|
26 | ```
|
27 | HUBOT_BITBUCKET_REPOSITORIES=owner/repo,owner/repo # with repositories which you want to list open Pull Requests.
|
28 | HUBOT_BITBUCKET_AUTH_USER=your_username # with your BitBucket username login.
|
29 | HUBOT_BITBUCKET_AUTH_PASS=your_password # with your BitBucket password login.
|
30 | ```
|
31 | ## Commands
|
32 |
|
33 | ```
|
34 | hubot list pull-requests - List pull requests of all repositories
|
35 | hubot list <repository> pull-requests - List pull request of a selected repository
|
36 | ```
|