On 04/26/2010 06:16 AM, sgkannan wrote:
Hi, We want to run the code against PMD rule set and attach the result
to the review request using the post review tool.

i'm new to Python and Review Board. If you can give me some directions
on what to edit and where, then I'm hopeful of doing it.

Thanks in advance.


Actually, what you probably want to do is write an entirely new tool for this. You can use the JSON API to communicate with the reviewboard server and submit a review comment containing the output from the PMD tool.

The JSON API specification:
http://www.reviewboard.org/docs/manual/dev/webapi/#webapiguide

The specific call you'll want (after authenticating) to submit the update:
http://www.reviewboard.org/docs/manual/dev/webapi/reference/apicalls/set-and-publish-review-draft/

--
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to