Skip to content
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

Organization github #1516

Closed
kkashi01 opened this issue Jan 24, 2020 · 7 comments
Closed

Organization github #1516

kkashi01 opened this issue Jan 24, 2020 · 7 comments

Comments

@kkashi01
Copy link

This is great tool. However, We have github that has been setup for our organization (github.xxxx.com). Is there anyway to change the base url to use url other than github.com?

@0crat
Copy link

0crat commented Jan 24, 2020

@amihaiemil/z please, pay attention to this issue

@0crat
Copy link

0crat commented Jan 24, 2020

@kkashi01/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!

@amihaiemil
Copy link
Member

amihaiemil commented Jan 24, 2020

@kkashi01 Yes, there is the constructor RtGithub(Request).

You can configure your own request with your URL. However, you have to also configure the Content-Type and other headers. See how the default Request is configured. You basically have to do the same thing, only with your custom domain.

Also see how the token or auth headers are added to it: https://github.com/jcabi/jcabi-github/blob/master/src/main/java/com/jcabi/github/RtGithub.java#L111

@amihaiemil
Copy link
Member

@kkashi01 I added the explanation in the README: https://github.com/jcabi/jcabi-github#work-with-githubs-api

@amihaiemil
Copy link
Member

@kkashi01 I'm closing this ticket. Feel free to open another one if you encounter any other issues.

@0crat
Copy link

0crat commented Jan 24, 2020

Job gh:jcabi/jcabi-github#1516 is not assigned, can't get performer

@0crat
Copy link

0crat commented Jan 24, 2020

This job is not in scope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants