Why should we use this instead of the github search (for our private repos) ?
Personally, I find it to be absolutely horrendous. It’s so much faster to clone the repo and search it locally.
11–20 of 89 posts
Why should we use this instead of the github search (for our private repos) ?
Personally, I find it to be absolutely horrendous. It’s so much faster to clone the repo and search it locally.
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?
The source code is not public for this version. I think that source-available but non-open-source licenses are an idea ahead of their time when applied to user-facing software like Sourcegraph. I hope that changes, and we'd love to make Sourcegraph source-available again, but it actually introduced (rather than eliminated) questions in the process of companies adopting Sourcegraph. I'll probably blog about this soon because it's something I care about a lot.
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.
I expected email notifications but all I managed to do was to add the saved queries on the home page. Am I missing something?
Why should we use this instead of the github search (for our private repos) ?
- Regular expression searches
- Exact searches (no ignoring punctuation, for example)
- Searches on any commit or branch, not just recently indexed master
- Diff searches (see https://about.sourcegraph.com/blog/introducing-sourcegraph-s...)
- Overall faster, more powerful searches and filtering capabilities
- Code intelligence (go-to-definition, find-references, hovers, etc.)
Not everyone needs these things. But users who do need them say that they save a lot of time and make them more productive.
At Google, for example, they have a similarly advanced internal code search system that developers love (see https://static.googleusercontent.com/media/research.google.c... and https://docs.google.com/document/d/1LQxLk4E3lrb3fIsVKlANu_pU... for research/numbers).
If your needs are met by GitHub's search, then I would still suggest using the Sourcegraph Chrome extension (also available for Firefox), which adds code intelligence to code you view on GitHub: https://chrome.google.com/webstore/detail/sourcegraph-for-gi....
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.
> Google Alerts-style search monitoring I expected email notifications but all I managed to do was to add the saved queries on the home page. Am I missing something?
The homepage does show a nice sparkline and results summary, though. Easy to see at a glance if new secret keys, deps, etc., are added to your repositories if you set up the queries.
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?
Yes, Sourcegraph supports GitLab repositories! Check out https://about.sourcegraph.com/docs/server/config/repositorie... and the section right below for auth. You'll need to add and authenticate them one-by-one in the config. Soon we'll be add direct GitLab integration like we have for GitHub and GitHub Enterprise, which will sync all (or selected) repositories using the GitLab API. The source code is not public for…
Yes, please! I have seen your videos and read a lot about your thoughts on this subject.
Another question, if you don't mind: does sourcegraph have a forum or irc/slack? A quick search for sourcegraph+slack ends up finding many hits.. for your name, lol.
Earlier quoted context omitted.
Yes, Sourcegraph supports GitLab repositories! Check out https://about.sourcegraph.com/docs/server/config/repositorie... and the section right below for auth. You'll need to add and authenticate them one-by-one in the config. Soon we'll be add direct GitLab integration like we have for GitHub and GitHub Enterprise, which will sync all (or selected) repositories using the GitLab API. The source code is not public for…
> I'll probably blog about this soon because it's something I care about a lot. Yes, please! I have seen your videos and read a lot about your thoughts on this subject. Another question, if you don't mind: does sourcegraph have a forum or irc/slack? A quick search for sourcegraph+slack ends up finding many hits.. for your name, lol.
And yeah, my last name being Slack does create some confusing moments sometimes. :)
Why should we use this instead of the github search (for our private repos) ?
Our users prefer Sourcegraph over GitHub for code search for multiple reasons: - Regular expression searches - Exact searches (no ignoring punctuation, for example) - Searches on any commit or branch, not just recently indexed master - Diff searches (see https://about.sourcegraph.com/blog/introducing-sourcegraph-s... ) - Overall faster, more powerful searches and filtering capabilities - Code intelligence (go-to-defi…
Earlier quoted context omitted.
Our users prefer Sourcegraph over GitHub for code search for multiple reasons: - Regular expression searches - Exact searches (no ignoring punctuation, for example) - Searches on any commit or branch, not just recently indexed master - Diff searches (see https://about.sourcegraph.com/blog/introducing-sourcegraph-s... ) - Overall faster, more powerful searches and filtering capabilities - Code intelligence (go-to-defi…
Is code intelligence a paid upgrade for all languages?
But you can try/use it for free on open-source projects using our Chrome extension (to get it on code you view on GitHub) at https://chrome.google.com/webstore/detail/sourcegraph-for-gi... or on our public site directly at https://sourcegraph.com/github.com/gorilla/websocket/-/blob/... (for example).