Re: Info per source file

2012-12-06 Thread Laimonas Mockus
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

Re: Info per source file

2012-12-06 Thread Dado Feigenblatt
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

Info per source file

2012-12-05 Thread Laimonas Mockus
Hi, Is it possible to get info (e.g. fetch from database) if a particular source file (or at least diffset) was reviewed? I can see filelists in the table diffviewer_filediff, but I'm unable to find the connection to the status or to the request id (e.g. table reviews_review). I use RB 1.7

Re: Info per source file

2012-12-05 Thread Christian Hammond
Hi, Are you looking to do this through the web API, or are you writing an extension or something? I'm gathering the latter. I'm not at the computer so I don't have the code in front of me, but you can do something like filediff.comments to get the Django relation to the diff comments for the