Code AI platform with Code Search & Cody
Go to file
Greg Magolan 09d898704a
build: update to Aspect CLI 5.5.2 (#53692)
Required adding a few import ignore directives in
`client/web/BUILD.bazel`. @jbedard is working on a fix for those. Has to
do with tsconfig paths. Fix will land in a future release.

## Test plan

5.4.11 output:

```
$ bazel configure
Updating BUILD files for protobuf, go, javascript
WARN[0000] Failed to load base tsconfig file @sourcegraph/tsconfig: open /Users/greg/aspect/sourcegraph/sourcegraph/@sourcegraph/tsconfig: no such file or directory 
client/app-shell/src/app-shell.tsx parse error(s):
50: Top-level await is currently not supported with the "iife" output format
Failed to parse tsconfig file client/completions-review-tool/tsconfig.json: ERR: position:298 object key must be string pos:298 : 
933 BUILD files visited
0 BUILD files updated
```

5.5.2 output has some new spam as well:

```
$ bazel configure
Updating BUILD files for protobuf, go, javascript
WARN[0000] Failed to load base tsconfig file @sourcegraph/tsconfig: open /Users/greg/aspect/sourcegraph/sourcegraph/@sourcegraph/tsconfig: no such file or directory 
Failed to parse tsconfig file client/completions-review-tool/tsconfig.json: ERR: position:298 object key must be string pos:298 : 
client/web/src/globals.d.ts:
	     17: }
         ^

client/web/src/storm/backend/route-loader.ts:
	     41:     usePreloadedQueryData: () => ReturnType<typeof useSuspenseQuery<D, V>>
                                                    ^
	     41:     usePreloadedQueryData: () => ReturnType<typeof useSuspenseQuery<D, V>>
                                                     ^

934 BUILD files visited
0 BUILD files updated
```
2023-06-22 18:33:15 +02:00
.aspect Switch to OCI/Wolfi based image (#52693) 2023-06-02 12:12:52 +02:00
.buildkite ci: clean all containers. clean up disk if over 85% (#53138) 2023-06-09 10:38:56 +02:00
.github Cody Agent: reuse TypeScript logic between JetBrains and VS Code (#53370) 2023-06-22 15:58:03 +02:00
.vscode rfc/oauth: Implement new Google OAuth flow. (#53567) 2023-06-21 16:42:00 +02:00
client build: update to Aspect CLI 5.5.2 (#53692) 2023-06-22 18:33:15 +02:00
cmd gitserver: Add recordingfactory to Fetch of git vcs syncer (#53741) 2023-06-22 19:36:56 +05:30
dev [backport] bzl: use old method for getting VERSION stamping (#53959) 2023-06-22 17:45:04 +02:00
doc Autocomplete: Rename completions to autocomplete (#53851) 2023-06-22 17:14:21 +02:00
docker-images build: update to Aspect CLI 5.5.2 (#53692) 2023-06-22 18:33:15 +02:00
enterprise Context: add observations for getCodyContext endpoint (#53886) 2023-06-22 08:31:58 -06:00
internal gitserver: Add recordingfactory to Fetch of git vcs syncer (#53741) 2023-06-22 19:36:56 +05:30
lib [chore] Refactored to use common pointers helper functions (#53441) 2023-06-14 16:48:44 +02:00
migrations codeintel: Fix cleaning up metadata tables in codeintel-db (#53232) 2023-06-16 17:46:07 +00:00
monitoring Fix grafana config generation (#53609) 2023-06-16 16:39:19 +00:00
schema cody: add maxPromptToken settings to site-config (#53850) 2023-06-22 15:40:29 +02:00
src-tauri app: only use hide on mac otherwise use event window hide (#53830) 2023-06-21 10:07:57 +02:00
testing bzl+doc: improve and document how to write a server integration test (#53673) 2023-06-19 17:44:01 +00:00
third_party bazel: update gazelle repos (#52936) 2023-06-05 17:25:19 +02:00
third-party-licenses Gerrit Batch Changes (#52647) 2023-06-05 18:51:44 +00:00
ui/assets web/app: mobile navbar hamburger menu should be accessible (#53407) 2023-06-13 15:40:25 -07:00
wolfi-images Push wolfi base images to Dockerhub (#53939) 2023-06-22 13:56:40 +00:00
wolfi-packages Update s3proxy to latest custom release (v2) (#53921) 2023-06-22 12:03:51 +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 Cody Agent: reuse TypeScript logic between JetBrains and VS Code (#53370) 2023-06-22 15:58:03 +02:00
.bazeliskrc build: update to Aspect CLI 5.5.2 (#53692) 2023-06-22 18:33:15 +02:00
.bazelrc bzl+doc: add convenient way of running all short go tests locally w/ Bazel (#53330) 2023-06-14 21:00:13 +02:00
.bazelversion Update bazel to 6.1.1 (#50472) 2023-04-11 10:51:21 +02: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 bazel: implement custom ESLint Bazel rule (#52062) 2023-05-22 04:05:45 -07:00
.eslintrc.js bazel: implement custom ESLint Bazel rule (#52062) 2023-05-22 04:05:45 -07:00
.gitattributes bazel: Build syntax-highlighter (#48703) 2023-03-08 19:08:09 +08:00
.gitignore nix: reorganizing (#52273) 2023-05-31 16:20:32 +01:00
.graphqlrc.yml
.hadolint.yaml bump comby version to 1.7.1 (#35830) 2022-05-20 20:12:01 -07:00
.mailmap mailmap: add entries for Eric and Renovate (#50966) 2023-04-25 09:42:22 +02:00
.mocharc.js build: still need BAZEL_BINDIR for webpack_bundle custom rule (#48796) 2023-03-07 20:02:11 -08:00
.npmrc pnpm: remove update notifier message (#51630) 2023-05-10 08:53:39 +02:00
.percy.yml Update browser extention installation detection logic on web (#32449) 2022-03-14 23:29:39 +06:00
.prettierignore cody: add the client side app to review CLI generated code completions (#53140) 2023-06-16 00:19:32 -07: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 ci: improve pnpm dedupe CI check (#52741) 2023-06-01 06:02:20 +00:00
.trivyignore ci: ignore benign CVE-2021-43816 in prometheus (#31069) 2022-02-11 16:49:10 +00:00
babel.config.jest.js bazel: fix the web application bundle in Bazel (#50383) 2023-04-10 21:16:12 -07:00
babel.config.js bazel: fix the web application bundle in Bazel (#50383) 2023-04-10 21:16:12 -07:00
BUILD.bazel bzl: remove default_tags from oci_push rules (#52996) 2023-06-06 12:32:45 +02:00
CHANGELOG.app.md App - Use git remote as repo "name" if available (#53610) 2023-06-19 07:16:36 -04:00
CHANGELOG.md internal/trace: remove net/trace integration (#53795) 2023-06-21 18:35:07 +00:00
CODENOTIFY nix: update pnpm hash (#51512) 2023-05-05 12:51:59 +00:00
CONTRIBUTING.md Docs: Fix docs page link in main CONTRIBUTING.md (#45160) 2022-12-05 14:57:45 +01:00
deps.bzl search: use new WithSearcher API for zoekt (#53831) 2023-06-22 09:44:00 +02:00
doc.go
eslint-relative-formatter.js bazel: implement custom ESLint Bazel rule (#52062) 2023-05-22 04:05:45 -07:00
flake.lock nix: reorganizing (#52273) 2023-05-31 16:20:32 +01:00
flake.nix nix: develop uses non static binaries (#52927) 2023-06-07 08:36:09 +02:00
gen.go chore: Update go-mockgen (#44305) 2022-11-11 19:24:00 +00:00
go.mod zoekt: update to sourcegraph/zoekt@63241cb1b1 (#53797) 2023-06-21 08:47:43 +02:00
go.sum zoekt: update to sourcegraph/zoekt@63241cb1b1 (#53797) 2023-06-21 08:47:43 +02:00
graphql-schema-linter.config.js
gulpfile.js web: drop legacy GraphQL schema generator (#45945) 2022-12-25 18:10:20 -08:00
jest.config.base.js bazel: wildcard jest tests (#49282) 2023-03-17 03:38:49 -07: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: wildcard jest tests (#49282) 2023-03-17 03:38:49 -07:00
LICENSE relicense all paths other than MIT licensed code, client/cody*, jetbrains, VS code, and browser extension to enterprise (#53345) (#53345) 2023-06-13 10:28:11 -07:00
LICENSE.enterprise
lighthouserc.js web: migrate from yarn to pnpm (#46143) 2023-01-11 19:50:09 -08:00
linter_deps.bzl bazel: add unparam nogo linter (#50730) 2023-04-18 10:03:35 +00:00
mockgen.temp.yaml Embeddings: remove context detection index (#53131) 2023-06-08 10:57:39 -07:00
mockgen.test.yaml Batch Changes support for Perforce (#52127) 2023-06-20 23:12:58 +00:00
mockgen.yaml mocks: Reorganize mock definitions into multiple files (#36967) 2022-06-27 20:59:16 +00:00
nogo_config.json bazel: add depguard as a nogo linter (#50585) 2023-04-13 14:19:45 +02:00
package.json cody: add the client side app to review CLI generated code completions (#53140) 2023-06-16 00:19:32 -07:00
pnpm-lock.yaml Cody Agent: reuse TypeScript logic between JetBrains and VS Code (#53370) 2023-06-22 15:58:03 +02:00
pnpm-workspace.yaml cody: development branch (#49761) 2023-03-23 20:41:11 +01:00
postcss.config.js
prettier.config.js clean up Cody CSS to increase shareability and improve display in web app (#50279) 2023-04-03 12:29:05 -07:00
README.md relicense all paths other than MIT licensed code, client/cody*, jetbrains, VS code, and browser extension to enterprise (#53345) (#53345) 2023-06-13 10:28:11 -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
service-catalog.yaml lib/servicecatalog: init to distribute catalog (#46999) 2023-01-26 17:22:27 -08:00
sg.config.yaml dev: drop outdated build scripts + minor updates (#53841) 2023-06-21 18:58:39 +02:00
shell.nix nix: more bazel paths (#53941) 2023-06-22 12:39:38 +00:00
stamp_tags.bzl Switch to OCI/Wolfi based image (#52693) 2023-06-02 12:12:52 +02:00
svgo.config.js
tsconfig.all.json Cody: Add E2E test setup based on Playwright (#52071) 2023-05-19 19:11:52 +02: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 bzl: bump hermetic-cc to 2.0 from 2.0.0-rc2 (#53913) 2023-06-22 10:35:09 +02:00

DocsContributingTwitterDiscord

Build status Scorecard Latest release Discord Contributors


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:

License

This repository contains primarily non-OSS-licensed files, and some OSS licensed files (for example, IDE extensions). We maintain one repository rather than two separate repositories mainly for development convenience.

See the LICENSE for an explanation of how files are licensed.