Hacker News new | ask | show | jobs
by bastardoperator 1352 days ago
How does sourcegraph compare to the new/beta https://cs.github.com?
2 comments

* Full code intelligence platform (not just code search) with Code Insights for tracking trends (https://about.sourcegraph.com/code-insights) and Batch Changes for large-scale refactors (https://about.sourcegraph.com/batch-changes)

* Precise code navigation (vs. more fuzzy-level nav), powered by SCIP (spiritual successor to Grok, the system Steve built at Google)

* More powerful search language beyond regex (supports comby.dev) + user-friendly (smart search)

* Works across multiple GitHub instances + other code hosts (GitLab, Bitbucket, Perforce, enterprise Git repositories)

* Self-hosted deployment and enterprise scale

cs.github.com is a significant improvement over github.com/search—kudos to the team there!—but is about feature parity with something like OpenGrok, Hound, or Google Code Search before Steve built and integrated Grok (primarily cross-codebase regex search).

> cs.github.com is a significant improvement over github.com/search It's a significant improvement, but still frustrating to use (especially after being spoiled by Google's codesearch). Sourcegraph has been far more pleasant to use in my experience (e.g., faster and more relevant navigation).
We index other code hosts besides just GH.

Rust Dependencies (crates.io) Python Dependencies (PyPI) Go Dependencies NPM Dependencies src.fedoraproject.org JVM Dependencies GitLab.com GitHub Public

and as of yesterday Savannah/GNU - https://github.com/sourcegraph/community/issues/38

More to come.

How can I search PyPI? It's not listed at https://sourcegraph.com/contexts with the other repositories.
We need to make that more clear. Right now we only index ~4.6k packages:

https://sourcegraph.com/search?q=context:global+repo:%5Epyth...

Adding to my list: https://github.com/sourcegraph/community/issues/36

I'm trying to figure out if Sourcegraph requires git and it's not clear to me. I saw a page about non-git code hosts but it looks like it still builds a git repository to mirror the actual repository. Is that correct?
I'm the manager for the team that owns our code host integrations. You're correct that we support non-git code hosts via a conversion to git.

We're currently exploring what it means to support non-git VCSs natively in Sourcegraph, but we're not there yet.