SwiftPackageIndex-Server
SwiftPackageIndex-Server copied to clipboard
List the git SSH clone URL on the swift package index website.
Reasoning Using two factor authentication on GitHub makes cloning via https a bit of a chore. It’s generally easier to deal with this by using SSH to clone a repo.
Currently the swift package index only lists the HTTPS clone url (see screenshot).
It would be nice if we could choose between https and ssh (I.e. [email protected]:user/repo).
Screenshots
Thanks for the report, Brent! You’re right, that’s definitely something we could improve. We were also considering adding a representation that can be copied into Package.swift
and we could perhaps tackle all of these if not at the same time at least with a general mechanism/UI.