-
Notifications
You must be signed in to change notification settings - Fork 86
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
First git push in rrtools::use_github seems to be broken #71
Comments
Yes, I can reproduce this, and encountered it recently in a workshop. I guess it's not exactly that same, since the function that fails is
|
Ok - I solved my issue. And it only took me four hours! I have to reconsider my life choices. For me it works with Now about why this took me four hours: The two problems -- your's and mine -- are not related. My problem was based on the authentication necessary for This GITHUB_PAT needs
I suggest to also add this information to the documentation of I can offer a PR with my suggestions if you like them. Concerning your error: How did you call this function? Just to make sure: You replaced the placeholder
? |
Thanks for taking a look. Maybe you are right that we need to update the code we pasted in from devtools. I'm getting a repo made on GitHub, but the push doesn't work:
Here's what I need to in advance:
|
I mean - the new devtools code doesn't solve this problems, but maybe it prevents future ones. SSH Keys for Interesting that
Do you store your keys at a non standard location? Or does ssh key management work completely different on MacOS? In the end it doesn't matter for me, but it would be nice to have a default setting that works in pretty much all default environments. On Unix-alike systems ssh keys are usually stored in GITHUB_PAT for So this is solved with some more documentation, ja? |
I got a new GitHub token and it all works fine for me now... But not if I use No luck with
But if I use the PAT as-is, all is well:
|
At today's workshop in Oxford we saw several computers with this error:
|
rrtools is suffering from API fever attacks. This is yet another error. I mean... It's clear that If |
I'm still finding this step unreliable. Related, perhaps: https://cran.r-project.org/web/packages/credentials/vignettes/intro.html |
I believe this issue can me closed, although it remains technically unsolved. Hear me out:
In the rrtools README section about git/github I would change two small things:
|
Thanks for these suggestions, those are great observations. I've added the text to the README as your propose in 7aea08f. Afte adding my ssh key, following the instructions in Happy Git With R I got this, which although not perfect, was enough that I could easily go the last mile by myself. So that's a big improvement, thanks again!
|
In a new repository with git enabled:
The problem seems to be how
git2r::push()
acquires ssh credentials. Maybe it's just a user error or a problem with my system. But my ssh-agent ist running and I see no problem here.The text was updated successfully, but these errors were encountered: