Company:Sourcegraph

From HandWiki
Sourcegraph
TypePrivate
Industry
Founded2013; 11 years ago (2013)
FoundersQuinn Slack and Beyang Liu
Headquarters
San Francisco, California, U.S.
Products
  • Code Search
  • Code Navigation
  • Batch Changes
  • Code Insights
Number of employees
101-250 (2022).[1]
Websiteabout.sourcegraph.com

Sourcegraph, Inc. is a software company headquartered in San Francisco. Sourcegraph’s eponymous code search and code intelligence tool semantically indexes and analyzes large codebases so that developers can find, navigate, and understand code across commercial, open-source, local, and cloud-based repositories.[2] Sourcegraph supports all major programming languages.[3]

History

Stanford graduates Quinn Slack and Beyang Liu founded Sourcegraph in San Francisco, California, in 2013.[4][5]

Partly inspired by Liu’s experience using Google Code Search while he was a Google intern,[6] Sourcegraph was developed to “tackle the big code problem” by enabling developers to manage large codebases that span multiple repositories, programming languages, file formats, and projects.[7] The platform can be used to search and analyze all of an organization’s code.[5]

To begin with, Sourcegraph customers self-hosted the platform on their own infrastructure.[8] Early customers included Uber, Dropbox, and Lyft.[8][9]

Prior to 2016, Sourcegraph began indexing “hundreds of thousands” open-source repositories,[10] reporting in 2021 that they had indexed over 1,000,000.[11]

In 2016, Sourcegraph collaborated with technology licensing lawyer Heather Meeker to develop the Fair Source License,[12][13][6] announcing in May 2016 that “all of Sourcegraph’s source code is publicly available and hackable, under the Fair Source License.”[14] The license aimed to “help open sourcers strike a balance between getting paid and preserving their values,”[15] but came under fire for undermining open-source licensing.[16]

In 2018, Sourcegraph became an open-source project under the Apache License 2.0.[17][18] Sourcegraph has since released Sourcegraph OSS under the Apache License 2.0 and Sourcegraph Enterprise under its own license.[19]

In 2019, Sourcegraph integrated into the GitLab codebase, which gave GitLab users access to a browser-based developer platform.[20]

As of July 2021, some of Sourcegraph’s customers include Adidas, Cloudflare, Lyft, Uber, Yelp[21], Plaid, GE, Atlassian,[22] Amazon, PayPal, Qualtrics, and Cloudflare.[7]

Sourcegraph integrated its code search platform with cloud-based technology in August 2021, launching a browser-based portal that anyone can use to search open-source projects and personal private code for free.[8] Sourcegraph Cloud, a single-tenant cloud solution for organizations with over 100 developers, was launched in 2022, marking a shift in the company’s business model toward a SaaS model.[23][8]

In October 2022, Steve Yegge joined Sourcegraph as Head of Engineering.[24]

Applications

In research, Sourcegraph has been applied to develop data mining methods for downstream dependencies[25] and to aid in the refactoring and translation of a program into its equivalent in a different programming language.[26]

Sourcegraph is used in the CERN Accelerator Control software community to index code, quickly search through it, and create statistics.[27]

In cybersecurity, Sourcegraph has been used for better insights into source code during penetration tests.[28]

Services

The core Sourcegraph product has two versions:[29]

  • Sourcegraph Open Source (Sourcegraph OSS), which is free to use and only includes Sourcegraph’s universal code search functionality.
  • Sourcegraph Enterprise (previously Sourcegraph Data Center[17]), which includes the Sourcegraph code intelligence platform and has a free tier for a limited number of users.

Code can be searched and navigated from the Sourcegraph web UI or using browser and IDE extensions and text editor plugins.[2] Sourcegraph supports over 30 programming languages and integrates with GitHub and GitLab for code hosting, Codecov for code coverage, and Jira Software for project management.[21]

Code Search

Sourcegraph's "universal code search" tool is used to search, explore, and understand code.[4][30] Search can be implemented across multiple repositories and code hosting platforms. Search can be literal, regular expression, or structural. Structural search syntax is language-aware and handles nested expressions and multi-line statements better than regular expressions.[2] Sourcegraph's Code Search uses a variation of Google's PageRank algorithm to rank results by relevance.[31]

Code Navigation

Sourcegraph's Code Navigation feature can be used to jump to the definition of a variable or function, or find all references to it in a codebase.[2]

Batch Changes

Sourcegraph's Batch Changes feature allows developers and companies to automate and track large-scale code changes across repositories and code hosts.[32]

Code Insights

Sourcegraph's Code Insights feature extracts data from a codebase to provide detailed analytics and visualizations to track the state and progress of a code project.[33]

Growth

Sourcegraph has raised a total of almost $225 million in financing to date. Its most recent $125 million Series D investment in 2021 valued the company at $2.625 billion, a 300% growth from its previous valuation in 2020.[22]

Date Funding Type Money Raised (USD) No. of Investors Lead Investor
July 2021 Series D round 125,000,000[22] 4 Andreessen Horowitz
December 2020 Series C round 50,000,000[7] 1 Sequoia Capital
July 2020 Series B round 5,000,000[34] 1 Felicis Ventures
March 2020 Series B round 23,000,000[4] 3 Craft Ventures
October 2017 Series A round 20,000,000[35] 3 Goldcrest Capital, Redpoint

See also

References

  1. "Sourcegraph profile". https://www.crunchbase.com/organization/sourcegraph. 
  2. 2.0 2.1 2.2 2.3 Hoyt, Ben (2020-08-17). "Searching code with Sourcegraph". https://lwn.net/Articles/828748/. 
  3. Slack, Quinn (2019-02-08). "Announcing Sourcegraph 3.0". https://about.sourcegraph.com/blog/sourcegraph-3.0. 
  4. 4.0 4.1 4.2 Sawers, Paul (2020-03-03). "Sourcegraph raises $23 million to bring universal code search to all developers". https://venturebeat.com/business/sourcegraph-raises-23-million-to-bring-universal-code-search-to-all-developers/. 
  5. 5.0 5.1 Salter, Jim (2020-10-01). "Sourcegraph: Devs are managing 100x more code now than they did in 2010". https://arstechnica.com/gadgets/2020/10/sourcegraph-devs-are-managing-100x-more-code-now-than-they-did-in-2010/. 
  6. 6.0 6.1 Adam Stacoviak (2016-08-16). "Sourcegraph the 'Google for Code'". Changelog (Podcast). Retrieved 2022-11-21.
  7. 7.0 7.1 7.2 Sawers, Paul (2020-12-03). "Sourcegraph raises $50 million to tackle ‘big code’ problems with universal search". https://venturebeat.com/business/sourcegraph-raises-50-million-to-tackle-big-code-problems-with-universal-search/. 
  8. 8.0 8.1 8.2 8.3 Sawers, Paul (2021-08-19). "Sourcegraph plans to index the entire open source web" (in en-US). https://venturebeat.com/business/sourcegraph-plans-to-index-the-entire-open-source-web/. 
  9. Slack, Quinn (2022-09-27). "Sourcegraph Cloud: secure, scalable, dedicated instances for enterprises". https://about.sourcegraph.com/blog/enterprise-cloud. 
  10. Liu, Beyang (2016-05-30). "Google I/O talk: Building Sourcegraph, a large-scale code search & cross-reference engine in Go". https://about.sourcegraph.com/blog/google-i-o-talk-building-sourcegraph. 
  11. Liu, Beyang (2021-08-19). "Why we’re indexing the OSS universe". https://about.sourcegraph.com/blog/why-index-the-oss-universe. 
  12. Nadia Eghbal (2016). Roads and bridges. The Unseen labor behind our digital infrastructure (Report). pp. 94-95. http://brochures.sisalp.fr/roads-and-bridges-the-unseen-labor-behind-our-digital-infrastructure.pdf. Retrieved 2022-12-14. 
  13. "Fair Source License". https://fair.io/?a. 
  14. "The Sourcegraph developer release: A better way to discover and understand code" (in en). 2016-05-30. https://about.sourcegraph.com/blog/the-sourcegraph-developer-release-a-better-way-to-discover-and-understand-code. 
  15. Finley, Klint (2016-03-29). "One Startup's Heretical Plan to Turn Open Source Code Into Cash". https://www.wired.com/2016/03/former-open-sourcers-ask-companies-pay-fair-share/. 
  16. Asay, Matt (2016-04-01). "Fair Source licensing is the worst thing to happen to open source-definitely maybe". https://www.techrepublic.com/article/fair-source-licensing-is-the-worst-thing-to-happen-to-open-source-definitely-maybe/. 
  17. 17.0 17.1 Schmidt, Julia (2018-10-02). "Sourcegraph pulls back the curtain, becomes open source project". https://devclass.com/2018/10/02/sourcegraph-becomes-open-source-project/. 
  18. Steve Krouse (2019-10-24). "Basic Developer Human Rights: Quinn Slack". Future of Coding (Podcast). Retrieved 2022-11-21.
  19. "Licensing". https://handbook.sourcegraph.com/departments/engineering/product/process/gtm/licensing/#sts=Talking%20about%20license,%20plans,%20users. 
  20. "Native code intelligence is coming to GitLab" (in en). https://about.gitlab.com/blog/2019/11/12/sourcegraph-code-intelligence-integration-for-gitlab/. 
  21. 21.0 21.1 "Q&A: Sourcegraph’s Universal Code Search Tool" (in en). 2020-04-03. https://spectrum.ieee.org/sourcegraph-universal-code-search-tool. 
  22. 22.0 22.1 22.2 Miller, Ron (2021-07-13). "Sourcegraph raises $125M Series D on $2.6B valuation for universal code search tool" (in en-US). https://techcrunch.com/2021/07/13/sourcegraph-raises-125m-series-d-on-2-6b-valuation-for-universal-code-search-tool/. 
  23. Slack, Quinn (2022-08-27). "Sourcegraph Cloud: secure, scalable, dedicated instances for enterprises". https://about.sourcegraph.com/blog/enterprise-cloud. 
  24. Yegge, Steve (2022-10-04). "Steve Yegge joins as Head of Engineering (or, “Why I left retirement to join Sourcegraph”)". https://about.sourcegraph.com/blog/introducing-steve-yegge. 
  25. Thiede, Christoph; Limberger, Daniel; Scheibel, Willy; Döllner, Jürgen (2022), "Augmenting Library Development by Mining Usage Data from Downstream Dependencies", 17th International Conference on Evaluation of Novel Approaches to Software Engineering, ENASE, https://www.scitepress.org/PublicationsDetail.aspx?ID=cXF3UOIDuTY=&t=1 
  26. Haavisto, Juuso (2020). Leveraging APL and SPIR-V languages to write network functions to be deployed on Vulkan compatible GPUs (MSc). Université de Lorraine. Retrieved 2022-12-15.
  27. Voirin, R.; Vanden Eynden, M.; Oulevey, T. (2022). "The State of Containerization in CERN Accelerator Controls". JACoW ICALEPCS (2021): 829-834. doi:10.18429/JACoW-ICALEPCS2021-THBL03. https://cds.cern.ch/record/2809570. Retrieved 2022-12-15. 
  28. Rehberger, Johann (2020). Cybersecurity Attacks – Red Team Strategies: A practical guide to building a penetration testing program having homefield advantage. Packt Publishing Ltd. p. 216-224. ISBN 9781838825508. 
  29. "Sourcegraph Enterprise vs. Sourcegraph Open Source (Sourcegraph OSS)". https://handbook.sourcegraph.com/departments/ce-support/ce/onboarding/enterprise-vs-oss/. 
  30. Liu, Beyang (2020-01-15). "Sourcegraph: Universal code search and intelligence". https://www.infoworld.com/article/3514213/sourcegraph-universal-code-search-and-intelligence.html. 
  31. Yegge, Steve (2022-11-08). "Rethinking search results ranking on Sourcegraph.com". https://about.sourcegraph.com/blog/new-search-ranking. 
  32. Sawers, Paul (2021-03-24). "Sourcegraph now lets enterprises automate large-scale code changes across repositories" (in en-US). https://venturebeat.com/business/sourcegraph-now-lets-enterprises-automate-large-scale-code-changes-across-repositories/. 
  33. Sawers, Paul (2022-03-10). "With Code Insights, Sourcegraph gives developers a better understanding of their codebase" (in en-US). https://venturebeat.com/dev/with-code-insights-sourcegraph-gives-developers-a-better-understanding-of-their-codebase/. 
  34. "Sourcegraph Raises Additional $5M in Series B Funding". 2020-07-15. https://www.finsmes.com/2020/07/sourcegraph-raises-additional-5m-in-series-b-funding.html. 
  35. "Sourcegraph Raises $20M in Series A Funding". 2017-10-06. https://www.finsmes.com/2017/10/sourcegraph-raises-20m-in-series-a-funding.html.