mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:11:49 +00:00
Cody no longer needs it and it is obsolete now! Since App added a non-insignificant amount of new concepts and alternative code paths, I decided to take some time and remove it from out codebase. This PR removes ~21k lines of code. If we ever want parts of single binary (app), the redis kv alternatives, or the release pipeline for a native mac app back, we can look back at this PR and revert parts of it, but maintaining 21k lines of code and many code paths for which I had to delete a surprisingly small amount of tests justifies this move for me very well. Technically, to some extent SG App and Cody App both still existed in the codebase, but we don't distribute either of them anymore, so IMO we shouldn't keep this weight in our code. So.. here we go. This should not affect any of the existing deployments, we only remove functionality that was special-cased for app.
161 lines
4.1 KiB
JSON
161 lines
4.1 KiB
JSON
{
|
|
"version": "0.1.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Attach to Process (from list)",
|
|
"type": "go",
|
|
"request": "attach",
|
|
"mode": "local"
|
|
},
|
|
{
|
|
"name": "Launch sg rfc list",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "${workspaceFolder}/dev/sg",
|
|
"args": ["rfc", "list"]
|
|
},
|
|
{
|
|
"name": "Launch sg rfc create",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "${workspaceFolder}/dev/sg",
|
|
"args": ["rfc", "--private", "create", "--type", "solution", "test rfc (ignore)"]
|
|
},
|
|
{
|
|
"name": "Launch VS Code Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceRoot}/client/vscode",
|
|
"--disable-extension=sourcegraph.sourcegraph"
|
|
],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceRoot}/client/vscode/dist/node/*.js"]
|
|
},
|
|
{
|
|
"name": "Launch VS Code Web Extension",
|
|
"type": "pwa-extensionHost",
|
|
"debugWebWorkerHost": true,
|
|
"request": "launch",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceRoot}/client/vscode",
|
|
"--disable-extension=sourcegraph.sourcegraph",
|
|
"--extensionDevelopmentKind=web",
|
|
"--disable-web-security"
|
|
],
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceRoot}/client/vscode/dist/webworker/*.js"]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Browser extension E2E Tests",
|
|
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
|
|
"args": ["--no-timeouts", "--colors", "${workspaceFolder}/client/browser/src/e2e/github.test"],
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"env": {
|
|
"TS_NODE_LOG_ERROR": "true",
|
|
"E2E_BROWSER": "chrome"
|
|
}
|
|
},
|
|
{
|
|
"name": "Webapp Chrome",
|
|
"type": "chrome",
|
|
"request": "attach",
|
|
"port": 9222,
|
|
"webRoot": "${workspaceRoot}/web",
|
|
"url": "http://localhost:3080/*",
|
|
"sourceMaps": true
|
|
},
|
|
{
|
|
"name": "Attach to gitserver",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "remote",
|
|
"remotePath": "${workspaceRoot}",
|
|
"port": 2345,
|
|
"host": "127.0.0.1",
|
|
"program": "${workspaceRoot}",
|
|
"env": {},
|
|
"args": []
|
|
},
|
|
{
|
|
"name": "Attach to indexer",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "remote",
|
|
"remotePath": "${workspaceRoot}",
|
|
"port": 2346,
|
|
"host": "127.0.0.1",
|
|
"program": "${workspaceRoot}",
|
|
"env": {},
|
|
"args": []
|
|
},
|
|
{
|
|
"name": "Attach to query-runner",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "remote",
|
|
"remotePath": "${workspaceRoot}",
|
|
"port": 2347,
|
|
"host": "127.0.0.1",
|
|
"program": "${workspaceRoot}",
|
|
"env": {},
|
|
"args": []
|
|
},
|
|
{
|
|
"name": "Attach to repo-updater",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "remote",
|
|
"remotePath": "${workspaceRoot}",
|
|
"port": 2348,
|
|
"host": "127.0.0.1",
|
|
"program": "${workspaceRoot}",
|
|
"env": {},
|
|
"args": []
|
|
},
|
|
{
|
|
"name": "Attach to searcher",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "remote",
|
|
"remotePath": "${workspaceRoot}",
|
|
"port": 2349,
|
|
"host": "127.0.0.1",
|
|
"program": "${workspaceRoot}",
|
|
"env": {},
|
|
"args": []
|
|
},
|
|
{
|
|
"name": "Attach to symbols",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "remote",
|
|
"remotePath": "${workspaceRoot}",
|
|
"port": 2350,
|
|
"host": "127.0.0.1",
|
|
"program": "${workspaceRoot}",
|
|
"env": {},
|
|
"args": []
|
|
},
|
|
{
|
|
"name": "Attach to frontend",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "remote",
|
|
"remotePath": "${workspaceRoot}",
|
|
"port": 2354,
|
|
"host": "127.0.0.1",
|
|
"program": "${workspaceRoot}",
|
|
"env": {},
|
|
"args": []
|
|
}
|
|
]
|
|
}
|