GitHub's advanced search is okay, but the OpenGrok has some desirable features.
To use OpenGrok with GitHub hosted repo's will I have to:
Or is there another way?
That is the general idea, but:
2/ should be a full clone:
git clone --mirror https://github.com/user/repo
3/ can be triggered by a webhook: if you listen for the JSON payload they generate, you can then pull only where there is a push on the GitHub repo, and push back to your OpenGrok server.
Note: you might want to exclude pull refs (refs/pull/{id}
), that is the pull requests that GitHub stores in its Git repo.
There is a new service you can try
www.insight.io
it provides IDE-like code intelligence and allows you to import directly from github. Also it's web-based so you can practically visit it from anywhere.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With