From 79752e5ba366813a6e0bd8dfaf91fa8352392957 Mon Sep 17 00:00:00 2001 From: Ioan Faur Date: Thu, 4 Aug 2022 23:32:49 +0300 Subject: [PATCH 1/3] Upgrade: minimum supported build to 222.3739.24 --- gradle.properties | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 77f868d5..e369942c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,13 +6,13 @@ pluginName=coder-gateway pluginVersion=2.0.0 # See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html # for insight into build numbers and IntelliJ Platform versions. -pluginSinceBuild=222.3345.108 +pluginSinceBuild=222.3739.24 pluginUntilBuild=222.* # IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties # Gateway available build versions https://www.jetbrains.com/intellij-repository/snapshots and https://www.jetbrains.com/intellij-repository/releases platformType=GW -platformVersion=222.3345.108-CUSTOM-SNAPSHOT -instrumentationCompiler=222.3345.108-CUSTOM-SNAPSHOT +platformVersion=222.3739.24-CUSTOM-SNAPSHOT +instrumentationCompiler=222.3739.24-CUSTOM-SNAPSHOT platformDownloadSources=true # Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html # Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22 From 1d484e274f30e85ec247e6973d1b788d52974bbb Mon Sep 17 00:00:00 2001 From: Ioan Faur Date: Thu, 4 Aug 2022 23:36:12 +0300 Subject: [PATCH 2/3] Migrate code to the new API --- CHANGELOG.md | 1 + .../gateway/views/steps/CoderLocateRemoteProjectStepView.kt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f87d503b..68376a40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ ### Changed - links to documentation now point to the latest Coder OSS - simplified main action link text from `Connect to Coder Workspaces` to `Connect to Coder` +- minimum supported Gateway build is now 222.3739.24 ## [2.0.0] ### Added diff --git a/src/main/kotlin/com/coder/gateway/views/steps/CoderLocateRemoteProjectStepView.kt b/src/main/kotlin/com/coder/gateway/views/steps/CoderLocateRemoteProjectStepView.kt index a7d7c6b2..7d494748 100644 --- a/src/main/kotlin/com/coder/gateway/views/steps/CoderLocateRemoteProjectStepView.kt +++ b/src/main/kotlin/com/coder/gateway/views/steps/CoderLocateRemoteProjectStepView.kt @@ -145,8 +145,8 @@ class CoderLocateRemoteProjectStepView(private val disableNextAction: () -> Unit val idesWithStatus = withContext(Dispatchers.IO) { IntelliJPlatformProduct.values() .filter { it.showInGateway } - .flatMap { CachingProductsJsonWrapper.getAvailableIdes(it, workspaceOS) } - .map { ide -> IdeWithStatus(ide.product, ide.buildNumber, IdeStatus.DOWNLOAD, ide.download, null, ide.presentableVersion) } + .flatMap { CachingProductsJsonWrapper.getInstance().getAvailableIdes(it, workspaceOS) } + .map { ide -> IdeWithStatus(ide.product, ide.buildNumber, IdeStatus.DOWNLOAD, ide.download, null, ide.presentableVersion, ide.remoteDevType) } } if (idesWithStatus.isEmpty()) { From 12f00fefee0abf0170ed0a6ce84ce55405a0f3c4 Mon Sep 17 00:00:00 2001 From: Ioan Faur Date: Fri, 5 Aug 2022 00:42:22 +0300 Subject: [PATCH 3/3] Increase version: 2.0.1 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index e369942c..91f67785 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ pluginGroup=com.coder.gateway pluginName=coder-gateway # SemVer format -> https://semver.org -pluginVersion=2.0.0 +pluginVersion=2.0.1 # See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html # for insight into build numbers and IntelliJ Platform versions. pluginSinceBuild=222.3739.24