-
Notifications
You must be signed in to change notification settings - Fork 761
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
add host argument to use_github()? #1101
Comments
I'd be happy to review a PR of this. I don't think you need to worry too much about testing - as long as it works for public github, and the url is pluggable, it should work for any internal github. |
Will do - thanks! |
done in #1215 |
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
Hi,
The use-case for this is for people who use enterprise GitHub.
I have looked at the code, and I think this can be done, but it would involve (I think) also adding a host argument to:
github_GET()
github_POST()
use_github_links()
The change to
use_github_links()
could be a bit hairy as it might have to mapapi.github.com
tohttps://github.com
andgithub.foo.com/api/v3
tohttps://github.foo.com
.I am happy to do a PR on this, if you think it is worthwhile to go forward. If so, a couple quick questions:
The text was updated successfully, but these errors were encountered: