Skip to content

Commit 619ab45

Browse files
authored
Merge pull request #2476 from cdr/issue-1587-submodule-to-subtree
refactor (vscode): migrate from submodule to subtree
2 parents ff2ef35 + 98338e9 commit 619ab45

File tree

4,685 files changed

+1314989
-5096
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,685 files changed

+1314989
-5096
lines changed

.gitmodules

Lines changed: 0 additions & 4 deletions
This file was deleted.

.tours/contributing.tour

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@
143143
"description": "Static images and the manifest live here in `src/browser/media` (see the explorer)."
144144
},
145145
{
146-
"file": "ci/dev/vscode.patch",
146+
"directory": "lib/vscode",
147147
"line": 1,
148-
"description": "code-server makes use of VS Code's frontend web/remote support. Most of the patch implements the remote server since that portion of the code is closed source and not released with VS Code.\n\nWe also have a few bug fixes and have added some features (like client-side extensions). See [https://github.com/cdr/code-server/blob/master/doc/CONTRIBUTING.md#vs-code-patch](https://github.com/cdr/code-server/blob/master/doc/CONTRIBUTING.md#vs-code-patch) for a list.\n\nWe make an effort to keep the patch as small as possible."
148+
"description": "code-server makes use of VS Code's frontend web/remote support. Most of the modifications implement the remote server since that portion of the code is closed source and not released with VS Code.\n\nWe also have a few bug fixes and have added some features (like client-side extensions). See [https://github.com/cdr/code-server/blob/master/doc/CONTRIBUTING.md#modifications-to-vs-code](https://github.com/cdr/code-server/blob/master/doc/CONTRIBUTING.md#modifications-to-vs-code) for a list.\n\nWe make an effort to keep the modifications as few as possible."
149149
}
150150
]
151-
}
151+
}

.tours/start-development.tour

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{
66
"file": "package.json",
77
"line": 31,
8-
"description": "## Commands\n\nTo start developing, make sure you have Node 12+ and the [required dependencies](https://github.com/Microsoft/vscode/wiki/How-to-Contribute#prerequisites) installed. Then, run the following commands:\n\n1. Install dependencies:\n>> yarn\n\n2. Clone and patch VS Code and install its dependencies:\n>> yarn vscode\n\n3. Start development mode (and watch for changes):\n>> yarn watch"
8+
"description": "## Commands\n\nTo start developing, make sure you have Node 12+ and the [required dependencies](https://github.com/Microsoft/vscode/wiki/How-to-Contribute#prerequisites) installed. Then, run the following commands:\n\n1. Install dependencies:\n>> yarn\n\n3. Start development mode (and watch for changes):\n>> yarn watch"
99
},
1010
{
1111
"file": "src/node/app.ts",

ci/README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,6 @@ This directory contains scripts used for the development of code-server.
5555
- Runs tests.
5656
- [./ci/dev/ci.sh](./dev/ci.sh) (`yarn ci`)
5757
- Runs `yarn fmt`, `yarn lint` and `yarn test`.
58-
- [./ci/dev/vscode.sh](./dev/vscode.sh) (`yarn vscode`)
59-
- Ensures [./lib/vscode](../lib/vscode) is cloned, patched and dependencies are installed.
60-
- [./ci/dev/patch-vscode.sh](./dev/patch-vscode.sh) (`yarn vscode:patch`)
61-
- Applies [./ci/dev/vscode.patch](./dev/vscode.patch) to [./lib/vscode](../lib/vscode).
62-
- [./ci/dev/diff-vscode.sh](./dev/diff-vscode.sh) (`yarn vscode:diff`)
63-
- Diffs [./lib/vscode](../lib/vscode) into [./ci/dev/vscode.patch](./dev/vscode.patch).
64-
- [./ci/dev/vscode.patch](./dev/vscode.patch)
65-
- Our patch of VS Code, see [./doc/CONTRIBUTING.md](../doc/CONTRIBUTING.md#vs-code-patch).
66-
- Generate it with `yarn vscode:diff` and apply with `yarn vscode:patch`.
6758
- [./ci/dev/watch.ts](./dev/watch.ts) (`yarn watch`)
6859
- Starts a process to build and launch code-server and restart on any code changes.
6960
- Example usage in [./doc/CONTRIBUTING.md](../doc/CONTRIBUTING.md).

ci/dev/diff-vscode.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

ci/dev/fmt.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euo pipefail
44
main() {
55
cd "$(dirname "$0")/../.."
66

7-
shfmt -i 2 -w -sr $(git ls-files "*.sh")
7+
shfmt -i 2 -w -sr $(git ls-files "*.sh" | grep -v "lib/vscode")
88

99
local prettierExts
1010
prettierExts=(
@@ -20,7 +20,7 @@ main() {
2020
"*.yml"
2121
)
2222
prettier --write --loglevel=warn $(
23-
git ls-files "${prettierExts[@]}" | grep -v 'helm-chart'
23+
git ls-files "${prettierExts[@]}" | grep -v "lib/vscode" | grep -v 'helm-chart'
2424
)
2525

2626
doctoc --title '# FAQ' doc/FAQ.md > /dev/null

ci/dev/lint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ set -euo pipefail
44
main() {
55
cd "$(dirname "$0")/../.."
66

7-
eslint --max-warnings=0 --fix $(git ls-files "*.ts" "*.tsx" "*.js")
8-
stylelint $(git ls-files "*.css")
7+
eslint --max-warnings=0 --fix $(git ls-files "*.ts" "*.tsx" "*.js" | grep -v "lib/vscode")
8+
stylelint $(git ls-files "*.css" | grep -v "lib/vscode")
99
tsc --noEmit
10-
shellcheck -e SC2046,SC2164,SC2154,SC1091,SC1090,SC2002 $(git ls-files "*.sh")
10+
shellcheck -e SC2046,SC2164,SC2154,SC1091,SC1090,SC2002 $(git ls-files "*.sh" | grep -v "lib/vscode")
1111
if command -v helm && helm kubeval --help > /dev/null; then
1212
helm kubeval ci/helm-chart
1313
fi

ci/dev/patch-vscode.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)