-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Broken GitHub Integration? #2335
Comments
I am also facing the same issue. In my situation, the GitHub integration would authenticate and do the initial sync. However, after I close the GitBook tab and open the integrations page, it shows "errors" in the repository linking dropdown box. Later, when I edit something in GitBook, it would sync with GitHub. However, if I edit something in GitHub, it will not sync back with GitBook until manually start the sync again. Sometimes it would only sync my commits, but if anyone else had made a commit to the documents section, then it would not sync back to GitBook at all. It would be helpful to know how does the GitHub integration actually work, like if I commit something on GitHub, would the GitBook bot immediately pick up that commit and sync it back to the GitBook end; or would it periodically scan for new commits and then sync? The reason is that I'd like my sync to happen immediately when someone makes a commit. My group and I deal with time-sensitive academic matters that get updated periodically, and the delay in sync would and could cause someone to do the wrong thing, even if the mistake has been corrected or a new edit has been pushed. I wouldn't want any person to believe that they have been misled. I hope you do understand. And one more thing, GitBook doesn't need to import the entire repository back into GitBook when syncing with GitHub. I guess it should just scan for new commits and then import only that commit back into GitBook. The reason why I'm suggesting this is that my sync (when it works) keeps getting slower and slower every time the repository gets larger and larger. The documentation on the GitBook public site does not explain how the sync works. It just mentions the steps to set it up and some general details. It would easier for us to diagnose or see if we had made any mistake to configure this GitBook-GitHub bidirectional sync. I would also like to know if there are any rate limits for the bi-directional sync. Hope you do understand. |
Hi @SugeethJSA - thanks for the detailed description. To answer your question, any Pull Requests or commits made into the This works by the GitBook app existing within the organization of the repository being used. Do you have this app installed in your organization? https://github.com/marketplace/gitbook-com |
Yeah, did all that. But I guess the sync is still not working. |
If you can reach out to support (@) gitbook.com we can help you look into it for your specific case! |
Yeah, did it, @addisonschultz . Turns out that the bidirectional sync wasn't working due to a cache of an older sync that hadn't been cleared yet. Thankfully, this cache was cleared by the support team. |
Bug description
On the hosted version of GitBook (available at https://app.gitbook.com/), I seemingly can't sync
with GitBook.
Please describe.
If this affects the front-end, screenshots would be of great help.
How to reproduce
Additional context
The text was updated successfully, but these errors were encountered: