Thanks for the reply...now i am clear that why it was not working :) . i will see python API and will try to write my own hooks.
It will be although nice if reviewboard team provide some readymade hooks like this, because this is very much required functionality... I will update here itself i gets success. On Tuesday, March 28, 2017 at 8:31:30 PM UTC+5:30, TestAutomation MitelODC wrote: > > Hi All. > > I was trying to integrate SVN(on Windows) with ReviewBoard 2.5.9.(on > Ubuntu) > > Intgration went fine and I was able to add SVN Repo through Admin portal > of ReviewBoard. > > Next step was to add precommit hook on SVN, so that any commit on SVN > should either be using existing review ID or create a new review. > I got precommit_hook.py and postreview.py python scripts to achieve this > task(when I searched on google). > > but when I am executing these scripts I found that I am unable to do login > to review board while providing correct Id and pwd. > > /api/json/accounts/login/ was the url that script was trying to hit and > receiving "not reachable". > > When I tried with Postman(open free ware tool to test REST API) to hit > http://<MyReviewBoardIP>/api/json/accounts/login with HTTP_POST then also I > got error saying Object does not exist code 100 . > > Where is the issue ? > did I miss any install steps for WEB API ? > are these APIs old ? > > Can I get latest verison of precommit_hook.py and postreview.py scripts ? > > attaching the ones that I am using. > > Thanks, > Manish Trivedi > > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
