-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[Feat]: Update Code to 1.80 #6316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@code-asher VS Code 1.80.0 was released two days ago: https://code.visualstudio.com/updates/v1_80 Take a
|
@code-asher I want to subscribe to this, we need to update the VSCode Version, maybe we can automate this process, I will be honored to help you in this task of automation if you want. |
@code-asher I have been reading the code of the project and notice that vscode is a submodule of this project, I found some documentation on how the project can automate the process of update the submodules with github actions. I attach some docs for this: https://tommoa.me/blog/github-auto-update-submodules/ . The development team can focus con make the product better and not need to remind to update submodules. |
Updating the submodule is pretty easy, the more difficult part is resolving conflicts with the patches and I am not sure that can be fully automated. |
@code-asher if you teach me on how to resolve this conflicts, I can assist the team on my free time 👍🏼 |
That would be fantastic! We use
If you are not familiar with quilt, the conflicts get placed in More details here: https://coder.com/docs/code-server/latest/CONTRIBUTING#version-updates-to-code Often the conflicts are just simple line changes. Upstream added a new line, moved a line, etc, so we just have to re-apply our changes in the new context. If you decide to tackle this please feel free to lean on me for any support you might need. |
@code-asher, this docs are great, I will start working on this the next week on my free time, thank you for the docs, I will be reading it, and let you know if I have some doubts, thank you to let me help on this amazing project. |
@code-asher How to get the correct replacement SHA-256 value? index.html.rej --- lib/vscode/src/vs/workbench/contrib/webview/browser/pre/index.html
+++ lib/vscode/src/vs/workbench/contrib/webview/browser/pre/index.html
@@ -5,7 +5,7 @@
<meta charset="UTF-8">
<meta http-equiv="Content-Security-Policy"
- content="default-src 'none'; script-src 'sha256-N4YFn5ze5crjPqMK/opogKs7bSGWtf3lmjV/3LfbSOs=' 'self'; frame-src 'self'; style-src 'unsafe-inline';">
+ content="default-src 'none'; script-src 'sha256-B5FRTRmagxqZ2yiS/ip5EgFZJPHAF0G0O3NgwgN6hhg=' 'self'; frame-src 'self'; style-src 'unsafe-inline';">
<!-- Disable pinch zooming -->
<meta name="viewport"
|
@aleleba FYI: Docker image Footnotes
|
P.S.: 1.80.1 released |
How to get the correct replacement SHA-256 value?
Ah excellent question, I forgot about this. There might be a
better way but what I do is launch code-server in
Chromium, open an extension's readme, then I take the correct hash
from the error message in the console.
We should probably document this in CONTRIBUTING.md. It is
documented in the patch file itself I believe but it is not
obvious that there are instructions there.
|
My basic workflow from scratch: Update Code
Set version export VERSION='4.15.0-rc.1' Install dependencies yarn Build code-server yarn build
yarn build:vscode
KEEP_MODULES=1 yarn release Build release packages yarn release:standalone
yarn test:integration
yarn package Then, I deploy at https://coder.jupyter.b-data.ch/ (image |
Command @code-asher Can you tell why that is? |
Hmmm good question. It pulls the version from the That said, I launched https://coder.jupyter.b-data.ch and opened the JupyterLab terminal and it gives me the right version! |
Actually that is not the right version. Previous version. My bad. Will test a bit and see if I get the same issue. |
Most likely you started image |
Ahh thank you! Looks like we set the version in the release.yaml flow just before publishing releases. If I recall correctly we have this because we wanted the ability to promote an RC to a full release without having to rebuild it (so we can just replace the version without rebuilding since that would technically be a different, untested build) but it has not been fully implemented yet (we still have to set I think at some point what we will need to do is remove |
What is your suggestion?
Update Code to 1.80
Why do you want this feature?
Are there any workarounds to get this functionality today?
Are you interested in submitting a PR for this?
The text was updated successfully, but these errors were encountered: