CocoaPods / cocoapods-downloader

A small library that provides downloaders for various source types (HTTP/SVN/Git/Mercurial)
MIT License
84 stars 72 forks source link

SVN authentication using --username and --password #48

Closed dalu93 closed 8 years ago

dalu93 commented 9 years ago

Hi, As I said there: https://github.com/CocoaPods/CocoaPods/issues/4086#issuecomment-135067121 I have to export repo with those two parameters because my server refuse http basic authentication and it doesn't support svn+ssh protocol. Unfortunately Cocoapods is launching on OS X Server and I can not store the credentials in Keychain with the server user. I tried to copy the keychain-item in the server user keychain, but it is still not working. My only solution is to populate --username and --password parameters. How can I do this? Thanks

segiddins commented 9 years ago

Might http://stackoverflow.com/a/8330523/1675979 work for you in the meantime?

dalu93 commented 9 years ago

Tried setting servers file as

[groups]
namegroup=repohost
[namegroup]
username=myusername
password=mypassword

It doesn't work, same error

svn: E170001: Unable to connect to a repository at URL 'repoURL'
svn: E170001: OPTIONS of 'repoURL': authorization failed: Could not authenticate to server: rejected Basic challenge (https://repoHost)
segiddins commented 9 years ago

¯(ツ)