Site admins can now force a specific user to re-authenticate on their next request or visit.Search
To define repository groups (
search.repositoryGroups in global, org, or user settings), you can now specify regular expressions in addition to single repository names.
Files and directories can now be excluded from search by adding the file
.sourcegraph/ignore to the root directory of a repository.
Structural search syntax now allows regular expressions in patterns. Also,
... can now be used in place of
Experimental: A new homepage UI for Sourcegraph Server shows the user their recent searches, repositories, files, and saved searches. It can be enabled with
Campaigns are enabled by default for all users. Site admins may view and create campaigns; everyone else may only view campaigns.Search
Negated content search is now also supported for unindexed repositories. Previously it was only supported for indexed repositories.Search
rev: is available as alternative syntax of
@ for searching revisions instead of the default branch
Sourcegraph now watches its configuration files (when using external files) and automatically applies the changes to Sourcegraph's configuration when they change. For example, this allows Sourcegraph to detect when a Kubernetes ConfigMap changes.
We are happy to announce that the Sourcegraph design team has grown from 0 to 3! 🎉 The early stages of a new team are full of changes and unexpected challenges. I would like to show you what our first months of working together looked like, what we have accomplished, and our plans for the future…Read more
Michael Stapelberg shares with us a multitude of experiences and contributions across the Go and Linux open-source communities. Highlights include creating the popular window manager i3, building Debian Code Search, and researching fast package management for Linux with distri. Thorsten Ball, author of Writing a Compiler in Go and Writing an Interpreter in Go, joins. The three of us talk about the importance of developer experience to open-source communities, how code search changes how you work, and how to decide when to build something new.
We (Sourcegraph's code intelligence team) recently made Go code intelligence faster, especially on very large repositories. For example, we cut the indexing time by 95% for the huge Go AWS SDK repository, from 8 minutes to 24 seconds. Here's how we did it. Background: what is code intelligence…Read more
Matt Holt is the author of many popular projects in the Go open-source world, among them the popular Caddy web server, which pioneered support for HTTP/2 and might still be the only major web server to support automatic TLS by default.
Matt talks about his motivations for creating Caddy, how the project grew and evolved over time, what it was like to do a complete rewrite from Caddy v1 to v2, and the challenges of maintaining a very popular open-source project. He also talks about his latest project, a TCP multiplexer called Project Conncept.
Thorsten Klein is the creator of k3d, a tool that lets you run a lightweight Kubernetes cluster (k3s) inside a single Docker container. This makes it much easier to spin up a Kubernetes cluster in places like your dev environment, your CI pipeline, or a low-resource environment like a Raspberry Pi.
Thorsten is a DevOps engineer at Trivago, where he works on developer experience for a team that maintains a set of bare-metal Kubernetes clusters. Dax McDonald, former engineer at Rancher Labs, joins. We chat about the ways in which developers are using k3d, the motivations and inspirations for writing it, and other tools we find useful in the Kubernetes ecosystem.
Faster indexed search queries over a large number of repositories. Searching 100k+ repositories is now ~400ms faster and uses much less memory.Repositories
The Sourcegraph CLI's new
src serve-git subcommand can serve local repositories for Sourcegraph to clone. This capability was previously provided by a separate tool called
You can exclude files containing a specific term with the
NOT operator in search queries. Requires
"search.migrateParser": true in settings. Currently only supported for literal and regexp queries on indexed repositories.
Saved search emails now include a link to the user's saved searches page.Admin
Password reset links will be emailed to newly created users when created by the site admin, instead of requiring the site admin to manually send the user the link.Repositories
Repository permissions are now always checked and updated asynchronously (in the background) instead of blocking each operation. The site config option
permissions.backgroundSync (which enabled this behavior in previous versions) is now a no-op and is deprecated.
Fixed an issue where duplicate search results would show for queries with
Campaigns can now be synced using GitLab webhooks.
Rijnard van Tonder is the creator of Comby, a pattern-matching syntax and command-line tool that offers a more expressive and more user-friendly alternative to regular expressions for many common patterns in code.
Rijnard earned his PhD from Carnegie Mellon University in 2019. In this podcast, we chat about the state of the art in static analysis and automated bug-fixing, new tools made in industry like Pyre and SapFix, and what place machine learning has in the world of developer tools.
Dan Bentley is the CEO and co-founder of Tilt, a company that's bringing order back to the dev environment in the age of microservices and Kubernetes. It features smart rebuilds, live updates, an easy-to-use CLI, and a beautiful GUI dashboard for staying on top of what's happening in your multi-service dev environment.
Prior to founding Tilt, Dan was the first full-time dev tools engineer at Google, where he worked on a variety of developer tools and infrastructure over his 11-year stint. We talk about what Google was like just before the IPO, the features he misses from Google Code, and several projects he worked on, among them a precursor to Google's famed Blaze (open-sourced now as Bazel) build system.
Yves Junqeira and John Ewart are co-founders of YourBase, a build and test runner service that accelerates testing and CI by understanding the implicit dependency graph of your builds. YourBase integrates with most major build tools and employs system call analysis and static language analysis to infer the build dependency structure without the need for manual configuration. It then uses this information to parallelize and cache builds, yielding significant performance improvements.
Yves and John reflect on their experiences working as SRE inside Google and SWE inside Amazon and how writing code is different inside these organizations, both compared to one another and to the rest of the world. They share lessons learned and advice for potential developer tool founders.
Our team has been hard at work continuing to improve Sourcegraph, so you can spend more time coding and less time trying to make sense of things. Sourcegraph 3.18 brings a solid lineup of new features and enhancements, including searching across multiple revisions at a time, GitLab support in…Read more
Often, you need to understand the differences between code at different branches (especially for release branches that have diverged). In Sourcegraph 3.18, you can now search across multiple revisions of the same repository by listing multiple branch names (or other revision specifiers) separated...Read more
Developers on some teams frequently search multiple revisions, such as long-lived release branches or important tags. We added version contexts in Sourcegraph 3.16 to make it easier for developers to search a collection of repositories at specified revisions. However, Sourcegraph still only indexed…Read more
As part of our ongoing effort to extend precise code intelligence to as many languages as possible, we’ve developed lsif-clang, a new LSIF indexer based on the clangd language server. This means that customers using C and C++ now have access to precise code intelligence. This improves on the work...Read more
We continue to make improvements to Sourcegraph’s out-of-the-box instrumentation and monitoring. You can now configure critical alerts to go to Slack, PagerDuty, Opsgenie, webhooks, or email, so it's easier than ever before to get notified about critical issues. Alerts are now delivered with…Read more
Sourcegraph.com now has custom search pages for major open source communities. These pages provide targeted documentation with suggested queries specifically for users and contributors in each community, and searches are scoped by default to repositories relevant to that community. This is a great…Read more
We've improved in-product documentation to clarify how Sourcegraph fetches data from code hosts. We heard from some first-time users that they were uncertain about how Sourcegraph would use access tokens and how much additional load Sourcegraph would put on code host servers. The new docs make it…Read more
Felicis Ventures has invested an additional $5M in Sourcegraph, bringing our total raised to over $46M, including our $23M Series B in March 2020 led by Craft Ventures. We're seeing rapid growth in the number of companies and developers using Sourcegraph, especially as the pandemic causes dev teams…Read more
If you write code on the modern web, it's almost certain that your life has been shaped significantly by Luke Hoban's work. Luke has worked on developer tools his entire career. He started out on Visual Studio, C#, and .NET in the early 2000s, later joined the ECMAScript standards body as a representative of Microsoft, and then became one of the co-founders of the TypeScript programming language. Today, he is the CTO of Pulumi, an infrastructure-as-code company that lets you write your deployment config as code in your favorite language.
Luke shares stories from the early days of TypeScript and talks about how it evolved from a two-man team to one of the most successful programming languages and open-source projects. We discuss important inflection points and design decisions that played a key role in TypeScript's runaway success. We also dive into the symbiotic relationship that TypeScript had with another early project just getting off the ground at the time: VS Code. Luke also shares his learnings from his stint at AWS, how his role at Pulumi combines his two passions for programming languages and cloud infrastructure, and how Pulumi brings the niceties of the IDE experience to an area that sorely needs it—infrastructure configuration management.
Evan's career has spanned many years up and down the software stack, from frontend UI development to infrastructure and ops. For the past five years, his focus has been developer tooling and infrastructure, having worked on these during his tenure at Uber during its hypergrowth years and now on the dev tools team at Segment, where his charter is to "empower the engineers of Segment with the tools to automate, optimize, and streamline their workflows." In this episode, he explains to Beyang what exactly that means, discussing Segment's use of technologies from the AWS ecosystem, the popular open-source secret management tool they created, ChatOps, and various Docker- and Kubernetes-based tools that are useful for managing the deployment of many microservices.
Charity Majors is the founder and CTO of Honeycomb, provider of observability tooling for modern engineering teams to build resilient production software that delights customers and reduces toil. Charity tells Beyang about how Honeycomb derives its definition of observability for software systems from its original definition in control theory, and how observability differs from monitoring and logging. She shares war stories from her time keeping systems online at Facebook and Parse, gives her predictions about how the landscape of observability and monitoring tools will evolve, and discusses how developer tools can make programming more accessible to everyone.
Ryan Djurovich is a DevOps manager at Xero and former manager of the DevTools team at Cloudflare. He shares with Quinn how he has seen the landscape of Continuous Integration and Delivery (CI/CD) tools change over the years, the three waves of CI/CD, and where he thinks testing and build tools are headed in the future.
Sourcegraph 3.17: Faster and automatic precise code intelligence, preview of code insights, and AND/OR queries for searching file contentsRead more
Read about how we used a memory and CPU profiler, creative thinking, and a lot of developer elbow grease to optimize our semantic code indexing system to give users twice-as-fast tooltips, go-to-definition, and references.Read more
We've spent a year building out the world's largest semantic code index using the Language Server Index Format (LSIF). Read about the technical journey, from MVP to scaling and optimizing the system to support large-scale codebases.Read more
David Cramer talks about creating Sentry as an open-source side project, maintaining it while working full-time at Dropbox, and ultimately growing it into today's leading application monitoring tool. We chat about the emergence of new computing platforms, his thoughts on what's truly new and what's just marketing-speak for old ideas, and how he sees the landscape of monitoring evolving in the future.
Welcome to the Sourcegraph Podcast, a new show about developer tools and their creators. Over the next couple of weeks, we'll be publishing conversations with people we think are some of the best and brightest minds working on tools and infrastructure for developers. Here's a partial lineup:
If you have ideas or suggestions for guests, hit us up on Twitter. We're speaking to an audience of developers who love leveling up their productivity and, perhaps, who also aspire to create great dev tools themselves. If that's you, then subscribe! We look forward to sharing some insightful conversations with you over the next few weeks.
Sourcegraph 3.16: Search past releases, get started with campaigns, and enjoy syntax highlighting improvementsRead more
So much of what we do as programmers boils down to automating the tedium out of our work. We'd like to spend our lives focusing on the design of beautiful abstractions and algorithms, but before we can get to that, we have to do the dirty work—and do it quickly. Whether you are a newbie or a…Read more
With many family homes now being an office (and perhaps a school as well), we wanted a new and novel approach for embracing the spirit of the United States' annual "Take Our Kids to Work" day. We love what we’ve come up with and hope you will too—a new digital children’s book titled "Our ABCs…Read more
Sourcegraph 3.15: Campaigns beta available, GitHub repository permissions, experimental AND/OR operators, and improved observabilityRead more
Sourcegraph transitioned from remote-first to all-remote early 2020. In this white paper, we share some tips and tricks on how to live your best distributed work life and a summary of why using Sourcegraph makes remote software development easier.Read more
At Sourcegraph we are working toward a long term goal of making code intelligence results both fast and precise. Today, Sourcegraph provides basic code intelligence for many languages using our search engine. It's fast, requires zero configuration, and covers many use cases, but the results are not…Read more
Universal Code Intelligence for GitHub means bringing code navigation features such as hover tooltips, go to definition, and find references to every code view and pull request, supporting every popular language, and all public and private repositories on both GitHub.com and GitHub Enterprise.Read more
On February 20, 2020, we officially moved out of our amazing San Francisco office and became an all-remote company. Few people have worked at an all-remote company before, and I frequently get questions—especially from candidates—about what led to this decision.Read more
I'm always curious to see other people's desks (who isn't?) to get a glimpse of their setup, and after seeing the home office desks of Basecamp, I immediately wanted to have the same collection for Sourcegraph. As an all-remote company, we only have home office setups and they range from "sparse"...Read more
With the GitLab native code intelligence integration from Sourcegraph, you can bring IDE-like features such as hover tooltips and go to definition to every GitLab code view. The below screencasts show you how to enable the Sourcegraph integration for both GitLab CE/EE and GitLab.com. Native code…Read more
Sourcegraph 3.14: Faster repository permissions, excluding forks and archived repositories by default, and Docker Compose deploymentRead more
Universal Code Search for GitLabRead more
Universal Code Search for GitHubRead more
Today is a big milestone for Sourcegraph. We've raised $23M in Series B funding, led by David Sacks at Craft Ventures. Our existing investors at Goldcrest, Redpoint, Hanover, and Burst also participated. We're excited to welcome David Sacks of Craft Ventures to our board of directors. David helped…Read more
Sourcegraph 3.13: Interactive search mode, structural search toggle, and campaigns with custom code executionRead more
We're introducing a new way to search code at Sourcegraph with structural code search. Structural code search lets you match nested expressions and whole code blocks that can be difficult or awkward to match using regular expressions. What is structural code search? Structural code search is the…Read more
Sourcegraph 3.12: Match case toggle, draft campaigns, and exciting experimental featuresRead more
Sourcegraph 3.11: Structural search, removed management console, language statistics, and NPM credentials campaignRead more
TypeScript and ECMAScript have some of the most beautiful constructs and syntaxes to do parallel, non-blocking programming—but unfortunately, only for standard APIs like fetch in the browser or file IO in Node. When implementing anything CPU-bound in TypeScript, offloading it into a different…Read more
Learn how Sourcegraph code search helped Lyft ensure (largely) issue-free production deploys during their monolith to microservices decompositionRead more
Code navigation helps you review code in GitHub pull requests more quickly and effectively. Hovers show you documentation and type information for symbols. Go to definition jumps you to where a function (or other symbol) is defined. Find references lists everywhere a function (or other symbol) is…Read more
Sourcegraph enables SoFi to innovate and move quickly while ensuring production stability for hundreds of microservices.Read more
Sourcegraph 3.10: Improved search autocompletion, native GitLab integration, and search and replace campaignsRead more
Check out the below video where Quinn sat down with GitLab CEO Sid Sijbrandij to discuss the native GitLab integration, and why Sourcegraph's code intelligence means better code reviews and improved code quality for GitLab Enterprise customers and open source projects on GitLab.com. Over 100,00…Read more
Since 2015, Convoy has quickly grown to over 500 employees. Sourcegraph helps them improve their developer on-boarding process.Read more
At Convoy, Sourcegraph is transforming how engineers and data scientists collaborate, resulting in greater efficiency and improved data integrity.Read more
“Trust is great. Control is better.” - German proverb In December 2017, Sourcegraph went from being a traditional cloud-hosted Software as a Service (SaaS) product to an on-premises, self-hosted product. This blog post covers what drove our decision and what challenges we encountered. It explains…Read more
Sourcegraph 3.9: Literal search by default, multi-project LSIF code intelligence, Grafana dashboards, and configurationRead more
Writing an LSIF IndexerRead more
Sourcegraph 3.8: Search UI improvements, monitoring tools, code change campaigns, and LSIF-based code intelligenceRead more
Sourcegraph is proud to be hosting the first ever liveblog for Strange Loop 2019, and we're looking for attendees to help contribute.Read more
Founded in 2006, Quantcast's engineering team had amassed thousands of repositories. Learn how after deploying Sourcegraph, Quantcast was able to do major refactors with confidence.Read more
Sourcegraph 3.7: Improved performance, efficiency, accuracy, and reliabilityRead more
Sourcegraph 3.6: Bitbucket Server plugin, search performance improvements, and quick linksRead more
Thorn builds technology to defend children from sexual abuse, helping law enforcement reduce investigation times by 60%, ensuring that more children are found, faster. Sourcegraph is helping Thorn with their mission, by making it safer to deprecate legacy applications—searching all repositories i...Read more
Sourcegraph 3.5: Powerful new search filters, improved configuration, and Bitbucket Server repository permissionsRead more
Sourcegraph is the standard developer platform for code search and navigation at many of the largest and most exacting technology companies. With Sourcegraph, every company can get access to the same kind of tools that Google and Facebook developers use every day. We're excited to announce…Read more
In this post, we'll explain how Sourcegraph code search can be used to report on the progress of upgrading CircleCI config files to the 2.0 format. CircleCI 2.0 officially came out of beta in July 2017, introducing a versioned config file () to replace the previous file. A likely scenario could be…Read more
Sourcegraph 3.3: Improving the user experience for site adminsRead more
Tooling has always been a focus for TypeScript and a large reason for its success. TypeScript code intelligence is available across many editors and even web-based tools, all provided by the same service TypeScript ships out-of-the-box with the compiler itself. This presentation gives a tour and…Read more
Sourcegraph 3.2: (Mostly) no new features - Improved stability, setup, and documentationRead more
Today, DigitalOcean released their new Marketplace, a platform for partners such as Sourcegraph to provide trusted, pre-configured Droplets that install in one-click and are ready in 60 seconds or less. What is Sourcegraph? Sourcegraph is a code search and intelligence tool for developers. It lets…Read more
Sourcegraph 3.1 releasedRead more
Sourcegraph 3.0 is now shipping! This release comes with HUGE improvements so you can search and navigate all your organization's code more quickly, with code intelligence (go-to-definition and find-references) for all languages. What is Sourcegraph? Sourcegraph is an open source, self-hosted, cr...Read more
Update: Sourcegraph 3.0 is now released. Beta instances should update now. We've removed the 3.0 beta announcement text here to avoid confusion, but you can view the original 3.0 beta announcement if needed.Read more
Improving language support in 2019Read more
New GraphQL Sourcegraph extensionRead more
Code intelligence for Java and PHP (and other experimental languages) will be temporarily unavailable for public code on Sourcegraph.com starting Friday, November 30, as we transition to a new, more extensible way of adding language support using Sourcegraph extensions. Only public code on…Read more
Source: https://xkcd.com/1205/ XKCD can teach us a lot about how the world works. The chart above — known as a sensitivity analysis in accounting and finance (or a in Microsoft Excel) — clearly illustrates how changes to independent variables or input assumptions can impact a final outcome. Simply…Read more
Announcing Sourcegraph 2.13 Sourcegraph 2.13 ships today, with several improvements: Indexed search option for single-node Docker container deployment to speed up searches (previously Enterprise-only, now free and open source) More ways to specify which GitHub and GitHub Enterprise repositories to…Read more
Our CEO @sqs (Quinn Slack) was on the Future of Coding podcast this week to talk about basic developer human rights, the Sourcegraph master plan, and the future of developer tools. As a developer, you have these questions you need answered: How do I do this thing in the code? Why is it built this…Read more
We are building the best code search and browsing tool for your team to help you write, review, and ship code better. Our mission is to bring the future sooner by bringing the best tools to developers everywhere. Our announcement this month that Sourcegraph is now open source is one way we will get…Read more
Do you use Vim and miss the powerful features for navigating your code that Sourcegraph gives you in your browser? Code intelligence in Sourcegraph is powered by language servers that implement the Language Server Protocol. This means you can install these language servers locally and get code…Read more
End-to-end tests are an important part of our testing infrastructure at Sourcegraph. At the top of the testing pyramid, their job is to ensure key user flows work properly from the user interacting with the browser all the way to backend services that work behind the scenes. However, they pose a…Read more
Our mission is to build the best code search and browsing tool for your team to help you write the highest quality software possible. Here’s new, what’s changed, and what’s fixed. Simplified browser extension configuration Deploy Sourcegraph to Kubernetes with plain YAML Webhooks for manual…Read more
Minimal version selection is an idea that Russ Cox proposed for how to resolve the dependencies of Go modules. When installing or updating dependencies, minimal version selection always selects the minimal (oldest) module version that satisfies the overall requirements of a build. Minimal version…Read more
Today was my first day back to work at Sourcegraph after my 3 1/2 months* long maternity leave. I consider myself lucky to be working at a company that is family friendly and has made my journey to parenthood much easier than expected. I decided to share some of the points I believe Sourcegraph and…Read more
Docker announced that the Docker Hub and Docker Store (backed by the same Docker Registry) will be down (totally offline) from 11:00 Pacific Time 25 August with 15-45 minutes (expected) downtime. You may be thinking “I use Kubernetes, doesn't this only affect people executing ? Well yes, but that...Read more
Sourcegraph's browser extensions for Chrome and Firefox are now open source in sourcegraph/sourcegraph. These popular browser extensions add code intelligence (hovers, go to definition, find references, find implementations, and soon much more) to every website where you read code — including Git...Read more
One of my favorite things about Sourcegraph is the fact that we are a team of developers building a product for developers. This means that everyone on the team has product intuition and can participate in planning what we are going to work on for our next release. Normally we spend time reviewing…Read more
We're working hard to build the best code search and browsing tool for your team, so you can write, review, and ship code better. In this month's release, we focused on improving the user experience and repository syncing for Sourcegraph's integrations with GitHub, GitHub Enterprise, Bitbucket…Read more
In Sourcegraph 2.9, we focused on improving the code search, rollout, and deployment experience for organizations with 100s and 1,000s of developers and repositories. We're building Sourcegraph to be the best way for developers to search and browse code, and we're thankful for all the feedback…Read more
At Sourcegraph, we’re building not only a great product for engineers, but also a great, inclusive company for engineers to be a part of. Over the last few months, we’ve been experimenting with our hiring process and wanted to share our experience so far. (Our last experiment was putting open roles…Read more
Update: Sourcegraph now uses Sourcegraph extensions for language support. This blog post has been removed to avoid confusion. We're still eager to sponsor people to build and improve open source, LSP-based language servers. Contact us if you're interested, either as a part-time effort or to join ...Read more
Sourcegraph 2.8 is out today, with support for more languages, huge monorepos, and more! Sourcegraph is a code search and intelligence tool that helps your team code more productively. With Sourcegraph, developers can find code examples, view references/callers, locate definitions, etc., across all…Read more
Having worked at GitHub and spent more time than is probably warranted tweaking my dotfiles, I consider myself a developer tools enthusiast. Recently, I found myself spending more and more of my free time smoothing out my development process, including hacking on auto-import for Haskell in VS Code…Read more
Sourcegraph 2.7 ships today, with tons of new features and improvements to help your team build better software. Get code intelligence in seconds with no setup, view diffs with code intelligence directly in Sourcegraph, and get more information when finding references. This release comes with many…Read more
Our product, Sourcegraph, lets software teams search and explore their code, so naturally we think a lot about how to help software teams ship better software faster. As we've grown, we've learned a lot from GitHub, Visual Studio Code, GitLab, and other teams who have shared their internal proces...Read more
Sourcegraph + Bitbucket Today, we're bringing fast, powerful code search to the thousands of development teams on Bitbucket Server. With Sourcegraph 2.6, we've built out native support for Bitbucket Server to make it easier to get code search across all your Bitbucket Server repositories. Follow…Read more
We’re excited to announce Sourcegraph 2.6, with tons of new features and improvements to help your team build better software. Search for and jump directly to symbols, search for the code you need more quickly, and set up Sourcegraph to search across all of your code--all available now. This rele...Read more
In Go, it is idiomatic to have explicit error handling. This means that many functions return an in addition to the expected result (e.g. strconv.ParseBool). Go code can also panic and recover, which is similar to throwing and catching exceptions in other languages. In Go, panic should be reserved…Read more
Monitor code changes with Google Alerts-style notifications, get code intelligence in reviews/PRs, and search over thousands of repositories in hundreds of milliseconds—all with Sourcegraph 2.5, shipping today. This release also includes other highly requested features, such as native GitLab supp...Read more
Sourcegraph 2.4 is here. It is now free for unlimited users and repositories, can be installed in minutes with a single command, and is easily configurable in the new web-based site admin. This release also includes many performance and bug fixes, plus a better interface for monitoring search…Read more
Search code over all of your company's repositories, save and reuse common search queries and scopes, and do it all more quickly with style. This release also includes previews of diff/commit search and author/date filters, which help you debug issues and find usage examples in your company’s code…Read more
Install Sourcegraph to get great code search on AWS CodeCommit Sourcegraph brings great code search and understanding abilities to development teams using AWS CodeCommit. Code search helps your engineering team find usage examples, debug errors, reuse existing libraries and packages, and understand…Read more
This is inspired by the classic essay Good Product Manager/Bad Product Manager. Great code search is so fast and relevant that you use it constantly while coding. It’s one of your top keybindings. Bad code search is slow and stale, and you only find it useful a few times per week. If you haven’t…Read more
We've been hard at work on improvements to Sourcegraph to give you great code search on your company's code. Here's what's new and improved: Code search: There is now a directory listing view with the last Git commit for each subdirectory and file. Query terms are now interpreted as regexps, not…Read more
Today, we're releasing more powerful code search on Sourcegraph.com and Sourcegraph. You can use operators such as repo: and file: to restrict your search to certain repositories and files (by regular expression match on their name). For example, repo:foo will restrict your query to repositories…Read more
Update: This blog post has been edited to remove references to outdated features. We’ve been hard at work on some major improvements to how you search, browse, and review code. Today we’re excited to announce several big new features. Introducing Sourcegraph Already used by many of our customers ...Read more
At Sourcegraph, we think you deserve code intelligence whenever you’re looking at code. So, when GitHub introduced embedded code snippets for GitHub issues, we quickly updated the Sourcegraph Chrome extension to add code intelligence to these snippets. Code intelligence on embedded code snippets…Read more
We’ve added a file tree to GitHub so that you can quickly explore an entire repository and jump between files without taking your hands off the keyboard.FileTree Get started by downloading the Sourcegraph for GitHub Chrome extension And then jump into a repository https://github.com/hootsuite…Read more
Liveblog by Matt KingSelection 012 Slides for this talk have been posted here. About The Speaker Marty Schoch is a Senior Software Engineer at Couchbase and the lead developer at Bleve, an open source full-text search library for Go. Overview Marty explores the internals of a high-performance key…Read more
Liveblog by Beyang Liu (@beyang) Alan Shreve is an hacker, entrepreneur and creator of ngrok.com. ngrok is the best way to connect expose services behind a NAT or firewall to the internet for demos, webhook development and IoT connectivity. Today, he's giving us a whirlwind tour of gRPC and how to…Read more
jp robinson JP Robinson, principal engineer at the New York Times, has "drunk Peter's koolaid" with respect to Go kit. github.com/NYTimes/gizmo adapts Go kit for use inside a production ecosystem with a bunch of existing legacy services. The NYTimes uses it across almost all their production Go…Read more
Faster, smoother GitHub code browsing with the updated Sourcegraph Chrome extension. We’re excited to announce more improvements to the Sourcegraph Chrome extension. More than 10,000 developers use it to browse and search code on GitHub with the power of an IDE. In addition to the new features…Read more
Pick your favorite Java repository and a revision and file at random (or try this one). Visit that file in Sourcegraph and within seconds, you can jump to definition (Ctrl/⌘-click), find all references (right click), search for symbols (Ctrl/⌘-p), and view usage examples drawn from other projects…Read more
Today, we announce general availability for Java on Sourcegraph. If you write Java, this means that you can now use Sourcegraph to: Explore code without losing your place in your editor Get IDE-like functionality to your code review tool Learn from usage examples drawn from across the open source…Read more
Update (September 20, 2017): Viewing a list of repositories that refer to another repository is currently disabled. It will be added back soon. Viewing function call sites across repositories is still supported. We’re excited to announce that Sourcegraph “used by” badges now support Java libraries…Read more
In-repository code search is now available in Sourcegraph. Simply click the magnifying glass icon above the file tree, type your search term, and click enter. Once you select a result, you’ll get full code intelligence, including our info panel whenever you click a method, variable or struct. In…Read more
Matt Holt is the creator of the popular Caddy Web Server. Caddy is called what it is because it acts like a compartment for all your server things. Most people use its HTTP server, but Caddy can also serve DNS, and there are a number of other plugins that extend Caddy’s functionality.1*dxC5SLwJzx…Read more
Today, we’re enabling Code Intelligence on Sourcegraph.com for Java projects that use Maven. Our preview release of Java means you can jump to definition, find references, and hover over for docs on many of your favorite Java repositories — all without configuring a single editor plugin or clonin...Read more
The problem of Code Intelligence and the need for an open standard Update: Part 2 of this series is now published. Sourcegraph lets you view any line of code in your web browser with all the navigation features of an IDE and more. That includes both classic abilities — like jump-to-definition, find…Read more
Making Code Intelligence “just work” In my last post, I introduced the Language Server Protocol as the open source protocol that we at Sourcegraph believe will enable a new set of developer tools powered by Code Intelligence. Code Intelligence, if you recall, is just shorthand for jump-to-def find…Read more
Update: See "Repository badges" in Sourcegraph documentation for the latest information about this feature.Read more
First, some background: Beyang and I have deep respect for how Google builds software. Beyang interned there, and I've worked with Googlers on many open source projects, including Chromium. What’s their secret? How are they so good? Ask any Google developer, and they’ll give much of the credit to…Read more
I have been fortunate in my career to work with some amazing founders and CEOs. Lloyd Tabb, Ben Porterfield, and Frank Bien at Looker are building the data platform that I have been craving since I started working in technology. Nat Friedman and Miguel de Icaza at Xamarin brought mobile development…Read more
(Note: if you want to skip the poetry and just check out the project, click here) Begin code review. Too many lines, what to do? Hmm. LGTM?Code review is tedious. there's a better way to review fast but ensure good code quality: One-click jump-to-def and hover over for docs. Save time and focus…Read more
What’s the best semantic and future-proof way to link to a piece of code? There's been some interesting discussion about the right way, and it’s something we think about a lot at Sourcegraph as we build a better way for developers to discover and understand code. The consensus is that when you’re…Read more
Today, we’re announcing a new edition of Sourcegraph that makes it even faster and easier to answer your everyday programming questions. If you code in Go, check it out now. If you use another language, sign up for the beta — we’ll have news for you in the next couple of weeks! If you’re new to…Read more
Lynn Langit, Cloud & Data Architect Director of Teaching Kids Programming (slides)1*3eFc2KNwHBjrHFpD vjbhA She tells the story of Matt, a fifth grade history teacher who wrote some bacon-related code in Swift Lynn’s daughter has been coding since age 8 and taught Matt how to code. Matt now teaches…Read more
About a month ago, Sourcegraph released Checkup, an open source, self-hosted uptime monitoring system written by Matt Holt. Following its release, a lot of people asked us how we were using Checkup at Sourcegraph. Today, we’re sharing our public status page, powered by Checkup, and laying out some…Read more
At Sourcegraph, we believe building for the future requires learning the lessons of the past. This is the first in a series of blog posts that cover historical anecdotes about software engineering that have inspired us as we build tools for the modern developer. We’re sharing these, because we th...Read more
It’s like a CPU profiler, but for your productivity rather than your machine’s Do you ever think about how to make yourself a more productive programmer? At Sourcegraph, this is a question we think about every day. Our entire mission is to make your life as a developer easier and more efficient…Read more
Andrey Petrov (@shazow) spoke at the Sourcegraph office about lessons learned from his successes and “many failures” (his phrase) creating open source projects. Andrey is author of the popular urllib3 library (explore urllib3 on Sourcegraph) and several other popular open source libraries. During…Read more
Today, Sourcegraph is excited to announce Checkup, a simple tool that lets you easily create distributed, self-hosted health checks and status pages.0*bR4H1dPKkhf6T-hC The Checkup status page works out of the box Monitoring uptime is a crucial part of running any web service. It lets you sleep well…Read more
From the very beginning at Sourcegraph, it’s been our goal to build a product so helpful that people could never go back to programming the old way. Sourcegraph helps developers discover and understand code, and to address such a complex need requires us to deeply understand our users. We’d like to…Read more
Juan Benet (@juanbenet) spoke at the Sourcegraph Hacker Meetup about his project, “IPFS: The Permanent Web” (slides and video). IPFS is a bold attempt at evolving the Internet’s infrastructure. Here’s how Juan describes it to Sourcegraph: IPFS is a global, versioned, peer-to-peer file system. It…Read more
There are many benefits to contributing to a popular open source project like Docker: You earn recognition for improving a project used by many people. You get to collaborate with other amazingly smart people in the open source community. You become a better programmer yourself through the process…Read more
Innovation fellow of the U.S. Digital Service, a.k.a. the “president’s startup.” His time as innovation fellow started in 2014, right around the time the conversation around law enforcement and Ferguson was coming to a tipping point. Big demand for better data around policing, especially with…Read more
Use Sourcegraph to discover and understand code better There's a gold mine of code available to programmers, but choosing the right library and understanding how to use it can be tricky. We created Sourcegraph, a fast, semantic code search and cross-reference engine, to help developers like you…Read more
This was originally a talk at Google I/O 2014. Check out the slides and YouTube video. Thanks to the Go team for inviting us! What is Sourcegraph? Sourcegraph is a large-scale, multi-language code search and cross-reference engine that indexes hundreds of thousands of open source repositories…Read more
Wouldn't it be awesome if you could review, browse, and search code on GitHub as though you were in an IDE, with jump-to-definition, doc tooltips, and cross-references? We think so. That’s why we built the Sourcegraph Chrome extension for GitHub. Update (June 22, 2016): Added support for pull…Read more
Building software is hard. We hosted a casual dinner here at the Sourcegraph office in downtown San Francisco for ten developers from leading startup software teams. At the dinner, the teams shared a behind-the-scenes look at their processes (and frustrations): testing, deployment, and code reviews…Read more
Today we’re excited to announce a step toward giving every team the power to build better software — the developer release of Sourcegraph, the fast, semantic code search and cross-reference engine. As developers, we always wanted a better way to discover and understand code: Why can’t your code h...Read more
We invited ten developers from leading tech startups around the Bay Area to join us for an “off-the-record” dinner to discuss the practice of code review (and what we want in an ideal code review process). Below is a wrap-up of the salient points from our dinner. Given the off-the-record nature of…Read more
Every developer knows they should instrument their app to identify perf bottlenecks, but it’s hard to actually get around to doing it — especially when you’re focused on shipping the latest and greatest features of your site.0*jXkIPsoJBjXY80cs Today we’re announcing Appdash, an open source multi…Read more
Can a policy that banks use to combat insider fraud also make tech companies produce better products and happier employees? Sure. At Sourcegraph, our mandatory vacation policy requires everyone to completely disconnect from work for at least 2 weeks each year — no exceptions.0*oDIH90jQ4ZzUANWM Ph...Read more
Do you use the best tools money can buy? We ask ourselves that a lot at Sourcegraph. It’s one of the questions in The Joel Test, Joel Spolsky’s classic 12-question benchmark of your team’s software engineering practices. Since he published the test in 2000, the “best tools money can buy” have…Read more