mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-82344 Add registry key to ignore release channel requirement for PyCharm promo updates
(cherry picked from commit 4dd1f55db2f00d8ebc5ba8e9c68056164dfce081) GitOrigin-RevId: e2a0de701ff26d6e671416479a0bf6d76e3a4ca6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
273d23b6bd
commit
892496249a
+3
@@ -101,6 +101,9 @@
|
||||
<registryKey key="py.promo.remind.later.interval.seconds"
|
||||
defaultValue="259200"
|
||||
description="PyCharm promo remind-later fallback delay in seconds"/>
|
||||
<registryKey key="py.community.to.unified.test.ignore.release.channel"
|
||||
defaultValue="false"
|
||||
description="Ignores Release Channel requirement for promo mock update"/>
|
||||
<statistics.counterUsagesCollector implementationClass="com.intellij.pycharm.community.ide.impl.promotion.PyCharmPromoCollector"/>
|
||||
<statistics.counterUsagesCollector
|
||||
implementationClass="com.intellij.pycharm.community.ide.impl.promotion.communityToUnified.statistics.PyCommunityUnifiedPromoFusCollector"/>
|
||||
|
||||
+2
-1
@@ -122,7 +122,8 @@ internal class PyCommunityToUnifiedPromoService(val serviceScope: CoroutineScope
|
||||
}
|
||||
val platformUpdates = UpdateStrategy(build, product, updateSettings, customization).checkForUpdates()
|
||||
if (platformUpdates is PlatformUpdates.Loaded &&
|
||||
platformUpdates.updatedChannel.status == ChannelStatus.RELEASE &&
|
||||
(platformUpdates.updatedChannel.status == ChannelStatus.RELEASE ||
|
||||
Registry.`is`("py.community.to.unified.test.ignore.release.channel")) &&
|
||||
platformUpdates.newBuild.number.baselineVersion >= 253) {
|
||||
availableUpdate = platformUpdates
|
||||
return@withTimeout platformUpdates
|
||||
|
||||
Reference in New Issue
Block a user