Skip to content

Update Code to 1.79.2 #6264

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

Merged
merged 1 commit into from
Jun 15, 2023
Merged

Update Code to 1.79.2 #6264

merged 1 commit into from
Jun 15, 2023

Conversation

code-asher
Copy link
Member

Mostly just the usual shifting or changing of the surrounding context but I did refactor the getting started block we insert because it keeps getting mangled on each update. Instead of shifting things around the columns I just prepend it to the right column.

Closes #6257

@code-asher code-asher requested a review from a team as a code owner June 14, 2023 22:54
@code-asher code-asher force-pushed the code-1.79 branch 2 times, most recently from bce253d to 6623c49 Compare June 14, 2023 23:40
Mostly just the usual shifting or changing of the surrounding context
but I did refactor the getting started block we insert because it keeps
getting mangled on each update.  Instead of shifting things around the
columns I just prepend it to the right column.
@code-asher
Copy link
Member Author

code-asher commented Jun 15, 2023

Getting 404s on some vsda module but everything seems to work without it and I do not see it referenced in the package.json nor anywhere on npmjs.com so it seems to be optional.

@code-asher code-asher merged commit 9955cd9 into main Jun 15, 2023
@code-asher code-asher deleted the code-1.79 branch June 15, 2023 16:00
@drupol
Copy link

drupol commented Jun 15, 2023

Trying on NixOS now.

@drupol
Copy link

drupol commented Jun 15, 2023

Do you plan to tag a new release?

@code-asher
Copy link
Member Author

Here we go: https://github.com/coder/code-server/tree/v4.14.0-rc.1

@code-asher
Copy link
Member Author

code-asher commented Jun 15, 2023

GitHub release will take a bit longer (not a blocker for NixOS of course), then assuming nothing goes wrong we will promote the RC tomorrow or so.

@code-asher
Copy link
Member Author

By the way you may have already come up with a good way to run that postinstall script but if not I wonder if we can edit the find. Currently it is find ./lib/vscode -path "*node_modules" so maybe something like find ./lib/vscode -path "*node_modules" -or -path "*extensions" to include the extensions directory could work?

@drupol
Copy link

drupol commented Jun 15, 2023

@code-asher
Copy link
Member Author

Yup, exactly.

@drupol
Copy link

drupol commented Jun 15, 2023

I'll do it within the update then.

@code-asher
Copy link
Member Author

code-asher commented Jun 15, 2023

We still need to do something about the commit variable, too. Looks like it used to be a hardcoded variable so maybe we do that again: https://github.com/NixOS/nixpkgs/blob/5e1324e48a7a05e150f7d05489dfb7507a29d87e/pkgs/servers/code-server/default.nix#L17

Or maybe there is some better way to automatically get the commit.

@code-asher
Copy link
Member Author

code-asher commented Jun 15, 2023

Hmm actually the find flags I proposed do not seem to work with whatever that -prune flag is doing so we might need to duplicate the find to install things from the extensions directory or maybe there is some clever way to get it working in one command.

@drupol
Copy link

drupol commented Jun 15, 2023

I'm not the person who did that NixOS module and I have absolutely no clue into it, I'm just willing to update it.

Do you mind submitting a PR against NixOS/nixpkgs to fix this and also add you as maintainer?

@code-asher
Copy link
Member Author

Yup that works for me!

@drupol
Copy link

drupol commented Jun 15, 2023

Ping me when it's done so I can take care of the PR myself :)

@drupol
Copy link

drupol commented Jun 15, 2023

Bad news, I can't compile 4.14rc1 neither

image

@code-asher
Copy link
Member Author

😱 I will check into it!

@benz0li
Copy link
Contributor

benz0li commented Jun 15, 2023

@code-asher I will deploy v4.14.0-rc.1 within the next hour and do the usual smoke tests.

@benz0li
Copy link
Contributor

benz0li commented Jun 15, 2023

@code-asher Is there only the source code for v4.14.0-rc.1? No other assets?

@benz0li
Copy link
Contributor

benz0li commented Jun 15, 2023

P.S.: 1.79.2 released.

@code-asher
Copy link
Member Author

@benz0li Oh no hmm...something must have gone wrong with the build job.

@code-asher
Copy link
Member Author

I might as well throw in 1.79.2 first.

@code-asher
Copy link
Member Author

code-asher commented Jun 15, 2023

Weird, I used their release/1.79 branch for this PR and apparently that was already 1.79.2, they just had not tagged it yet.

Looking into the missing assets now.

@code-asher code-asher changed the title Update Code to 1.79.1 Update Code to 1.79.2 Jun 15, 2023
@code-asher
Copy link
Member Author

Turns out the job is fine, I just somehow completely forgot that we have to manually run the "draft release" workflow. Really need to automate that at some point. 🤦

Assets are attached now.

@benz0li
Copy link
Contributor

benz0li commented Jun 15, 2023

code-server-4.14.0-rc.1-linux-amd64.tar.gz from Release v4.14.0-rc.1 is deployed at https://coder.jupyter.b-data.ch; Image R (base:test-devtools-docker).

Functionality [modified by patches] tested and found to work:

  • base-path
  • cli-window-open
  • local-storage
  • marketplace
  • proxy-url
  • service-worker
  • webview

Jupyter Notebooks also work fine:

yiliang114 pushed a commit to yiliang114/code-server that referenced this pull request Jan 23, 2025
Mostly just the usual shifting or changing of the surrounding context
but I did refactor the getting started block we insert because it keeps
getting mangled on each update.  Instead of shifting things around the
columns I just prepend it to the right column.

Getting 404s on some vsda module but everything seems to work 
without it and I do not see it referenced in the package.json nor a
nywhere on npmjs.com so it seems to be optional.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat]: Update Code to 1.79
3 participants