SwiftPackageIndex-Server icon indicating copy to clipboard operation
SwiftPackageIndex-Server copied to clipboard

List the git SSH clone URL on the swift package index website.

Open BrentMifsud opened this issue 3 years ago • 1 comments

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

9A8FBC70-71B3-4FFF-9E48-C533AEEAD520

BrentMifsud avatar Sep 19 '20 16:09 BrentMifsud

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.

finestructure avatar Sep 19 '20 17:09 finestructure