forked from eclipse-theia/theia-ide
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
18 changed files
with
1,125 additions
and
666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -264,8 +264,11 @@ spec: | |
} | ||
container('jnlp') { | ||
script { | ||
echo 'Computing updatable versions before uploading new installer' | ||
def updatableVersions = getUpdatableVersions() | ||
echo 'updatableVersions: ' + updatableVersions | ||
uploadInstaller('windows') | ||
copyInstallerAndUpdateLatestYml('windows', 'TheiaIDESetup', 'exe', 'latest.yml', '1.46.0,1.46.100,1.47.0,1.47.100,1.48.0,1.48.300,1.49.100,1.49.101,1.50.0,1.50.100,1.51.0,1.52.0,1.53.100,1.53.200') | ||
copyInstallerAndUpdateLatestYml('windows', 'TheiaIDESetup', 'exe', 'latest.yml', updatableVersions) | ||
} | ||
} | ||
} | ||
|
@@ -413,6 +416,32 @@ def uploadInstaller(String platform) { | |
} | ||
} | ||
|
||
/** | ||
* List all directories in the ide-preview directory. | ||
* Only takes the ones with a version identifier name. | ||
* Only take version numbers lower than the current version. | ||
*/ | ||
def getUpdatableVersions() { | ||
def packageJSON = readJSON file: "package.json" | ||
String currentVersion = "${packageJSON.version}" | ||
|
||
def versions = '' | ||
|
||
sshagent(['projects-storage.eclipse.org-bot-ssh']) { | ||
versions = sh( | ||
script: """ | ||
ssh [email protected] "cd /home/data/httpd/download.eclipse.org/theia/ide-preview/ && \ | ||
find . -maxdepth 1 -type d -regex '.*/[0-9]+\\.[0-9]+\\.[0-9]+' -exec basename {} \\; | sort -V | awk -v curVer='${currentVersion}' '{ | ||
if (\\\$1 != curVer && \\\$1 < curVer) print \\\$1 | ||
}' | paste -sd ','" | ||
""", | ||
returnStdout: true | ||
).trim() | ||
} | ||
|
||
return versions | ||
} | ||
|
||
/** | ||
* Currently we have the windows updater available twice with different names. | ||
* We want to have a name without the versions for providing a stable download link. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,16 +3,16 @@ | |
"name": "theia-ide-browser-app", | ||
"description": "Eclipse Theia IDE browser product", | ||
"productName": "Theia IDE", | ||
"version": "1.54.0", | ||
"version": "1.55.0", | ||
"license": "MIT", | ||
"author": "Eclipse Theia <[email protected]>", | ||
"homepage": "https://github.com/eclipse-theia/theia-blueprint#readme", | ||
"homepage": "https://github.com/eclipse-theia/theia-ide#readme", | ||
"bugs": { | ||
"url": "https://github.com/eclipse-theia/theia/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/eclipse-theia/theia-blueprint.git" | ||
"url": "git+https://github.com/eclipse-theia/theia-ide.git" | ||
}, | ||
"engines": { | ||
"yarn": ">=1.7.0 <2", | ||
|
@@ -34,7 +34,8 @@ | |
"config": { | ||
"warnOnPotentiallyInsecureHostPattern": false, | ||
"startupTimeout": -1, | ||
"resolveSystemPlugins": false | ||
"resolveSystemPlugins": false, | ||
"configurationFolder": ".theia-ide" | ||
} | ||
}, | ||
"generator": { | ||
|
@@ -44,53 +45,54 @@ | |
} | ||
}, | ||
"dependencies": { | ||
"@theia/bulk-edit": "1.54.0", | ||
"@theia/callhierarchy": "1.54.0", | ||
"@theia/console": "1.54.0", | ||
"@theia/core": "1.54.0", | ||
"@theia/debug": "1.54.0", | ||
"@theia/dev-container": "1.54.0", | ||
"@theia/editor": "1.54.0", | ||
"@theia/editor-preview": "1.54.0", | ||
"@theia/external-terminal": "1.54.0", | ||
"@theia/file-search": "1.54.0", | ||
"@theia/filesystem": "1.54.0", | ||
"@theia/getting-started": "1.54.0", | ||
"@theia/keymaps": "1.54.0", | ||
"@theia/markers": "1.54.0", | ||
"@theia/memory-inspector": "1.54.0", | ||
"@theia/messages": "1.54.0", | ||
"@theia/metrics": "1.54.0", | ||
"@theia/mini-browser": "1.54.0", | ||
"@theia/monaco": "1.54.0", | ||
"@theia/navigator": "1.54.0", | ||
"@theia/outline-view": "1.54.0", | ||
"@theia/output": "1.54.0", | ||
"@theia/plugin-dev": "1.54.0", | ||
"@theia/plugin-ext": "1.54.0", | ||
"@theia/plugin-ext-vscode": "1.54.0", | ||
"@theia/preferences": "1.54.0", | ||
"@theia/process": "1.54.0", | ||
"@theia/property-view": "1.54.0", | ||
"@theia/remote": "1.54.0", | ||
"@theia/scm": "1.54.0", | ||
"@theia/search-in-workspace": "1.54.0", | ||
"@theia/secondary-window": "1.54.0", | ||
"@theia/task": "1.54.0", | ||
"@theia/terminal": "1.54.0", | ||
"@theia/timeline": "1.54.0", | ||
"@theia/toolbar": "1.54.0", | ||
"@theia/typehierarchy": "1.54.0", | ||
"@theia/userstorage": "1.54.0", | ||
"@theia/variable-resolver": "1.54.0", | ||
"@theia/vsx-registry": "1.54.0", | ||
"@theia/workspace": "1.54.0", | ||
"@theia/bulk-edit": "1.55.0", | ||
"@theia/callhierarchy": "1.55.0", | ||
"@theia/collaboration": "1.55.0", | ||
"@theia/console": "1.55.0", | ||
"@theia/core": "1.55.0", | ||
"@theia/debug": "1.55.0", | ||
"@theia/dev-container": "1.55.0", | ||
"@theia/editor": "1.55.0", | ||
"@theia/editor-preview": "1.55.0", | ||
"@theia/external-terminal": "1.55.0", | ||
"@theia/file-search": "1.55.0", | ||
"@theia/filesystem": "1.55.0", | ||
"@theia/getting-started": "1.55.0", | ||
"@theia/keymaps": "1.55.0", | ||
"@theia/markers": "1.55.0", | ||
"@theia/memory-inspector": "1.55.0", | ||
"@theia/messages": "1.55.0", | ||
"@theia/metrics": "1.55.0", | ||
"@theia/mini-browser": "1.55.0", | ||
"@theia/monaco": "1.55.0", | ||
"@theia/navigator": "1.55.0", | ||
"@theia/outline-view": "1.55.0", | ||
"@theia/output": "1.55.0", | ||
"@theia/plugin-dev": "1.55.0", | ||
"@theia/plugin-ext": "1.55.0", | ||
"@theia/plugin-ext-vscode": "1.55.0", | ||
"@theia/preferences": "1.55.0", | ||
"@theia/process": "1.55.0", | ||
"@theia/property-view": "1.55.0", | ||
"@theia/remote": "1.55.0", | ||
"@theia/scm": "1.55.0", | ||
"@theia/search-in-workspace": "1.55.0", | ||
"@theia/secondary-window": "1.55.0", | ||
"@theia/task": "1.55.0", | ||
"@theia/terminal": "1.55.0", | ||
"@theia/timeline": "1.55.0", | ||
"@theia/toolbar": "1.55.0", | ||
"@theia/typehierarchy": "1.55.0", | ||
"@theia/userstorage": "1.55.0", | ||
"@theia/variable-resolver": "1.55.0", | ||
"@theia/vsx-registry": "1.55.0", | ||
"@theia/workspace": "1.55.0", | ||
"fs-extra": "^9.0.1", | ||
"theia-ide-product-ext": "1.54.0", | ||
"theia-ide-product-ext": "1.55.0", | ||
"@eclipse-theiacloud/monitor-theia": "0.11.1" | ||
}, | ||
"devDependencies": { | ||
"@theia/cli": "1.54.0" | ||
"@theia/cli": "1.55.0" | ||
}, | ||
"scripts": { | ||
"clean": "theia clean && rimraf node_modules", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,17 +3,17 @@ | |
"name": "theia-ide-electron-app", | ||
"description": "Eclipse Theia IDE product", | ||
"productName": "Theia IDE", | ||
"version": "1.54.0", | ||
"version": "1.55.0", | ||
"main": "scripts/theia-electron-main.js", | ||
"license": "MIT", | ||
"author": "Eclipse Theia <[email protected]>", | ||
"homepage": "https://github.com/eclipse-theia/theia-blueprint#readme", | ||
"homepage": "https://github.com/eclipse-theia/theia-ide#readme", | ||
"bugs": { | ||
"url": "https://github.com/eclipse-theia/theia/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/eclipse-theia/theia-blueprint.git" | ||
"url": "git+https://github.com/eclipse-theia/theia-ide.git" | ||
}, | ||
"engines": { | ||
"yarn": ">=1.7.0 <2", | ||
|
@@ -43,7 +43,8 @@ | |
"config": { | ||
"frontendConnectionTimeout": -1, | ||
"startupTimeout": -1, | ||
"resolveSystemPlugins": false | ||
"resolveSystemPlugins": false, | ||
"configurationFolder": ".theia-ide" | ||
} | ||
}, | ||
"generator": { | ||
|
@@ -53,55 +54,56 @@ | |
} | ||
}, | ||
"dependencies": { | ||
"@theia/bulk-edit": "1.54.0", | ||
"@theia/callhierarchy": "1.54.0", | ||
"@theia/console": "1.54.0", | ||
"@theia/core": "1.54.0", | ||
"@theia/debug": "1.54.0", | ||
"@theia/dev-container": "1.54.0", | ||
"@theia/editor": "1.54.0", | ||
"@theia/editor-preview": "1.54.0", | ||
"@theia/electron": "1.54.0", | ||
"@theia/external-terminal": "1.54.0", | ||
"@theia/file-search": "1.54.0", | ||
"@theia/filesystem": "1.54.0", | ||
"@theia/getting-started": "1.54.0", | ||
"@theia/keymaps": "1.54.0", | ||
"@theia/markers": "1.54.0", | ||
"@theia/memory-inspector": "1.54.0", | ||
"@theia/messages": "1.54.0", | ||
"@theia/metrics": "1.54.0", | ||
"@theia/mini-browser": "1.54.0", | ||
"@theia/monaco": "1.54.0", | ||
"@theia/navigator": "1.54.0", | ||
"@theia/outline-view": "1.54.0", | ||
"@theia/output": "1.54.0", | ||
"@theia/plugin-dev": "1.54.0", | ||
"@theia/plugin-ext": "1.54.0", | ||
"@theia/plugin-ext-vscode": "1.54.0", | ||
"@theia/preferences": "1.54.0", | ||
"@theia/process": "1.54.0", | ||
"@theia/property-view": "1.54.0", | ||
"@theia/remote": "1.54.0", | ||
"@theia/scm": "1.54.0", | ||
"@theia/search-in-workspace": "1.54.0", | ||
"@theia/secondary-window": "1.54.0", | ||
"@theia/task": "1.54.0", | ||
"@theia/terminal": "1.54.0", | ||
"@theia/timeline": "1.54.0", | ||
"@theia/toolbar": "1.54.0", | ||
"@theia/typehierarchy": "1.54.0", | ||
"@theia/userstorage": "1.54.0", | ||
"@theia/variable-resolver": "1.54.0", | ||
"@theia/vsx-registry": "1.54.0", | ||
"@theia/workspace": "1.54.0", | ||
"@theia/bulk-edit": "1.55.0", | ||
"@theia/callhierarchy": "1.55.0", | ||
"@theia/collaboration": "1.55.0", | ||
"@theia/console": "1.55.0", | ||
"@theia/core": "1.55.0", | ||
"@theia/debug": "1.55.0", | ||
"@theia/dev-container": "1.55.0", | ||
"@theia/editor": "1.55.0", | ||
"@theia/editor-preview": "1.55.0", | ||
"@theia/electron": "1.55.0", | ||
"@theia/external-terminal": "1.55.0", | ||
"@theia/file-search": "1.55.0", | ||
"@theia/filesystem": "1.55.0", | ||
"@theia/getting-started": "1.55.0", | ||
"@theia/keymaps": "1.55.0", | ||
"@theia/markers": "1.55.0", | ||
"@theia/memory-inspector": "1.55.0", | ||
"@theia/messages": "1.55.0", | ||
"@theia/metrics": "1.55.0", | ||
"@theia/mini-browser": "1.55.0", | ||
"@theia/monaco": "1.55.0", | ||
"@theia/navigator": "1.55.0", | ||
"@theia/outline-view": "1.55.0", | ||
"@theia/output": "1.55.0", | ||
"@theia/plugin-dev": "1.55.0", | ||
"@theia/plugin-ext": "1.55.0", | ||
"@theia/plugin-ext-vscode": "1.55.0", | ||
"@theia/preferences": "1.55.0", | ||
"@theia/process": "1.55.0", | ||
"@theia/property-view": "1.55.0", | ||
"@theia/remote": "1.55.0", | ||
"@theia/scm": "1.55.0", | ||
"@theia/search-in-workspace": "1.55.0", | ||
"@theia/secondary-window": "1.55.0", | ||
"@theia/task": "1.55.0", | ||
"@theia/terminal": "1.55.0", | ||
"@theia/timeline": "1.55.0", | ||
"@theia/toolbar": "1.55.0", | ||
"@theia/typehierarchy": "1.55.0", | ||
"@theia/userstorage": "1.55.0", | ||
"@theia/variable-resolver": "1.55.0", | ||
"@theia/vsx-registry": "1.55.0", | ||
"@theia/workspace": "1.55.0", | ||
"fs-extra": "^9.0.1", | ||
"theia-ide-launcher-ext": "1.54.0", | ||
"theia-ide-product-ext": "1.54.0", | ||
"theia-ide-updater-ext": "1.54.0" | ||
"theia-ide-launcher-ext": "1.55.0", | ||
"theia-ide-product-ext": "1.55.0", | ||
"theia-ide-updater-ext": "1.55.0" | ||
}, | ||
"devDependencies": { | ||
"@theia/cli": "1.54.0", | ||
"@theia/cli": "1.55.0", | ||
"@types/js-yaml": "^3.12.0", | ||
"@types/yargs": "17.0.7", | ||
"@wdio/cli": "^6.10.2", | ||
|
Oops, something went wrong.