Code AI platform with Code Search & Cody
Go to file
Keegan Carruthers-Smith 442237c812
extsvc: allow disabling github-proxy via empty GITHUB_BASE_URL (#46311)
This also fixes a panic if someone puts in a bad value for
GITHUB_BASE_URL. If that happens the logs will be spammed with the parse
error like before, but won't be followed by a panic.

Test Plan: go test and running single binary with an empty
GITHUB_BASE_URL.
2023-01-11 12:14:58 +02:00
.aspect bazel: add client/testing to workspace (#45967) 2022-12-25 22:17:19 -08:00
.buildkite observability: disable ci log upload and add disabled notice for log upload (#44271) 2022-11-11 11:38:06 +00:00
.github chore: update GitHub information for IAM and Repo Management teams. (#45971) 2022-12-26 18:18:56 +04:00
.vscode use prettier for formatOnSave for consistency with ci (#45504) 2022-12-09 23:02:24 -08:00
.yarn workflows: bump license_finder to v7.0.1 (#43787) 2022-11-03 11:27:06 +02:00
client Wildcard: Fix combobox ui (#46294) 2023-01-10 18:54:01 -03:00
cmd endpoint: allow empty Maps to disable Zoekt (#46280) 2023-01-11 10:32:58 +02:00
dev ci: Fix main by referring to correct casing (#46305) 2023-01-10 17:17:23 -08:00
doc Better Link in k8s https config (#46005) 2023-01-10 19:50:08 -06:00
docker-images prom-wrapper: migrate to sourcegraph/log (#46296) 2023-01-10 15:14:04 -08:00
enterprise codeintel: Fix SCIP implementations (#46297) 2023-01-11 01:46:27 +00:00
internal extsvc: allow disabling github-proxy via empty GITHUB_BASE_URL (#46311) 2023-01-11 12:14:58 +02:00
lib codeintel: dont swallow errors in upload retry mechanism (#46281) 2023-01-10 14:53:49 +00:00
migrations repos: log corruption events per repo (#45667) 2023-01-09 17:24:32 +02:00
monitoring monitoring: export (*Dashboard).RenderPrometheusRules() (#46292) 2023-01-10 13:22:05 -08:00
schema map host.docker.internal in executors to the Docker host (#45794) 2023-01-09 17:05:46 -07:00
third-party-licenses all: entirely remove minio support (#45311) 2022-12-06 18:02:43 -07:00
ui/assets remove extension registry UI and related GraphQL API (#45891) 2022-12-22 00:10:56 -08:00
.bazelignore web: merge the search package into shared (#45949) 2022-12-25 20:23:54 -08:00
.bazelrc Initial Bazel Setup (#45052) 2022-12-02 12:57:14 +01:00
.bazelversion Initial Bazel Setup (#45052) 2022-12-02 12:57:14 +01:00
.browserslistrc Performance: Update browserslist and drop broken Safari 13 support (#39349) 2022-08-10 11:02:32 +01:00
.dockerignore symbols: Build in Docker (#34335) 2022-04-25 16:03:55 -06:00
.editorconfig chore: Add .lua to editorconfig. (#44267) 2022-11-11 15:25:32 +08:00
.eslintignore vscode: create integration test harness (#33921) 2022-04-22 09:54:35 -04:00
.eslintrc.js Fix auto scroll logic between blob view and reference panel (#45943) 2023-01-03 12:16:43 -03:00
.gitattributes chore: Fix pattern in .gitattributes to match mock files. (#44331) 2022-11-14 10:45:28 +08:00
.gitignore ci: cache golangci-lint cache across builds (#46043) 2023-01-06 13:31:15 +00:00
.golangci-warn.yml Update linter script: re-add go "unused" linter but do not fail builds (#46039) 2023-01-06 12:24:44 +01:00
.golangci.yml Update linter script: re-add go "unused" linter but do not fail builds (#46039) 2023-01-06 12:24:44 +01:00
.graphqlrc.yml Support multiple GraphQL schema files (#20077) 2021-04-19 14:35:49 +02:00
.hadolint.yaml bump comby version to 1.7.1 (#35830) 2022-05-20 20:12:01 -07:00
.mailmap mailmap: update replacements for Joe (#29614) 2022-01-12 10:56:56 +08:00
.mocharc.js Revert "regression-tests: update custom mocha reporter to exit rather… (#41542) 2022-09-08 19:48:01 +00:00
.npmrc Initial Bazel Setup (#45052) 2022-12-02 12:57:14 +01:00
.percy.yml Update browser extention installation detection logic on web (#32449) 2022-03-14 23:29:39 +06:00
.prettierignore codeintel: Fix test database at revision for oobmigrations (#46141) 2023-01-05 16:27:31 -06:00
.stylelintignore web: named Webpack chunks (#39481) 2022-07-28 20:22:05 -07:00
.stylelintrc.json web: drop bootstrap depenedency (#41401) 2022-09-07 03:11:26 -07:00
.tool-versions asdf: update to Ruby 3.1.3 (#45388) 2022-12-07 20:16:54 -08:00
.trivyignore ci: ignore benign CVE-2021-43816 in prometheus (#31069) 2022-02-11 16:49:10 +00:00
.yarnrc.yml workflows: bump license_finder to v7.0.1 (#43787) 2022-11-03 11:27:06 +02:00
babel.config.js Add pagination to saved searches pages (#45705) 2023-01-05 21:11:42 +05:30
BUILD.bazel bazel - build client/common + client/extension-api-types (#45689) 2022-12-15 11:58:45 +01:00
CHANGELOG.md batches: fix currentSpec resolution when batch change has no spec applied (#46237) 2023-01-10 11:12:28 -08:00
CONTRIBUTING.md Docs: Fix docs page link in main CONTRIBUTING.md (#45160) 2022-12-05 14:57:45 +01:00
doc.go
flake.lock nix: migrate to Nix Flakes (#43668) 2022-10-31 15:08:06 +00:00
flake.nix nix: add p4-fusion building (#44588) 2022-11-23 16:06:28 +00:00
gen.go chore: Update go-mockgen (#44305) 2022-11-11 19:24:00 +00:00
go.mod zoekt: default to eager runeDocSection (#46245) 2023-01-09 21:10:17 +02:00
go.sum zoekt: default to eager runeDocSection (#46245) 2023-01-09 21:10:17 +02:00
graphql-schema-linter.config.js Support multiple GraphQL schema files (#20077) 2021-04-19 14:35:49 +02:00
gulpfile.js web: drop legacy GraphQL schema generator (#45945) 2022-12-25 18:10:20 -08:00
jest.config.base.js Add pagination to saved searches pages (#45705) 2023-01-05 21:11:42 +05:30
jest.config.js tests: use glob for jest projects field (#29681) 2022-01-13 01:11:52 -08:00
LICENSE update licensing language (#25620) 2021-10-04 15:40:59 +01:00
LICENSE.apache Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
LICENSE.enterprise
lighthouserc.js Lighthouse: Fix protocol_timeout (#27565) 2021-12-10 15:56:16 +00:00
mockgen.temp.yaml authz: Move sub-repo perms to enterprise (#45659) 2022-12-28 10:44:07 +02:00
mockgen.test.yaml insights: run a backfill based on an insight's repository criteria (#45779) 2022-12-19 11:52:51 +01:00
mockgen.yaml mocks: Reorganize mock definitions into multiple files (#36967) 2022-06-27 20:59:16 +00:00
package.json Add more clarity to the LastSyncIcon (#46223) 2023-01-10 12:49:25 -05:00
pnpm-lock.yaml bazel: add client/testing to workspace (#45967) 2022-12-25 22:17:19 -08:00
pnpm-workspace.yaml bazel: generate graphql operation interfaces, css module typings (#45756) 2022-12-20 19:11:09 -08:00
postcss.config.js extensibility: add featured extensions to registry (#21665) 2021-06-10 13:55:20 -04:00
prettier.config.js
README.md docs/update add GCE custom image deployment type (#42911) 2022-10-21 10:23:57 -07:00
renovate.json chore: add test plans to bot and release tool PRs (#31351) 2022-02-22 07:53:25 -08:00
SECURITY.md consolidate security policy (#7906) 2020-01-21 10:03:11 -08:00
sg.config.yaml authz: Move sub-repo perms to enterprise (#45659) 2022-12-28 10:44:07 +02:00
shell.nix nix: migrate to Nix Flakes (#43668) 2022-10-31 15:08:06 +00:00
svgo.config.js Performance: Optimize static SVG assets with SVGO (#26285) 2021-10-27 15:27:36 +01:00
tsconfig.all.json web: merge the search package into shared (#45949) 2022-12-25 20:23:54 -08:00
tsconfig.bazel.json bazel - build client/common + client/extension-api-types (#45689) 2022-12-15 11:58:45 +01:00
tsconfig.eslint.json web: upgrade prettier to the latest version to support TS satisfies operator (#45400) 2022-12-08 02:37:23 -08:00
tsconfig.json fuzzy finder: join shortcut segments with + on Linux+Windows (#44150) 2022-12-09 15:07:46 +00:00
WORKSPACE bazel: add client/testing to workspace (#45967) 2022-12-25 22:17:19 -08:00
yarn.lock Add more clarity to the LastSyncIcon (#46223) 2023-01-10 12:49:25 -05:00

Sourcegraph 4.0

DocsContributingTwitter

Build status Scorecard Latest release Discord Contributors


Understand, fix, and automate across your codebase with Sourcegraph's code intelligence platform

 


4.0 Features

  • Understand usage and search structure with high-level aggregations of search results
  • A faster, simpler search experience
  • Configure precise code navigation for 9 languages (Ruby, Rust, Go, Java, Scala, Kotlin, Python, TypeScript, JavaScript) in a matter of minutes with auto-indexing
  • Your favorite extensions are now available by default
  • Quickly access answers within your codebase with a revamped reference panel

🏗️ High-leverage ways to improve your entire codebase

  • Make changes across all of your codebase at enterprise scale with server-side Batch Changes (beta)
    • Run large-scale or resource-intensive batch changes without clogging your local machine
    • Run large batch changes quickly by distributing them across an autoscaled pool of compute instances
    • Get a better debugging experience with the streaming of logs directly into Sourcegraph.

☁️ Dedicated Sourcegraph Cloud instances for enterprise

  • Sourcegraph Cloud now offers dedicated, single-tenant instances of Sourcegraph

📈 Advanced admin capabilities

  • Save time upgrading to Sourcegraph 4.0 with multi-version upgrades
  • View usage and measure the value of our platform with new and enhanced in-product analytics
  • Uncover developer time saved using Browser and IDE extensions
  • Easily export traces using OpenTelemetry
  • Quickly see the status on your repository and permissions syncing
  • Measure precise code navigation coverage with an enhanced analytics dashboard

Deploy Sourcegraph

Self-hosted

Local machine

Development

Refer to the Developing Sourcegraph guide to get started.

Documentation

The doc directory has additional documentation for developing and understanding Sourcegraph:

License

This repository contains both OSS-licensed and non-OSS-licensed files. We maintain one repository rather than two separate repositories mainly for development convenience.

All files in the enterprise and client/web/src/enterprise fall under LICENSE.enterprise.

The remaining files fall under the Apache 2 license. Sourcegraph OSS is built only from the Apache-licensed files in this repository.