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

Use curl's --netrc-optional option instead of --netrc #56

Closed sguillope closed 8 years ago

sguillope commented 8 years ago

Using --netrc forces the user to provide authentication credentials through a .netrc file in the user's home folder if the remote server requires authentication.

However a user may want to provide the credentials right in the url which has the advantage of not being dependent on having build machines set up with the .netrc file. In an enterprise environment - potentially using many build machines and having many team members - it can become a hassle to ensure proper configuration of all build environments.

Ideally we should be able to specify the path to the .netrc file using the --netrc-file option but that's for another time.

gh-55

segiddins commented 8 years ago

👍🏻

drico commented 8 years ago

Does anyone know when this will be released ?