Is it possible to automatically create reviews using svn post-commit hooks?
Thanks / Jonas
Currently its not trivial to do this. You can do it by doing the following from a post-commit hook:
- From a mysql client update the review role table in the database to allow non-raising users to be the developer participant in a review:
UPDATE review_role SET always_raiser = 0 WHERE id = 1;
- Login to groogle via a http post command using wget to login.php (raising a review requires an actionee, who must be logged in!). The following parameters must be set:
The server will send back a session cookie and an authentication cookie. You'll need this for the next step.
- Raise the review by posting to request.php with the following request parameters:
summary=Your review summary
description=Your review descritpion
All being well you should get a review raised!