Hi,

I'm writing a  command line python script (to check if the given sourcefile 
was reviewed). My idea is to fetch enough information from Mysql tables. 
E.g.: 
1. select "diffset_id" from "reviewboard.diffviewer_filediff" (where 
"source_file==*needed_filename*")
2. select "history_id" from "reviewboard.diffviewer_diffset" (where "id=*
=selected_diffset_id*")
3. select "ship_it" from "reviewboard.reviews_review" (where "id=*
=selected_diffset_id*")
ship_it==1 would tell that at least one file was reviewed in a diffset. The 
information would be incomplete but better than nothing. I even can't check 
this way if a whole diffset was reviewed.


I didn't try web API, but It may be useful if You post an example.

Thanks,
Laimonas

-- 
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