By Jamie Wilson on June 29, 2017
Update (January 2018): Sourcegraph Server is a free, self-hosted code search server that integrates with your code host and supports multi-repository, regexp, and diff searches.
We've heard from many developers who want to use Sourcegraph to search and navigate their team's private code but who have only been able to use Sourcegraph on open source because of their company’s policies regarding GitHub authentication.
Today we're happy to announce the solution to these concerns. Sourcegraph now supports GitHub's new granular authorization model, so you (or your team admin) can manage Sourcegraph for your whole team, grant read-only access to Sourcegraph, and choose which repositories will be accessible on Sourcegraph.
If you're an engineering manager or admin and want to give your team access to Sourcegraph:
You’ll be able to authenticate only the repositories you need to—and without write access! And you can authenticate once on behalf of your entire team. To install Sourcegraph:
Now every team member who signs up will automatically be able to use Sourcegraph on all of your organization’s repositories they can access (according to the permissions you’ve already set in GitHub).
If you are a developer who wants to use Sourcegraph to search and navigate your company's code:
It’s easier than before to get your organization’s GitHub admin to approve access. Just follow these steps:
If you’ve previously authenticated private repositories, you’ll need to follow these steps again.
And if you want to run Sourcegraph on your own network, get Sourcegraph Server.
Special thanks to GitHub for listening to our feedback and making these improvements so developers on many more teams can use Sourcegraph on their private code.