-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cred_ssh_key() defaults #316
Conversation
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Ian J. Lyttle <ian.lyttle@schneider-electric.com>
@ijlyttle So if you install this version of git2r, does it have the effect you'd hope in this exercise re: |
@jennybc I still can't get ssh-agent to work, so this will be (my) immediate path to success on Windows: usethis::use_github(credentials = git2r::cred_ssh_key()) It does not yet work - I think this has to do with #312
> str(git2r::cred_ssh_key())
|
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Change S4 classes to S3
Signed-off-by: Ian J. Lyttle <ian.lyttle@schneider-electric.com>
… cred_ssh_key-windows
rebasing now - will test asap |
Whatever happened here Git-wise isn't ... quite done yet? @ijlyttle it's hard to see your changes, amidst all the others. Can you update your master branch from master on ropensci/git2r, rebase your PR branch onto that, then force push to your PR branch? |
Signed-off-by: Ian J. Lyttle <ian.lyttle@schneider-electric.com>
… cred_ssh_key-windows
@jennybc I rebased onto master on ropensci/git2r - although it took some convincing. Is it looking any better? If it is well-and-truly hosed, I can start the PR again from scratch - my changes were not that many. |
@stewid I have installed f8ec75e on both my Mac and PC, and I run: git2r::push(".", "origin", "refs/heads/master", credentials = git2r::cred_ssh_key()) On the Mac, it seems to work OK. On the PC, I get a strange error:
The repo is otherwise normal (from the terminal |
closing in favor of #317 |
Fixes #314
Adds a function
ssh_path()
, in the footsteps of @jennybc's git_user_dot_home()Puts that function to use for the defaults in
cred_ssh_key()
.I don't see a test-file for credentials - I could add one if you think it useful.
Signed only most-recent commit, due to late reading of contribution guidelines.