Skip to content

Commit a8eb7eb

Browse files
author
Joe Previte
committed
docs: update docs for Code upgrades
1 parent 10e9ae9 commit a8eb7eb

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

docs/CONTRIBUTING.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
22
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
34
# Contributing
45

56
- [Requirements](#requirements)
@@ -96,15 +97,18 @@ re-apply the patches.
9697
### Version updates to Code
9798

9899
1. Update the `lib/vscode` submodule to the desired upstream version branch.
99-
2. Apply the patches (`quilt push -a`) or restore your stashed changes. At this
100+
1. `cd lib/vscode && git checkout release/1.66`
101+
1. `cd ../../ && git submodule update --recursive`
102+
1. `git add lib && git commit -m "chore: update Code"`
103+
1. Apply the patches (`quilt push -a`) or restore your stashed changes. At this
100104
stage you may need to resolve conflicts. For example use `quilt push -f`,
101105
manually apply the rejected portions, then `quilt refresh`.
102-
3. From the code-server **project root**, run `yarn install`.
103-
4. Test code-server locally to make sure everything works.
104-
5. Check the Node.js version that's used by Electron (which is shipped with VS
106+
1. From the code-server **project root**, run `yarn install`.
107+
1. Test code-server locally to make sure everything works.
108+
1. Check the Node.js version that's used by Electron (which is shipped with VS
105109
Code. If necessary, update your version of Node.js to match.
106-
6. Commit the updated submodule and patches to `code-server`.
107-
7. Open a PR.
110+
1. Commit the updated submodule and patches to `code-server`.
111+
1. Open a PR.
108112

109113
### Patching Code
110114

0 commit comments

Comments
 (0)