Re: API question: list of files in requests, filtered by path and request date

2012-12-07 Thread Christian Hammond
Hi Dado, You probably don't want to query the database directly, but you could write a script that uses our Model classes to get what you want. You'll have to spend some time looking at the Django docs on how to do that, and write a script that has your site's conf/ directory in your

Re: API question: list of files in requests, filtered by path and request date

2012-12-06 Thread Christian Hammond
Hi Dado, The web API isn't really built to provide this sort of query, unfortunately. What would be needed is a new resource for all modified diffs that let you query such information. I'd be happy to include such a resource, but someone would have to write it. I'm curious what you're working

Re: API question: list of files in requests, filtered by path and request date

2012-12-06 Thread Dado Feigenblatt
Hi Christian, We're using ReviewBoard version 1.6.3 We also using Perforce version P4D/LINUX26X86_64/2012.2/551823 (2012/11/09) We have a few different groups of developers. One of these groups writes mostly one-offs or do local customizations at break neck speeds. These is all in-house

API question: list of files in requests, filtered by path and request date

2012-12-05 Thread dado
What would be the best way of getting a list of all reviewed files matching a determined perforce path? I also know I'm after the reviews created after 04/01/12. Should I simply get all the reviews after that date and do any additional filtering client-side? If so, what would be the best way to