You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently use yarn link to create a symlink between vendor/modules/code-oss-dev and coder/vscode (our fork). This is a bit unreliable and also requires cloning and updating two separate repos. The first step then would be to switch away from yarn link and use a submodule.
Remove vendor
Add git submodule under lib/vscode
update all the paths and the scripts to point to that location
There may be some additional code to cleanup
The text was updated successfully, but these errors were encountered:
* Move Code to a submodule
Closes#4901.
* Base Code cache on hash and re-enable node_modules cache
The current setup appears to only rebuild VS Code if the dependencies
change but we need to rebuild it if anything changes.
I also re-enabled the commented out node_modules caches. They look like
they should work to me with the submodule method. I think the problem
occurred because Code itself was being installed in the yarn step.
TinLe
pushed a commit
to TinLe/code-server
that referenced
this issue
Apr 23, 2022
* Move Code to a submodule
Closescoder#4901.
* Base Code cache on hash and re-enable node_modules cache
The current setup appears to only rebuild VS Code if the dependencies
change but we need to rebuild it if anything changes.
I also re-enabled the commented out node_modules caches. They look like
they should work to me with the submodule method. I think the problem
occurred because Code itself was being installed in the yarn step.
We currently use yarn link to create a symlink between vendor/modules/code-oss-dev and coder/vscode (our fork). This is a bit unreliable and also requires cloning and updating two separate repos. The first step then would be to switch away from yarn link and use a submodule.
There may be some additional code to cleanup
The text was updated successfully, but these errors were encountered: