strings: the Sourcegraph blog

A collection of characters, stories, and other elements

Universal Code Search for GitLab

Ryan Blunden on

Sourcegraph Universal Code Search enables developers to explore and better understand all code, faster, with contextual code intelligence.

This screencast (with accompanying audio) shows how to connect and configure Sourcegraph Universal Code Search for public and private repositories on GitLab CE/EE instances.

In addition to configuring the Sourcegraph-GitLab connection, the screencast discusses important factors for determining which repositories Sourcegraph will index, such as excluding archived and forked repositories, and optionally excluding repositories based on naming patterns (e.g., deploy-).

See the Sourcegraph GitLab documentation for full configuration options, including enabling repository permissions.

The Python script used to generate the list of repositories to ignore is available as a GitLab Snippet.