Open aguschin opened 2 years ago
This is something that will interfere with normal usage of the tool when users do their first steps, so I would consider this between p1 and p2.
Authentication is required only for private repos, which is not very common for testing new tools, so my guess it's p2. As for auth methods, here are some options:
https://user:pass@github.com/...
- this should be supported by fsspec, but I have my doubts about it. Need to checkTested a bit, git
auth is not the same as ssh
. Meaning, if you can run git clone ...
successfully (because you already have credentials in your keychain, for example), it doesnt mean that ssh
access (ssh://git@github.com/org/repo
) will succeed. So the first bullet is about re-using git
credentials
related to #616 , or even duplicate
Right now we only support authentication in GH with GITHUB_USERNAME and GITHUB_TOKEN pair provided as env vars. We should support other methods too. By authentication I mean ability to load models from private repos, list them and do other things, e.g.