Commit graph

39 commits

Author SHA1 Message Date
Benjamin Pasero 979145f8b1
web - set standalone as fallback still (#209854) 2024-04-08 17:48:52 +02:00
Martin Aeschlimann 57b0c146d0
Use serverDataFolderName in check-requirements-linux.sh (#208074)
* Use serverDataFolderName in check-requirements-linux.sh

* remove the (new) file check
2024-03-23 10:10:17 +09:00
Robo 5e0394c8d1
fix: don't package detection script in legacy server (#208274)
* fix: don't package detection script in legacy server

* chore: address review feedback

* chore: rename download asset name
2024-03-21 14:11:57 +01:00
Robo c45557f69b
chore: update server detection script for legacy server (#208000)
* chore: update server detection script for legacy server

* chore: address review feedback
2024-03-18 16:09:27 +01:00
Yifei Yang a12d9f44fc
Fix: GLIBCXX version detection bug in check-requirements-linux.sh (issue #204186) (#204635)
* Fix: Fixed glibc version detection bug in check-requirements-linux.sh

- Existing detection scripts simply use the `awk` command to record the version number in the `libstdc++.so` filename,
- but in some specific versions of glibc++, the detailed version number is not indicated in the filename, 
- so we need to use a script to read the current version of GLIBCXX in the environment to see if it meets the expectations.

Co-authored-by:  chengy-sysu <939416532@qq.com>

* Update check-requirements-linux.sh

fix Indent

* fix: Using grep and sed to replace strings command

Since some Linux distributions do not come with GNU binutils pre-installed, 
the `strings` command does not fit on all platforms, 
so we use `grep` and `sed` instead of `strings`.

Co-authored-by: chengy-sysu <939416532@qq.com>

* fix: boundary case of check-requirements-linux.sh

Co-authored-by: chengy-sysu <939416532@qq.com>

* fix: Using grep and sed to replace strings command 

Since some Linux distributions do not come with GNU binutils pre-installed, 
the `strings` command does not fit on all platforms, 
so we use `grep` and `sed` instead of `strings`.

Co-authored-by: chengy-sysu <939416532@qq.com>

* fix: skip glibcxx check on alpine

---------

Co-authored-by: chengy-sysu <939416532@qq.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2024-02-08 20:43:01 +09:00
Dennis f6a5654dbf
Pass the check if any one of the library (of the arch) satisfies the requirement. (#204221)
* Update check-requirements-linux.sh

Pass the check if one of the library (of the arch) satisfies the requirement.

* Update resources/server/bin/helpers/check-requirements-linux.sh

Co-authored-by: Robo <hop2deep@gmail.com>

* Update resources/server/bin/helpers/check-requirements-linux.sh

Co-authored-by: Robo <hop2deep@gmail.com>

* Update resources/server/bin/helpers/check-requirements-linux.sh

Co-authored-by: Robo <hop2deep@gmail.com>

* Update resources/server/bin/helpers/check-requirements-linux.sh

Co-authored-by: Robo <hop2deep@gmail.com>

* Update resources/server/bin/helpers/check-requirements-linux.sh

Co-authored-by: Robo <hop2deep@gmail.com>

* Update resources/server/bin/helpers/check-requirements-linux.sh

Co-authored-by: Robo <hop2deep@gmail.com>

---------

Co-authored-by: Robo <hop2deep@gmail.com>
2024-02-08 00:11:14 +00:00
Robo fdbf304519
fix: requirements detection for alpine (#204660) 2024-02-07 15:19:53 -08:00
Robo cf7ddbb51d
fix: use legacy server as default with additional warnings (#204377)
* ci: switch to glibc 2.17 remote server

* chore: signal user about unsupported connection

* chore: address review comments

* chore: update nodejs build

* chore: bump distro

* chore: lower the minimum requirements

* fix: glibc version check

* chore: remove explicit connection disposal
2024-02-06 11:25:58 +01:00
Mahmood Ali 929edab639
vscode server: cope with multiple libc/libc++ installations (#204032)
cope with multiple libc/libc++ installations
2024-02-02 13:57:59 +00:00
Robo e2ce367fc8
fix: update server requirements check for alpine distro (#203790) 2024-01-30 14:22:03 +01:00
Robo fc9dcad098
fix: skip server requirements check based on file presence (#203729) 2024-01-29 19:55:17 +01:00
Robo 8baf105cbd
fix: skip glibc requirements check on nixos (#202982) 2024-01-22 09:51:44 +01:00
Sixia "Leask" Huang 216a8e66d3
fix: tweak check-requirements for calling ldconfig (#202645)
* tweak check-requirements for calling ldconfig

* apply patch
2024-01-19 05:05:56 +09:00
Robo fe7233fdfb
fix: avoid using libc as an executable test (#202680) 2024-01-17 20:26:54 +01:00
Robo 7fd2edcf46
fix: ensure requirements check works for libc development versions (#202660) 2024-01-17 12:18:31 +01:00
Kim Reenberg aed5f4d65d
fix: fallback to strings for non-executable libc.so.6 (#202581)
* fix: fallback to strings for non-executable libc.so.6

* chore: use cat over strings

---------

Co-authored-by: khreenberg <unknown>
Co-authored-by: Robo <hop2deep@gmail.com>
2024-01-17 06:29:01 +00:00
Robo 1339f075b1
fix: add linux library dependency check for remote server (#202210)
* fix: add linux library dependency check for remote server

* chore: add faq link

* chore: move to separate file for reuse

* chore: add option to skip check

* fix: check

* fix: package path

* fix: don't forget to exit main script
2024-01-15 17:43:42 +09:00
Martin Aeschlimann c2a9a86afa
Delete --compatibility=1.63 code from the server (#183738) 2023-05-29 15:24:14 -07:00
SteVen Batten f68ccb983b
pwa-wco (#164067)
* pwa-wco

* increase titlebar height with WCO as well

* remove unused import

* move to browser and fix compact menu case
2022-10-21 08:04:16 -07:00
Martin Aeschlimann fda5b84d5d
commit in route 2022-05-02 16:12:28 +02:00
Martin Aeschlimann 0c598d076b
darwin server scripts: apply shellcheck 2022-04-25 14:57:47 +02:00
Martin Aeschlimann 7239b78e14
server cli scripts: node not found 2022-03-31 12:22:04 +02:00
Martin Aeschlimann 465cac2c42
Use reallink for all server cli scripts 2022-03-24 15:56:16 +01:00
Martin Aeschlimann 1d05818236
code -server scrip: apply shellcheck 2022-03-16 14:52:27 +01:00
Martin Aeschlimann 5aee6939e2
darwin server script: do not use python. Fixes microsoft/vscode-remote-release#6442 2022-03-16 10:50:35 +01:00
Martin Aeschlimann 884273e35b
code server scripts: use realpath 2022-02-01 17:38:37 +01:00
Martin Aeschlimann 3640c1a425
move remote and web tests to scripts folder 2022-01-21 14:33:34 +01:00
Martin Aeschlimann f9cac7c28a
adopt --server-data-dir 2022-01-21 12:11:47 +01:00
Martin Aeschlimann dd0f0bda08
code-server dev script: fix open with connection token 2022-01-20 18:10:31 +01:00
Alex Dima 43d18c529c
Merge remote-tracking branch 'origin/main' into alex/issue-140997 2022-01-20 14:46:08 +01:00
Benjamin Pasero 13461f8c61
Web: change yarn web to run with our server instead of playground (#139725)
* web - first cut `yarn web` via our server

* properly pipe output

* web - remove traces of web playground

* web - remember last opened workspace for convinience

* use vscode-test-web for server less, clean up web commands

* fix comment

* fix `yarn web`

* rename to code-server

* open system browser

* code-server script: use minimist

* test resolver: use ./scripts/code-server

* integartion tests: fix code-server command name

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-01-20 13:48:08 +01:00
Alexandru Dima e5167eb8f2
Fix paths on Windows 2022-01-20 13:36:46 +01:00
Alex Dima 3b5afe84e8
Fixes #140997: Move server entry points to src/ 2022-01-20 09:31:00 +01:00
Martin Aeschlimann f4ba7dd12b
server bin cleanup 2022-01-11 16:34:28 +01:00
Filip Troníček 2e50cac1d4
Merge branch 'main' into ft/fix-136619 2021-11-15 17:44:50 +01:00
Benjamin Pasero bef4dba21f
Parcel update and CI improvements (#136830)
* 🆙 product

* 🆙 parcel/watcher

* 🆙 parcel/watcher

* tests - separate remote logs from others

* store server logs too

* more tweaks

* fix name

* error when 10s passed
2021-11-10 08:13:56 +01:00
Filip Troníček 8535fa1836 rename connectionToken to connection-token 2021-11-07 15:16:56 +00:00
Alex Dima 4cd2b53b31
Remove unnecessary scripts 2021-10-20 18:48:49 +02:00
Alex Dima 822f995357
Add server folder 2021-10-20 18:42:13 +02:00