dancryer / PHPCI

PHPCI is a free and open source continuous integration tool specifically designed for PHP.
BSD 2-Clause "Simplified" License
2.42k stars 441 forks source link

How to use Subversion #878

Open easterism opened 9 years ago

easterism commented 9 years ago

Hi. Could you please make some advise about SVN. I tried to use it on self-hosted PHPCI on Debian. My SVN server is another Debian machine. So I use SSH keys. The public RSA key inside /root/.ssh Also I copied the private RSA to my PHPCI project. But after build launched I received "authorization failed: Could not authenticate to server: rejected Basic challenge". P.S. I think you can add another access option to the SVN. Just user name and password. It's fastest way, especially if you havn't SSH pairs

amenk commented 9 years ago

+1

amenk commented 9 years ago

Workaround: You could login as the same user as phpci runs, do a svn co https://example.com/repo and enter user name and password and let svn cache it in the ~/.subversion directory

tvbeek commented 9 years ago

I didn't have any way to check svn or to help you. Did you search on the other svn issues if maybe someone has the same issue and fixed it?

If you have any idea to fix it, feel free to create a pull request

amenk commented 9 years ago

Did not yet have time for a PR. But SVN has parameters --username and --password - so it should be just possible to specify those parameters.

easterism commented 9 years ago

That's what i said. Just add username and password fields as alternative to certificate authorization.

psobeich commented 7 years ago

I'd also like to see username and password field as an alternative to certificate authorization.