Comment limit on number of ReviewBot comments
Review Request #3611 — Created Dec. 2, 2012 and submitted — Latest diff uploaded
Providing a new max_comments property to a review that limits the number of comments a review published by ReviewBot can contain in order to avoid excessive commenting to the point of slowing down loading. Using arbitrary value for now.
- manually tested against local dev server: posted a patch to review that contained a long js file (jslint.js) that had more than 30 comments, and ensured that : 1) only 30 comments by JSLint were posted (total, in the entire JSLint review) 2) a descriptive warning was shown in the body_top section of the JSLint review.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.
orig
1
2
3
bot/reviewbot/processing/review.py |
---|
extension/reviewbotext/extension.py |
---|
extension/reviewbotext/forms.py |
---|