From c5f9b80f644a71291662d30dd8f4f590fd8540ef Mon Sep 17 00:00:00 2001 From: Nikita Iarychenko Date: Fri, 11 Jul 2025 13:02:18 +0400 Subject: [PATCH] OPENIDE #200 Move gits.json.xz from download.jetbrains.com to download.openide.ru (cherry picked from commit 236c0ea82d25d38f21e1bf0c2dfcbfaabeaecd28) (cherry picked from commit 919c717a7d19e1a9a5f962231709ea46c548f050) --- .../git4idea/src/git4idea/config/GitDownloadAndInstall.kt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/git4idea/src/git4idea/config/GitDownloadAndInstall.kt b/plugins/git4idea/src/git4idea/config/GitDownloadAndInstall.kt index 8ccfda4650fa..b2cabf227f0d 100644 --- a/plugins/git4idea/src/git4idea/config/GitDownloadAndInstall.kt +++ b/plugins/git4idea/src/git4idea/config/GitDownloadAndInstall.kt @@ -1,4 +1,7 @@ -// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +// +// Modified by Nikita Iarychenko at 2025 as part of the OpenIDE project(https://openide.ru). +// Any modifications are available on the same license terms as the original source code. package git4idea.config import com.fasterxml.jackson.databind.ObjectMapper @@ -17,7 +20,7 @@ import org.tukaani.xz.XZInputStream import java.io.ByteArrayInputStream import java.io.File -private const val feedUrl = "https://download.jetbrains.com/jdk/feed/v1/gits.json.xz" +private const val feedUrl = "https://download.openide.ru/jdk/feed/v1/gits.json.xz" private val LOG = Logger.getInstance("#git4idea.config.GitDownloadAndInstall") fun downloadAndInstallGit(project: Project, onSuccess: () -> Unit = {}) {