Commit Graph

2 Commits

Author SHA1 Message Date
vend_natalie.chen
1b6e303cf6 synchronize access to netrcCredentialHelper.skip 2019-10-31 11:19:37 +08:00
Preben Ingvaldsen
1026ff073c creds: Add new NetrcCredentialHelper
This commit adds a new credential helper, NetrcCredentialHelper,
to retrieve credentials from a .netrc file. This replaces the
old .netrc authorization behaviour, which was done directly from
the `doWithAuth()` code.

Additionally, this commit moves all of the `.netrc` functionality
out of `lfsapi` and into `creds`. This was done both because
`creds` is now the logical place for the `.netrc` functionality,
and to prevent an import cycle between `creds` and `lfsapi`.
2018-10-08 16:18:06 -07:00