Re: Calling a script after review submission

2012-02-13 Thread Christian Hammond
This is all very experimental stuff that does not yet ship. Basically, you would need the latest bleeding-edge Djblets and Review Board. At that point, you'd develop the extension, enable it in the administration UI, and then use it. I don't recommend any of this for production use right now. Ther

Re: Calling a script after review submission

2012-02-13 Thread sbamford
Thanks for that Presumably the extension needs to be compiled in the same version of python as the rest of Review Board (so 2.5). I have found this link (http://code.google.com/p/reviewboard/wiki/Building_Extensions) for building extensions. I am presuming I don't need any of the hooks. What I don

Re: Calling a script after review submission

2012-02-12 Thread Steven MacLeod
I think writing an extension to do what you want would be your best bet. Using an extension you could listen to one of the review signals (not sure which one you need), and run your script in your extension (the extensions are python after all). The signals you are interested in are probably in

Calling a script after review submission

2012-02-12 Thread sbamford
Hi there I want to call a python script every time a review's status is changed to "submitted". Does review board have anything similar to mercurial hooks that I can use to do this? The script will change info only on the just submitted review, and needs to know the id number of the review. I foun