Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
remove cody code that was moved to separate cody repo (#54729)
Browse files Browse the repository at this point in the history
Cody code is being moved to https://github.com/sourcegraph/cody. This PR
removes the moved code and configures this repository to use the
`@sourcegraph/cody-{shared,ui}` packages published by the new separate
Cody repository.

## Test plan

Ensure that the new separate Cody repository tests pass. Ensure that
this repository's tests pass now that it uses 2 npm packages published
by the new separate Cody repository.
  • Loading branch information
sqs authored and Nelson Araujo committed Jul 10, 2023
1 parent e622356 commit f360aac
Show file tree
Hide file tree
Showing 438 changed files with 209 additions and 33,496 deletions.
8 changes: 0 additions & 8 deletions .bazelignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ client/browser/node_modules
client/build-config/node_modules
client/client-api/node_modules
client/codeintellify/node_modules
client/cody/node_modules
client/cody-cli/node_modules
client/cody-icons-font/node_modules
client/cody-shared/node_modules
client/cody-slack/node_modules
client/cody-agent/node_modules
client/cody-ui/node_modules
client/cody-web/node_modules
client/common/node_modules
client/eslint-plugin-wildcard/node_modules
client/extension-api/node_modules
Expand Down
18 changes: 0 additions & 18 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,6 @@
"request": "attach",
"mode": "local"
},
{
"name": "Launch Cody Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"preLaunchTask": "Build cody",
"args": [
"--extensionDevelopmentPath=${workspaceRoot}/client/cody",
"--disable-extension=hpargecruos.kodj",
"--disable-extension=sourcegraph.cody-ai"
],
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/client/cody/dist/*.js"],
"env": {
"NODE_ENV": "development",
"CODY_FOCUS_ON_STARTUP": "1"
}
},
{
"name": "Launch sg rfc list",
"type": "go",
Expand Down
9 changes: 0 additions & 9 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@
"command": ["node_modules/.bin/tsc"],
"args": ["--build", "tsconfig.all.json", "--watch", "--incremental"]
},
{
"label": "Build cody",
"detail": "Build cody.",
"type": "npm",
"script": "build:dev",
"problemMatcher": "$tsc-watch",
"options": { "cwd": "client/cody" },
"isBackground": true
},
{
"label": "Watch web app",
"detail": "Watch files and build the JavaScript bundle (no development server).",
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ All notable changes to Sourcegraph are documented in this file.

### Changed

- Cody source code (for the VS Code extension, CLI, and client shared libraries) has been moved to the [sourcegraph/cody repository](https://github.com/sourcegraph/cody).
- `golang.org/x/net/trace` instrumentation, previously available under `/debug/requests` and `/debug/events`, has been removed entirely from core Sourcegraph services. It remains available for Zoekt. [#53795](https://github.com/sourcegraph/sourcegraph/pull/53795)

### Fixed
Expand Down
2 changes: 0 additions & 2 deletions client/cody-agent/.eslintignore

This file was deleted.

21 changes: 0 additions & 21 deletions client/cody-agent/.eslintrc.js

This file was deleted.

1 change: 0 additions & 1 deletion client/cody-agent/.gitignore

This file was deleted.

50 changes: 0 additions & 50 deletions client/cody-agent/BUILD.bazel

This file was deleted.

3 changes: 0 additions & 3 deletions client/cody-agent/CODENOTIFY

This file was deleted.

201 changes: 0 additions & 201 deletions client/cody-agent/LICENSE

This file was deleted.

Loading

0 comments on commit f360aac

Please sign in to comment.