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

Cannot link private enterprise github account and import repository #2194

Closed
komalsrathi opened this issue May 5, 2016 · 12 comments
Closed
Labels

Comments

@komalsrathi
Copy link

komalsrathi commented May 5, 2016

Details

I am trying to create a readthedocs page from a private GitHub Enterprise repository. I have to use import manually option to import this repository because I am unable to connect my enterprise github account to the readthedocs account. I am also getting an error while importing my repository in readthedocs.

This repository doesn't have a valid webhook set up. That means it won't be rebuilt on commits to the repository. You can resync your webhook to fix this

EDIT: I added the readthedocs service under Settings > Webhooks and Services > Add Service. I still cannot import my project to RTD.

How do I fix this issue?

If this issue is for a specific project or build, include the following:

  • Project:
  • Build #:
@barbara-sfx
Copy link
Contributor

@komalsrathi
Copy link
Author

komalsrathi commented May 6, 2016

I did try that but I am still getting this error/warning:

This repository doesn't have a valid webhook set up. That means it won't be rebuilt on commits to the repository. 
You can resync your webhook to fix this.

I can see Your documentation is building since the past hour or so which doesnt look right. Like I said, it works with my github repos but not with my enterprise github repos.

@komalsrathi komalsrathi changed the title Cannot link public enterprise github account and import repository Cannot link private enterprise github account and import repository May 11, 2016
@agjohnson
Copy link
Contributor

Read the Docs doesn't support GHE out of the box. All integrations assume you are connecting to github.com. Therefore, github API integrations are likely to be wonky, and you'll need to manually configure webhook pushes to your instance.

Marking this as community effort, this is outside the scope of the core team. Documentation here would be greatly appreciated if you do have luck with set up.

@blaisep
Copy link

blaisep commented May 28, 2016

Hi @agjohnson , I´m willing to write up my findings. I have an internal RTD and GHE,
So far, I can do manual imports and scheduled nightly builds.
Is it better to submit here or write it up as a gist?

@komalsrathi
Copy link
Author

@blaisep have you written a gist for it? It will be really helpful!

@blaisep
Copy link

blaisep commented Jun 9, 2016

Hi Komal

I have never written a gist before so I was wondering where to put it. I
suppose I should put it in my repo and then share the link in the issue
thread?

Blaise
On Jun 9, 2016 06:56, "Komal Rathi" notifications@github.com wrote:

@blaisep https://github.com/blaisep have you written a gist for it? It
will be really helpful!


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#2194 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAPh-JaNhq3y6ry0LXTc05USaOmso8YSks5qKBuhgaJpZM4IYa6S
.

@komalsrathi
Copy link
Author

If you create a public gist - or maybe create a repo if you prefer - and put up a link here, that would be great!

@wonger007
Copy link

Has that gist been created? I too am interested.

@donpatrice
Copy link

Did someone get this to work and would be so nice to share their experiences?

@gaborbernat
Copy link
Contributor

I did, does requires some modifications to the code. Will upstream it back over the next weeks, and also add documentation how to set it up.

@agjohnson
Copy link
Contributor

Doing house cleaning and I'm going to close this due to inactivity. The best option for connecting a repo like this is to use manual import. We won't support GHE on our community hosting either way, so it's probably best to just manage the webhook configuration manually and use a public repository on your GHE instance.

@gaborbernat
Copy link
Contributor

@agjohnson note you cannot link it manually without landing #3853.

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

No branches or pull requests

7 participants