Sourcegraph Server 2.4: free, powerful search for private code

by azmenakon 1/10/2018, 10:27 PMwith 82 comments

by hanwennon 1/11/2018, 1:08 PM

For people interested in searching code using an open source solution, you might be interested in Zoekt too, github.com/google/zoekt.

There is a demo site where you can search 30G of source code (including the Linux kernel, Android and Chrome) supporting regular expressions, and file name search:

https://cs.bazel.build/?q=%20

For example, https://cs.bazel.build/search?q=+r%3Atorvalds+craz%5Byi%5D&n... looks for craz[iy] across the Linux kernel.

by sqson 1/10/2018, 10:31 PM

Sourcegraph CEO here. Thanks for this post. We packed a lot of stuff into 2.4: faster, more powerful code search, Google Alerts-style search monitoring, diff searches, and more.

It’s now free on a single server for any number of users and repositories.

Happy to answer questions here.

by mikevmon 1/11/2018, 12:12 PM

How does this differ from OpenGrok https://oracle.github.io/opengrok/ ?

by the_common_manon 1/10/2018, 11:53 PM

Very cool, will give it a try later for our gitlab repos. Is gitlab supported?

Also, I cannot find the code for sourcegraph on github. It used to be available under a fair source license. Anyone have a link to the code?

by ausjkeon 1/11/2018, 3:49 AM

does it support gitea? gitea has become my sole self-hosted git repository portal, lightweight comparing to gitlab and get the job done super well.

by tomalphaon 1/11/2018, 8:35 AM

Do you have any plans to add more languages to code intelligence? (Particularly C and C++)

by orsenthilon 1/11/2018, 12:04 AM

Why should we use this instead of the github search (for our private repos) ?

by hetohon 1/11/2018, 12:30 AM

What is the License for the free install ? MIT/BSD/Apache ?

by alkonauton 1/11/2018, 11:08 AM

Which version control systems are supported?