这是indexloc提供的服务,不要输入任何密码
Skip to content

Add support for cloning git repositories using SSH #151

@Angelmmiguel

Description

@Angelmmiguel

Is your feature request related to a problem? Please describe.

After closing #147, you can use a remote git repository as a valid location. However, it only clone repos over HTTP/S. The following command doesn't work:

wws git@github.com:vmware-labs/wasm-workers-server.git

Describe the solution you'd like

I want to clone git repositories using the SSH protocol too. It will require to detect these kind of URIs, load the SSH key and try to pull it. For the SSH key, I need to evaluate the different options. From the git2-rs library, you can load it from a file, the memory or a ssh-agent.

You may need to add more git options to the CLI so you can get SSH keys location, agent usernames, etc.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions