You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#54 added the option --netrc to the curl call in the HTTP module.
However when downloading using the HTTP module, curl should use --netrc-optional instead of the more restrictive --netrc option. This allows users to choose to specify the authentication credentials through the url instead of having to set them up in a ~/.netrc file
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.
CocoaPodsgh-55
#54 added the option
--netrc
to thecurl
call in theHTTP
module.However when downloading using the
HTTP
module,curl
should use--netrc-optional
instead of the more restrictive--netrc
option. This allows users to choose to specify the authentication credentials through the url instead of having to set them up in a~/.netrc
fileSee CocoaPods/CocoaPods#5318
The text was updated successfully, but these errors were encountered: