1556: Add the ability to pass SVN username and password on post-review command line

nah****@gmai***** (Google Code) (Is this you? Claim this profile.)
Sept. 15, 2014
What version are you running?
post-review 0.8

Please provide any additional information below.

My SVN repository is protected by a HTTP-digest password.

post-review runs "svn info" (get_repository_info method in postreview.py)
so requires the user to already be logged in SVN or to be able to enter his
password.

I want Apache to run post-review in the post-commit hook of SVN. This
causes problems since Apache is not and can't log in SVN that way (it can
only access SVN directly via a local path).

There should be a way to pass a SVN username and password to post-review.

Note: this probably applies to other SCM as well
#1 gotisc******@yaho**** (Google Code) (Is this you? Claim this profile.)
I am faced with the same problem - how can I log it in? otherwise it does not work at all... When I execute it from command line it asks me for password etc. Probably it does the same while executing by post hook, but who can "type" it in that case? :)
Any other solution?
david
#2 david
  • +Component-RBTools
#3 lroze******@gmai***** (Google Code) (Is this you? Claim this profile.)
It's logical to have this functionality because from security POV I cannot make security hole by allowing without-password acccess to our SVN.
david
#4 david
  • -Type-Defect
    +Type-Enhancement
  • +Add the ability to pass SVN username and password on post-review command line
chipx86
#5 chipx86
  • +Project-RBTools
david
#6 david
  • +EasyFix
david
#7 david
Fixed in release-0.6.x (a2890ae). Thanks!
  • +Fixed