Status integration for pull requests
Review Request #8463 — Created Oct. 16, 2016 and discarded
Adds support for setting statuses on pull requests.
When a new pull request is created, and that repository is linked to a RB webhook, a new corresponding review request will be created. That will automatically set the pending status for the pull request.
Whenever an issue is open on the review request, the status is set to "error".
When the review request is "approved" (defaulting to 1+ ship it's and no open issues), the status is set to "success".
Otherwise, the PR has a "pending" status.
- Added unit tests
- to verify the pull request hook is called, and only works with
pull_request
events and the right signature - to verify pull requests are created and updated when a pull request is created
- to verify the pull request's status starts off with 'pending', is 'error' when there's open issues, and 'success' when approved
- to verify the pull request hook is called, and only works with
- Manual testing
- Created a pull request on a repository linked to ReviewBoard through webhooks
- Verified the review request was created with 'pending' status
- Verified that opening an issue on the review request sets the 'error' status on the pull request
- Verified that having no open issue and adding a 'Ship it!' sets the 'success' status on the pull request
Description | From | Last Updated |
---|---|---|
'ipdb' imported but unused |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot | |
local variable 'e' is assigned to but never used |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (112 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (81 > 79 characters) |
reviewbot | |
'ipdb' imported but unused |
reviewbot | |
Col: 80 E501 line too long (84 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (97 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (94 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot | |
local variable 'e' is assigned to but never used |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (89 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (81 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (99 > 79 characters) |
reviewbot | |
'ipdb' imported but unused |
reviewbot | |
Col: 80 E501 line too long (84 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (97 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (94 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot | |
local variable 'e' is assigned to but never used |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
local variable 'pull_request_id' is assigned to but never used |
reviewbot | |
Col: 80 E501 line too long (108 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (85 > 79 characters) |
reviewbot | |
Col: 9 E266 too many leading '#' for block comment |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (89 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (81 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (99 > 79 characters) |
reviewbot | |
'ipdb' imported but unused |
reviewbot | |
Col: 80 E501 line too long (84 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (97 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (94 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot | |
local variable 'e' is assigned to but never used |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (115 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (94 > 79 characters) |
reviewbot | |
Col: 9 E266 too many leading '#' for block comment |
reviewbot | |
Col: 80 E501 line too long (115 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (89 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (81 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (108 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (181 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (99 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (87 > 79 characters) |
reviewbot | |
'ipdb' imported but unused |
reviewbot | |
Col: 80 E501 line too long (84 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (97 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (94 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot | |
local variable 'e' is assigned to but never used |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (115 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (94 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (115 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (89 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (81 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (108 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (181 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (99 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (87 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (98 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (97 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (94 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot | |
local variable 'e' is assigned to but never used |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (115 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (94 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (115 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (89 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (81 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (108 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (181 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (111 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (99 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (87 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (80 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (94 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (115 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (100 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (111 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (99 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (87 > 79 characters) |
reviewbot | |
Undo this. |
brennie | |
alphabetical order - i believe this should be on line 13 |
LA larmiej | |
doc string |
LA larmiej | |
Full path |
brennie | |
Blank line between these. Same below. Also the docs for this param are insufficient. |
brennie | |
unicode |
brennie | |
unicode |
brennie | |
unicode. No Optional |
brennie | |
totally up to you to implement, but i will suggest that you can have something like this states = ['pending', … |
LA larmiej | |
Docstrings of the form: """Single line summary mutli-line description. """ |
brennie | |
Docstring must be in the imperitive (i.e., "Return") mood. |
brennie | |
client. |
brennie | |
Use % formatting. |
brennie | |
function doc string |
LA larmiej | |
Put this inside the if. Missing a period. |
brennie | |
Pyt this inside the elif. Missing a period. A semicolon doesn't work here, either. |
brennie | |
Single quotes here and throughout. |
brennie | |
Should be alphabetical. Above from reviewboard.scmtools.core import Branch, Commit |
CO Connor-Y | |
Extra line, delete this. |
CO Connor-Y | |
I think this function needs more docstring info (Args, Returns...) |
ST stensby | |
Should this TODO should be done/removed? |
ST stensby | |
Should this TODO be done/removed? |
ST stensby | |
Extra line here. |
CO Connor-Y | |
i believe this should be review_request (reviewboard.scmtools.models.ReviewRequest): except this is different |
LA larmiej | |
'Review' imported but unused |
reviewbot | |
Col: 80 E501 line too long (80 > 79 characters) |
reviewbot | |
Imperative mode, Return rather than Returns. I always make a mistake with this one, very tricky |
LA larmiej | |
'Review' imported but unused |
reviewbot | |
Col: 80 E501 line too long (80 > 79 characters) |
reviewbot | |
'Review' imported but unused |
reviewbot | |
Col: 80 E501 line too long (80 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (80 > 79 characters) |
reviewbot |
- Change Summary:
-
Update pull request status every time a review request has a new review posted.
- Commit:
-
5685c02cb52cbebdef551e8b712d56d2a9a344c8ccce168758544ef7ad30c9bcf183974c67505e2a
-
Tool: Pyflakes Processed Files: reviewboard/reviews/builtin_fields.py reviewboard/hostingsvcs/github.py reviewboard/reviews/models/review_request.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/builtin_fields.py reviewboard/hostingsvcs/github.py reviewboard/reviews/models/review_request.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py
-
-
-
-
-
-
-
-
-
-
-
-
- Change Summary:
-
Add diffset when creating a new review request from a PR
- Commit:
-
ccce168758544ef7ad30c9bcf183974c67505e2a5777b9c6e182a0cf091d6cb8e923c29342bb514a
-
Tool: Pyflakes Processed Files: reviewboard/reviews/builtin_fields.py reviewboard/hostingsvcs/github.py reviewboard/reviews/models/review_request.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/builtin_fields.py reviewboard/hostingsvcs/github.py reviewboard/reviews/models/review_request.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Change Summary:
-
- Moved the pull request ID from being in
extra_data
to a property ofReviewRequest
to support querying, along with the corresponding evolution. - Updated implementation of generating diffsets from pull requests based on feedback.
- Moved the pull request ID from being in
- Commit:
-
5777b9c6e182a0cf091d6cb8e923c29342bb514a1e334e55c3d59d013500ee95d07f6a7758f0b678
- Diff:
-
Revision 4 (+211 -6)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/evolutions/__init__.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/evolutions/__init__.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Change Summary:
-
Code cleanup; add hook authentication; change status integration API call method
- Branch:
-
masterrelease-3.0.x
- Commit:
-
1e334e55c3d59d013500ee95d07f6a7758f0b678bfa09b23fc57f5e3456e8f7a1c59f36e14ec876b
- Diff:
-
Revision 5 (+214 -18)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/evolutions/__init__.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/evolutions/__init__.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Change Summary:
-
- Finish implementing Github API's status call with documentation
- Update PR status when inline issues are dropped/fixed
- Commit:
-
bfa09b23fc57f5e3456e8f7a1c59f36e14ec876b891e34254ba6f751564ba04653c7ecb6b6a3d6fb
- Diff:
-
Revision 6 (+236 -20)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Change Summary:
-
Updated description to cover scenarios.
- Description:
-
Adds support for setting statuses on pull requests.
When a new pull request is created, and that repository is linked to a RB webhook, a new corresponding review request will be created. That will automatically set the pending status for the pull request.
~ In the future, different statuses would be set as well. For example, when an issue is opened on the review request, the PR status will be set to "error".
~ Whenever an issue is open on the review request, the status is set to "error".
+ When the review request is "approved" (defaulting to 1+ ship it's and no open issues), the status is set to "success". + Otherwise, the PR has a "pending" status.
- Change Summary:
-
Deal with Reviewbot warnings.
- Commit:
-
891e34254ba6f751564ba04653c7ecb6b6a3d6fbd3a91a3e87698dab4e566813ad8a9aee5239a1ec
- Diff:
-
Revision 7 (+249 -20)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py
-
-
-
-
-
-
-
- Change Summary:
-
Deal with Reviewbot warnings, round 2.
- Commit:
-
d3a91a3e87698dab4e566813ad8a9aee5239a1ec0078106aea25caec2b3e3850065da785b35a400c
- Diff:
-
Revision 8 (+254 -20)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py
- Groups:
- Change Summary:
-
Removed an extra print and TODO
- Branch:
-
release-3.0.xdvcs
- Commit:
-
0078106aea25caec2b3e3850065da785b35a400c56176f29b7b66cc27e7d699880ac3858729928c6
- Diff:
-
Revision 9 (+251 -20)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py
- Change Summary:
-
Various fixes as suggested by reviews.
- Commit:
-
56176f29b7b66cc27e7d699880ac3858729928c6f46436dec697ca9053d6c140c9e447a4ca959e6a
- Diff:
-
Revision 10 (+246 -19)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py
- Change Summary:
-
- Add preliminary test suite
- Documentation updates
- Fixes for issues on this review
- Commit:
-
f46436dec697ca9053d6c140c9e447a4ca959e6afd99a47636983311b39556c558fe88ccaf291180
- Diff:
-
Revision 11 (+493 -19)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/hostingsvcs/tests/test_github.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/hostingsvcs/tests/test_github.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py
- Change Summary:
-
- Refactored tests
- Add tests specifically for status changes
- Commit:
-
fd99a47636983311b39556c558fe88ccaf291180012bb72416b3b58d8f1fc862d215f99493229b9f
- Diff:
-
Revision 12 (+512 -20)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/hostingsvcs/tests/test_github.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/hostingsvcs/tests/test_github.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py
-
-
- Change Summary:
-
- Fixes issue where the pull request hook didn't verify its sender
- Add test for verifying pull request hook's sender
- Updated "Testing Done" section
- Testing Done:
-
+ - Added unit tests
+ - to verify the pull request hook is called, and only works with
pull_request
events and the right signature
+ - to verify pull requests are created and updated when a pull request is created
+ -
to verify the pull request's status starts off with 'pending', is 'error' when there's open issues, and 'success' when approved
+ -
Manual testing
+ - Created a pull request on a repository linked to ReviewBoard through webhooks
+ - Verified the review request was created with 'pending' status
+ - Verified that opening an issue on the review request sets the 'error' status on the pull request
+ - Verified that having no open issue and adding a 'Ship it!' sets the 'success' status on the pull request
- Commit:
-
012bb72416b3b58d8f1fc862d215f99493229b9f41e37297e1c83083a3c5fa133e979d3a47bdbb13
- Diff:
-
Revision 13 (+534 -20)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/hostingsvcs/tests/test_github.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/hostingsvcs/tests/test_github.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py
-
-
- Change Summary:
-
Formatting
- Testing Done:
-
~ - Added unit tests
~ - to verify the pull request hook is called, and only works with
pull_request
events and the right signature
~ - to verify pull requests are created and updated when a pull request is created
~ -
to verify the pull request's status starts off with 'pending', is 'error' when there's open issues, and 'success' when approved
~ -
Manual testing
~ - Added unit tests
- to verify the pull request hook is called, and only works with
pull_request
events and the right signature - to verify pull requests are created and updated when a pull request is created
- to verify the pull request's status starts off with 'pending', is 'error' when there's open issues, and 'success' when approved
- to verify the pull request hook is called, and only works with
~ ~ ~ ~ - Manual testing
- Created a pull request on a repository linked to ReviewBoard through webhooks
- Verified the review request was created with 'pending' status
- Verified that opening an issue on the review request sets the 'error' status on the pull request
- Verified that having no open issue and adding a 'Ship it!' sets the 'success' status on the pull request
- - Created a pull request on a repository linked to ReviewBoard through webhooks
- - Verified the review request was created with 'pending' status
- - Verified that opening an issue on the review request sets the 'error' status on the pull request
- - Verified that having no open issue and adding a 'Ship it!' sets the 'success' status on the pull request
- Change Summary:
-
- Fully qualify type in doc comment
- Commit:
-
41e37297e1c83083a3c5fa133e979d3a47bdbb132dfb0840b995f99da09fd71f902a8e7e67444f0b
- Diff:
-
Revision 14 (+534 -20)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/hostingsvcs/tests/test_github.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/hostingsvcs/tests/test_github.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py
-
-
- Change Summary:
-
Fix reviewbot issues
- Commit:
-
2dfb0840b995f99da09fd71f902a8e7e67444f0b21efd26e8167b697500363e6afb3a040b780df2a
- Diff:
-
Revision 15 (+533 -19)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/hostingsvcs/tests/test_github.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/hostingsvcs/tests/test_github.py reviewboard/reviews/models/review_request.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py
- Change Summary:
-
Rebase with latest changes based on reviews
- Commit:
-
21efd26e8167b697500363e6afb3a040b780df2a42fa0f7bd267ccef5e9091dd6f7a4964a795a33a
- Diff:
-
Revision 16 (+658 -23)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/hostingsvcs/tests/test_github.py reviewboard/diffviewer/diffutils.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py reviewboard/reviews/models/review_request.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/hostingsvcs/tests/test_github.py reviewboard/diffviewer/diffutils.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py reviewboard/reviews/models/review_request.py
-
- Change Summary:
-
Fixed overrunning line
- Commit:
-
42fa0f7bd267ccef5e9091dd6f7a4964a795a33a57d2e73b020de426bf133bb8d3a64c1a5fe9d008
- Diff:
-
Revision 17 (+659 -23)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/hostingsvcs/tests/test_github.py reviewboard/diffviewer/diffutils.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py reviewboard/reviews/models/review_request.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/evolutions/pull_request.py reviewboard/reviews/models/base_comment.py reviewboard/reviews/evolutions/__init__.py reviewboard/hostingsvcs/tests/test_github.py reviewboard/diffviewer/diffutils.py reviewboard/reviews/builtin_fields.py reviewboard/reviews/models/review.py reviewboard/hostingsvcs/service.py reviewboard/hostingsvcs/github.py reviewboard/reviews/models/review_request.py