mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:51:57 +00:00
Code AI platform with Code Search & Cody
<!-- PR description tips: https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e --> The appliance UI creates a `configMap` that triggers our reconciler to install Sourcegraph. - Refactored React app to remove "demo" code where possible - Added `status` functionality to get the status of deployments, statefulsets, or persistent volume claims. - Fix small code issue where `FromInt` was deprecated - Add reconciliation loop for the appliance backing `configMap` Install: ```shell ❯ k get pods NAME READY STATUS RESTARTS AGE blobstore-568d57d477-k5vrh 1/1 Running 0 15m codeinsights-db-0 2/2 Running 0 15m codeintel-db-0 2/2 Running 0 15m gitserver-0 1/1 Running 1 (14m ago) 14m grafana-0 1/1 Running 0 15m indexed-search-0 2/2 Running 0 15m pgsql-0 2/2 Running 0 15m precise-code-intel-worker-6fd4d6c8d5-4rjbc 1/1 Running 1 (14m ago) 15m precise-code-intel-worker-6fd4d6c8d5-6fjdw 1/1 Running 1 (14m ago) 15m prometheus-6cd94d7485-4cx7n 1/1 Running 0 15m redis-cache-f4dc7d6b8-2tp5v 2/2 Running 0 15m redis-store-5d6fcc9c84-7sj8v 2/2 Running 0 15m repo-updater-9f695b7d5-r28t7 1/1 Running 5 (14m ago) 15m searcher-0 1/1 Running 0 15m sourcegraph-frontend-64cc4458cd-4vdwq 1/1 Running 0 15m sourcegraph-frontend-64cc4458cd-gd7bf 1/1 Running 0 15m symbols-0 1/1 Running 0 13m syntect-server-6d5d55fb4f-tgbsc 1/1 Running 0 15m worker-66b4cd79b5-zw844 1/1 Running 1 (13m ago) 15m ``` ## Test plan Unit tests where applicable and tested locally via UI and local cluster <!-- REQUIRED; info at https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles --> ## Changelog <!-- OPTIONAL; info at https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c --> |
||
|---|---|---|
| .apko | ||
| .aspect | ||
| .buildkite | ||
| .github | ||
| .vscode | ||
| client | ||
| cmd | ||
| dev | ||
| doc | ||
| docker-images | ||
| internal | ||
| lib | ||
| migrations | ||
| monitoring | ||
| schema | ||
| testing | ||
| third_party | ||
| third-party-licenses | ||
| tools | ||
| ui/assets | ||
| wolfi-images | ||
| wolfi-packages | ||
| .bazel_fix_commands.json | ||
| .bazelignore | ||
| .bazeliskrc | ||
| .bazelrc | ||
| .bazelversion | ||
| .dockerignore | ||
| .editorconfig | ||
| .eslintrc.js | ||
| .gitattributes | ||
| .gitignore | ||
| .graphqlrc.yml | ||
| .hadolint.yaml | ||
| .mailmap | ||
| .mocharc.js | ||
| .npmrc | ||
| .pre-commit-config.yaml | ||
| .prettierignore | ||
| .stylelintignore | ||
| .stylelintrc.json | ||
| .swcrc | ||
| .tool-versions | ||
| .trivyignore | ||
| BUILD.bazel | ||
| CHANGELOG.md | ||
| CODENOTIFY | ||
| CONTRIBUTING.md | ||
| deps.bzl | ||
| doc.go | ||
| eslint-relative-formatter.js | ||
| flake.lock | ||
| flake.nix | ||
| gen.go | ||
| go.mod | ||
| go.sum | ||
| graphql-schema-linter.config.js | ||
| LICENSE | ||
| LICENSE.enterprise | ||
| linter_deps.bzl | ||
| mockgen.temp.yaml | ||
| mockgen.test.yaml | ||
| mockgen.yaml | ||
| nogo_config.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| postcss.config.js | ||
| prettier.config.js | ||
| README.md | ||
| release.yaml | ||
| renovate.json | ||
| SECURITY.md | ||
| service-catalog.yaml | ||
| sg.config.yaml | ||
| shell.nix | ||
| stamp_tags.bzl | ||
| tsconfig.base.json | ||
| tsconfig.json | ||
| vitest.shared.ts | ||
| vitest.workspace.ts | ||
| WORKSPACE | ||
Docs •
Contributing •
Twitter •
Discord
Sourcegraph makes it easy to read, write, and fix code—even in big, complex codebases.
- Code search: Search all of your repositories across all branches and all code hosts.
- Code intelligence: Navigate code, find references, see code owners, trace history, and more.
- Fix and refactor: Roll out large-scale changes to many repositories at once and track big migrations.
Getting started
Development
Refer to the Developing Sourcegraph guide to get started.
Documentation
The doc directory has additional documentation for developing and understanding Sourcegraph:
- Architecture: high-level architecture
- Database setup: database best practices
- Go style guide
- Documentation style guide
- GraphQL API: useful tips when modifying the GraphQL API
- Contributing
License
This repository contains primarily non-OSS-licensed files. See LICENSE.
Copyright (c) 2018-present Sourcegraph Inc.