Code AI platform with Code Search & Cody
Go to file
Thorsten Ball 01575ee603
sg: add ability to define checks per commandset (#23020)
This allows us to check whether services are running before we boot up
the environment. This should reduce the number of "why is service X failing?".
At least that's the hope.

The changes to the config file format are backwards compatible. See the
`UnmarshalYAML` method on `Commandset`.

It also updates the checks to make sure that they work for users of the
docker-compose setup.
2021-07-21 17:37:24 +02:00
.buildkite add status check (#21674) 2021-06-02 22:26:24 +00:00
.github ci: update link to license-checker docs (#22781) 2021-07-13 09:09:54 +00:00
.vscode dx: enable problems mode for eslint-vscode extension (#22637) 2021-07-08 14:46:25 +08:00
client Make repo pages lazy loaded components (#23072) 2021-07-21 12:59:00 +02:00
cmd tune down result limits in searcher (#23082) 2021-07-21 11:13:01 -04:00
dev sg: add ability to define checks per commandset (#23020) 2021-07-21 17:37:24 +02:00
doc Add workspace volume mode to batch changes troubleshooting doc (#23068) 2021-07-21 09:50:31 +00:00
docker-images dx: Vet use of errors (#22704) 2021-07-12 19:51:38 +00:00
enterprise extsvc: Add helper method to extract token (#23073) 2021-07-21 17:14:32 +02:00
internal extsvc: Add helper method to extract token (#23073) 2021-07-21 17:14:32 +02:00
lib Implement auto-inference for Java package repositories. (#23076) 2021-07-21 15:12:40 +02:00
migrations Insights: migrate setting insights to database with a background job (#22904) 2021-07-20 11:09:40 -07:00
monitoring monitoring: correct metric for repo_index_state (#23041) 2021-07-20 21:34:43 +02:00
schema search/backend: add config to limit reorder buffer size. 2021-07-19 13:02:31 -06:00
third-party-licenses chore: update third-party license (#22950) 2021-07-19 00:22:00 +00:00
ui/assets Attempt #3: upgrade to Webpack v5 (#22580) 2021-07-19 16:08:50 +08:00
.dockerignore web: flatten frontend packages inside of the client folder (#19378) 2021-03-26 15:35:26 +08:00
.editorconfig ci: replace codecov helper with codecov script (#20128) 2021-04-19 14:03:25 +00:00
.eslintignore web: flatten frontend packages inside of the client folder (#19378) 2021-03-26 15:35:26 +08:00
.eslintrc.js web: bump @sourcegraph/eslint-config version (#19966) 2021-04-13 19:55:24 +08:00
.gitattributes monitoring: migrate monitoring docs to Sourcegraph API Docs (#22876) 2021-07-16 10:34:17 +08:00
.gitignore sg: Add sg rfc [list|search|open] commands (#22927) 2021-07-19 18:05:17 +02:00
.gitmodules Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.golangci.yml dx: Vet use of errors (#22704) 2021-07-12 19:51:38 +00:00
.graphqlrc.yml Support multiple GraphQL schema files (#20077) 2021-04-19 14:35:49 +02:00
.mailmap Add Camden to mailmap (#19488) 2021-03-26 16:32:13 +00:00
.mocharc.js Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
.nvmrc Update Node.js to v14.15.4 (#16981) 2021-01-06 14:46:23 +01:00
.percy.yml Disable 960px screenshots in Percy (#20511) 2021-04-29 12:52:14 +01:00
.prettierignore monitoring: migrate monitoring docs to Sourcegraph API Docs (#22876) 2021-07-16 10:34:17 +08:00
.stylelintignore docs: extension architecture (#15679) 2020-12-02 21:17:24 -05:00
.stylelintrc.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.tool-versions add nodejs to .tool-versions 2021-07-05 16:33:25 +02:00
.yarnrc Ignore workspace root check (#19608) 2021-03-31 15:30:11 +01:00
babel.config.js GraphQL Client: Add Apollo/client and implement on profile settings page (#22166) 2021-06-29 09:23:33 +01:00
CHANGELOG.md CHANGELOG: Fix typo 2021-07-21 13:03:17 +02:00
CODENOTIFY Deglobalize CODENOTIFY settings for eseliger (#16710) 2020-12-14 15:50:22 +01:00
CONTRIBUTING.md fix: update broken link to code of conduct (#7781) 2020-01-15 13:45:14 -08:00
doc.go Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
go.mod gomod: update zoekt to remove old meta files (#23075) 2021-07-21 14:23:44 +02:00
go.sum gomod: update zoekt to remove old meta files (#23075) 2021-07-21 14:23:44 +02:00
graphql-schema-linter.config.js Support multiple GraphQL schema files (#20077) 2021-04-19 14:35:49 +02:00
gulpfile.js web: add CSS-modules support (#19919) 2021-04-14 18:46:49 +08:00
jest.config.base.js web: mock _.uniqueId() in tests (#21391) 2021-05-26 22:32:29 +08:00
jest.config.js web: moved Storybook config into a new package (#19569) 2021-04-08 17:16:26 +08:00
LICENSE Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
LICENSE.apache Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
LICENSE.enterprise clarify license (#2543) 2019-03-03 16:39:46 +08:00
package.json GraphQL Client: Generate types for Apollo typePolicies (#22509) 2021-07-21 09:38:24 +01:00
postcss.config.js extensibility: add featured extensions to registry (#21665) 2021-06-10 13:55:20 -04:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md docs: redesign homepage and update admin/install (#22965) 2021-07-20 07:26:30 +08:00
renovate.json web: enable cross-theme screenshots in Chromatic (#20349) 2021-04-28 22:19:55 +08:00
SECURITY.md consolidate security policy (#7906) 2020-01-21 10:03:11 -08:00
sg.config.yaml sg: add ability to define checks per commandset (#23020) 2021-07-21 17:37:24 +02:00
tsconfig.all.json web: moved Storybook config into a new package (#19569) 2021-04-08 17:16:26 +08:00
tsconfig.json web: flatten frontend packages inside of the client folder (#19378) 2021-03-26 15:35:26 +08:00
yarn.lock GraphQL Client: Generate types for Apollo typePolicies (#22509) 2021-07-21 09:38:24 +01:00

Sourcegraph

build apache license

Sourcegraph OSS edition is a fast, open-source, fully-featured code search and navigation engine. Enterprise editions are available.

Screenshot

Features

Try it yourself

Installation

Prebuilt Docker images are the fastest way to use Sourcegraph Enterprise. See the quickstart installation guide.

To use Sourcegraph OSS:

  1. Initialize the PostgreSQL database
  2. Ensure Docker is running
  3. Configure the HTTPS reverse proxy
  4. Start the development server
    ./dev/start.sh
    

Sourcegraph should now be running at https://sourcegraph.test:3443.

For detailed instructions and troubleshooting, see the local development documentation.

Development

Refer to the Developing Sourcegraph guide to get started.

Documentation

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

License

Sourcegraph OSS is available freely under the Apache 2 license. Sourcegraph OSS comprises all files in this repository except those in the enterprise/ and client/web/src/enterprise directories.

All files in the enterprise/ and client/web/src/enterprise/ directories are subject to the Sourcegraph Enterprise license.