I have the exact same problem.
I've never used Django.
Would it be possible to leverage the Django ORM client side?

Thanks,
Dado



On Thu, 6 Dec 2012 05:40:07 -0800 (PST), Laimonas Mockus <laimonas.moc...@gmail.com> wrote:
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