froggit-go icon indicating copy to clipboard operation
froggit-go copied to clipboard

How to interact with and manage the remote repo or vcs provider via ssh key instead of user/pass?

Open atljoseph opened this issue 1 year ago • 2 comments

Cool library! Got a question not addressed in the docs or the source…

Setup: I use Bitbucket cloud. Seeing that the example requires a username and password for interacting with the “remote”. Seeing there is a way to add ash keys to repos, which seems to be configuring some access on the “remote”.

Question: Curious if there is a way to interact with the “remote” via a specific ssh key that is present on my computer instead of username and password. Not seeing that reflected in the documentation.

Also, there is a comment typo in the file defining how bitbucket cloud will fulfill the interface. List open pull requests seems to have the same comment as create pull request.

Thanks!

atljoseph avatar Sep 03 '22 14:09 atljoseph

Might use by this in a script that bumps and self-aligns repo/mod dependency versions across multiple repos.

atljoseph avatar Sep 03 '22 14:09 atljoseph

@atljoseph thanks for using the Froggit Go library. We love code contributions! Would you consider adding this feature with a pull request?

yahavi avatar Sep 04 '22 09:09 yahavi