Skip to content

Commit 59707e6

Browse files
akosyakovjeanp413
authored andcommitted
rename web-server to opencode
1 parent 76fc044 commit 59707e6

File tree

4 files changed

+26
-21
lines changed

4 files changed

+26
-21
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ docker run -it --init -p 3000:3000 -v "$(pwd):/home/workspace:cached" gitpod/ope
3131
- [Download the latest release](https://github.com/gitpod-io/openvscode-server/releases/latest)
3232
- untar and run the server:
3333
```bash
34-
tar -xzf code-web-server-v${OPENVSCODE_SERVER_VERSION}.tar.gz
35-
cd code-web-server-v${OPENVSCODE_SERVER_VERSION}
34+
tar -xzf openvscode-server-v${OPENVSCODE_SERVER_VERSION}.tar.gz
35+
cd openvscode-server-v${OPENVSCODE_SERVER_VERSION}
3636
./server.sh
3737
```
3838
- after this, visit [localhost:3000](http://localhost:3000).
@@ -69,4 +69,4 @@ This project really only adds the minimal bits required to run VS Code in a serv
6969
- Check server/browser logs for any warnings/errors about missing capabilities and fix them.
7070
- Build the production server with all changes: `yarn gulp server-min`.
7171
- Run it and play as with the dev server: `/workspace/server-pkg/server.sh`
72-
- Open a PR with your changes and ask for help if needed. It should be agaist `gitpod-io/openvscode-server` repo and `web-server` branch!
72+
- Open a PR with your changes and ask for help if needed. It should be agaist `gitpod-io/openvscode-server` repo and `main` branch!

build/gulpfile.server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*!--------------------------------------------------------
1+
/*--------------------------------------------------------
22
* Copyright (C) Gitpod. All rights reserved.
33
*--------------------------------------------------------*/
44

@@ -22,7 +22,7 @@ const vfs = require('vinyl-fs');
2222
const packageJson = require('../package.json');
2323

2424
const { compileBuildTask } = require('./gulpfile.compile');
25-
gulp.task(task.define('compile-web-server', compileBuildTask));
25+
gulp.task(task.define('compile-server', compileBuildTask));
2626
const { compileExtensionsCi } = require('./gulpfile.extensions');
2727

2828
gulp.task(task.define('watch-init', require('./lib/compilation').watchTask('out', false)));

build/hygiene.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function hygiene(some, linting = true) {
5959
});
6060

6161
const copyrights = es.through(function (file) {
62-
if (file.relative.indexOf('vs/server') === -1) {
62+
if (file.relative.indexOf('vs/server') === -1 && file.relative.indexOf('gulpfile.server') === -1) {
6363
const lines = file.__lines;
6464

6565
for (let i = 0; i < copyrightHeaderLines.length; i++) {

product.json

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
11
{
2-
"nameShort": "Code Web Server",
3-
"nameLong": "Code Web Server",
4-
"applicationName": "code-web-server",
5-
"dataFolderName": ".code-web-server",
6-
"win32MutexName": "codewebserver",
2+
"nameShort": "OpenVSCode Server",
3+
"nameLong": "OpenVSCode Server",
4+
"applicationName": "opencode-server",
5+
"dataFolderName": ".opencode-server",
6+
"win32MutexName": "opencodeserver",
77
"licenseName": "MIT",
8-
"licenseUrl": "https://github.com/gitpod-io/vscode/blob/web-server/LICENSE.txt",
9-
"win32DirName": "Code Web Server",
10-
"win32NameVersion": "Code Web Server",
11-
"win32RegValueName": "CodeWebServer",
8+
"licenseUrl": "https://github.com/gitpod-io/vscode/blob/main/LICENSE.txt",
9+
"win32DirName": "OpenCode Server",
10+
"win32NameVersion": "OpenCode Server",
11+
"win32RegValueName": "OpenCodeServer",
1212
"win32AppId": "{{E34003BB-9E10-4501-8C11-BE3FAA83F23F}",
1313
"win32x64AppId": "{{D77B7E06-80BA-4137-BCF4-654B95CCEBC5}",
1414
"win32arm64AppId": "{{D1ACE434-89C5-48D1-88D3-E2991DF85475}",
1515
"win32UserAppId": "{{C6065F05-9603-4FC4-8101-B9781A25D88E}",
1616
"win32x64UserAppId": "{{CC6B787D-37A0-49E8-AE24-8559A032BE0C}",
1717
"win32arm64UserAppId": "{{3AEBF0C8-F733-4AD4-BADE-FDB816D53D7B}",
18-
"win32AppUserModelId": "Gitp&d.Code",
19-
"win32ShellNameShort": "Gitp&od C&ode",
20-
"darwinBundleIdentifier": "code.web.server",
21-
"linuxIconName": "code.web.server",
18+
"win32AppUserModelId": "OpenCode",
19+
"win32ShellNameShort": "OpenC&ode",
20+
"darwinBundleIdentifier": "opencode.server",
21+
"linuxIconName": "opencode.server",
2222
"licenseFileName": "LICENSE.txt",
2323
"reportIssueUrl": "https://github.com/gitpod-io/gitpod/issues/new",
24-
"urlProtocol": "code-web-server",
24+
"urlProtocol": "opencode-server",
2525
"extensionAllowedProposedApi": [
2626
"GitHub.vscode-pull-request-github-insiders",
2727
"GitHub.vscode-pull-request-github",
28-
"GitHub.vscode-pull-request-github-insiders",
2928
"ms-python.python",
3029
"ms-toolsai.jupyter",
3130
"ms-vscode.js-debug-nightly",
@@ -72,6 +71,7 @@
7271
"christian-kohler.npm-intellisense": "{**/package.json}",
7372
"octref.vetur": "{**/*.vue}",
7473
"ms-python.python": "{**/*.py,**/*.ipynb}",
74+
"ms-toolsai.jupyter": "{**/*.ipynb}",
7575
"cake-build.cake-vscode": "{**/build.cake}",
7676
"Angular.ng-template": "{**/.angular-cli.json,**/angular.json,**/*.ng.html,**/*.ng,**/*.ngml}",
7777
"vscjava.vscode-maven": "**/pom.xml",
@@ -90,6 +90,10 @@
9090
],
9191
"pattern": "{**/*.py,**/*.ipynb}"
9292
},
93+
"ms-toolsai.jupyter": {
94+
"name": "Jupyter",
95+
"pattern": "{**/*.ipynb}"
96+
},
9397
"golang.Go": {
9498
"name": "Go",
9599
"languages": [
@@ -165,6 +169,7 @@
165169
],
166170
"languageExtensionTips": [
167171
"ms-python.python",
172+
"ms-toolsai.jupyter",
168173
"vscjava.vscode-java-pack",
169174
"ecmel.vscode-html-css",
170175
"octref.vetur",

0 commit comments

Comments
 (0)