Code AI platform with Code Search & Cody
Go to file
Greg Magolan e4149d55dc
chore: update to Aspect CLI 5.2.1 (#48798)
Fixes regresion in 5.2.0 for detecting the workspace & finding
.bazelversion.

Test plan: CI & local testing



## Test plan

<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->
2023-03-07 10:13:33 +01:00
.aspect chore: update to Aspect CLI 5.2.0 (#48743) 2023-03-06 17:37:16 +01:00
.buildkite bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
.github chore: fix issue mover Action (#48744) 2023-03-06 17:43:02 +01:00
.vscode vscode settings: fix jest extension (#47217) 2023-01-31 09:56:43 -08:00
client [fix] repositories admin page code host filter not adhering to URL query params (#48745) 2023-03-07 08:48:08 +01:00
cmd graphqlbackend: remove parameter gore in NewSchema (#48755) 2023-03-07 08:45:44 +02:00
dev release-tool: automate in app batch changes changelog constants, refactor release sequence to consolidate baking steps (#48656) 2023-03-06 16:11:12 -07:00
doc remove code host native tooltip toggle, hover alerts, command palette, notifs (#48688) 2023-03-06 20:36:18 -08:00
docker-images Highlighting: add Ruby and Python tree-sitter support (#48672) 2023-03-06 17:48:01 +08:00
enterprise graphqlbackend: remove parameter gore in NewSchema (#48755) 2023-03-07 08:45:44 +02:00
internal Repo syncing: ingest topics as metadata (#47635) 2023-03-06 22:28:09 -07:00
lib codeintel: Unblock auto-indexing experience frontend (#48770) 2023-03-06 16:09:43 -06:00
migrations chore: Remove unused lockfiles tables (#48673) 2023-03-06 17:52:55 +00:00
monitoring monitoring: add repo cnt to dashboard (#48653) 2023-03-03 21:12:13 +00:00
schema remove code host native tooltip toggle, hover alerts, command palette, notifs (#48688) 2023-03-06 20:36:18 -08:00
third_party bazel: update buildfiles (#47744) 2023-02-16 16:32:59 +01:00
third-party-licenses remove code host native tooltip toggle, hover alerts, command palette, notifs (#48688) 2023-03-06 20:36:18 -08:00
ui/assets bazel: add bazel build,tests for client/* (#46193) 2023-02-28 20:46:03 -08:00
wolfi-images Add Wolfi base images (#47034) 2023-01-31 12:09:09 +00:00
wolfi-packages Add Wolfi base images (#47034) 2023-01-31 12:09:09 +00:00
.bazel_fix_commands.json bazel: add command sets that uses bazel under the hood (#48460) 2023-03-02 11:31:51 +01:00
.bazelignore bazel: add bazel build,tests for client/* (#46193) 2023-02-28 20:46:03 -08:00
.bazeliskrc chore: update to Aspect CLI 5.2.1 (#48798) 2023-03-07 10:13:33 +01:00
.bazelrc build: don't bust Bazel analysis cache when switching between build & test (#48694) 2023-03-06 00:43:23 -08:00
.bazelversion build: upgrade bazel to 6.0.0 (#47049) 2023-01-29 17:37:55 +01:00
.browserslistrc web: migrate from yarn to pnpm (#46143) 2023-01-11 19:50:09 -08:00
.dockerignore web: migrate from yarn to pnpm (#46143) 2023-01-11 19:50:09 -08:00
.editorconfig chore: Add .lua to editorconfig. (#44267) 2022-11-11 15:25:32 +08:00
.eslintignore [experiment] Merge SvelteKit prototype into main (#47238) 2023-02-13 17:53:23 +01:00
.eslintrc.js web: remove the remaining uses of useHistory() (#47533) 2023-02-13 03:57:23 -08:00
.gitattributes Declare BUILD.bazel files as generated content (#48643) 2023-03-03 20:59:52 +01:00
.gitignore Sourcegraph App (single-binary branch) (#46547) 2023-01-19 17:35:39 -07:00
.golangci-warn.yml internal/resources-report: remove tool (#46941) 2023-01-25 10:34:59 -08:00
.golangci.yml bazel: fix remaining backend tests (#47961) 2023-03-01 17:03:01 +00: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 build: use JS_BINARY__TARGET instead of BAZEL_BINDIR (#48795) 2023-03-07 06:04:50 +00:00
.npmrc web: fix pnpm-lock issue (#47478) 2023-02-09 22:04:31 -08:00
.percy.yml Update browser extention installation detection logic on web (#32449) 2022-03-14 23:29:39 +06:00
.prettierignore rework plugin structure and implement frontside blogpost (#46883) 2023-02-15 11:49:51 +02:00
.stylelintignore rework plugin structure and implement frontside blogpost (#46883) 2023-02-15 11:49:51 +02:00
.stylelintrc.json web: drop bootstrap depenedency (#41401) 2022-09-07 03:11:26 -07:00
.tool-versions chore: bump gh in .tool-verions (#48654) 2023-03-03 21:07:49 +00:00
.trivyignore ci: ignore benign CVE-2021-43816 in prometheus (#31069) 2022-02-11 16:49:10 +00:00
babel.config.jest.js build: use JS_BINARY__TARGET instead of BAZEL_BINDIR (#48795) 2023-03-07 06:04:50 +00:00
babel.config.js bazel: add bazel build,tests for client/* (#46193) 2023-02-28 20:46:03 -08:00
BUILD.bazel bazel: update buildfiles (#48746) 2023-03-06 17:32:57 +00:00
CHANGELOG.md codeintel: Unblock auto-indexing experience frontend (#48770) 2023-03-06 16:09:43 -06:00
CONTRIBUTING.md Docs: Fix docs page link in main CONTRIBUTING.md (#45160) 2022-12-05 14:57:45 +01:00
deps.bzl codeintel(resolvers): Temporarily duplicate gqlhelpers to remove dependency on cmd/frontend (#47390) 2023-03-03 19:42:33 +01:00
doc.go
flake.lock nix: use go1.20 (#47541) 2023-02-13 12:19:12 +02:00
flake.nix nix: use go1.20 (#47541) 2023-02-13 12:19:12 +02:00
gen.go chore: Update go-mockgen (#44305) 2022-11-11 19:24:00 +00:00
go.mod zoekt: update to sourcegraph/zoekt@120aebf6db (#48635) 2023-03-03 17:43:59 +00:00
go.sum zoekt: update to sourcegraph/zoekt@120aebf6db (#48635) 2023-03-03 17:43:59 +00: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 build: use JS_BINARY__TARGET instead of BAZEL_BINDIR (#48795) 2023-03-07 06:04:50 +00:00
jest.config.js tests: use glob for jest projects field (#29681) 2022-01-13 01:11:52 -08:00
jest.snapshot-resolver.js bazel: add bazel build,tests for client/* (#46193) 2023-02-28 20:46:03 -08:00
LICENSE update licensing language (#25620) 2021-10-04 15:40:59 +01:00
LICENSE.apache
LICENSE.enterprise
lighthouserc.js web: migrate from yarn to pnpm (#46143) 2023-01-11 19:50:09 -08:00
linter_deps.bzl bzl: fix broken :gazelle-update-repos (#48634) 2023-03-03 18:07:15 +01:00
mockgen.temp.yaml embeddings: searcher and indexer (#48017) 2023-03-01 10:50:12 +01:00
mockgen.test.yaml codeintel: Services cleanup (#48681) 2023-03-06 14:23:46 -06:00
mockgen.yaml mocks: Reorganize mock definitions into multiple files (#36967) 2022-06-27 20:59:16 +00:00
nogo_config.json nogo: create config for all analyzers (#48711) 2023-03-06 20:25:47 +02:00
package.json remove code host native tooltip toggle, hover alerts, command palette, notifs (#48688) 2023-03-06 20:36:18 -08:00
pnpm-lock.yaml remove code host native tooltip toggle, hover alerts, command palette, notifs (#48688) 2023-03-06 20:36:18 -08:00
pnpm-workspace.yaml web: sync TS project refenreces (#46407) 2023-01-16 18:55:10 -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 Improve Markdown rendering (#47074) 2023-01-30 13:36:56 -08:00
renovate.json chore: add test plans to bot and release tool PRs (#31351) 2022-02-22 07:53:25 -08:00
SECURITY.md
service-catalog.yaml lib/servicecatalog: init to distribute catalog (#46999) 2023-01-26 17:22:27 -08:00
sg.config.yaml app does not require syntax-highlighter or docker (anymore) (#48685) 2023-03-05 16:44:07 -08:00
shell.nix nix: fix nodejs version used by pnpm (#47680) 2023-02-15 21:33:31 +02:00
svgo.config.js Performance: Optimize static SVG assets with SVGO (#26285) 2021-10-27 15:27:36 +01:00
tsconfig.all.json web: fix pnpm-lock issue (#47478) 2023-02-09 22:04:31 -08:00
tsconfig.base.json web: fix pnpm-lock issue (#47478) 2023-02-09 22:04:31 -08:00
tsconfig.eslint.json web: fix pnpm-lock issue (#47478) 2023-02-09 22:04:31 -08:00
WORKSPACE Update to latest versions of aspect_bazel_lib, apsect_rules_js, aspect_rules_ts (#48692) 2023-03-05 20:53:15 -08: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.