Unverified Commit 7b001c6a authored by Thiago Kenji Okada's avatar Thiago Kenji Okada Committed by GitHub
Browse files

jetbrains.idea-oss: 2025.3.1.1 -> 2025.3.2 (#483035)

parents 02565e88 27ff8d82
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -8,11 +8,11 @@
let
  src = mkJetBrainsSource {
    # update-script-start: source-args
    version = "2025.3.1.1";
    buildNumber = "253.29346.240";
    version = "2025.3.2";
    buildNumber = "253.30387.90";
    buildType = "idea";
    ideaHash = "sha256-L5O6QjDY3SqSQ1DnQTjIez7pIvPAdtOXP/+B05bAV+Q=";
    androidHash = "sha256-quMCzrjCKIo1pkzw4PWewAs5tz7A2aq7TI5zd+QaaUY=";
    ideaHash = "sha256-0WuTG1wQThWQv4Pzfw+48LDm4dvlfii/B+bwWdeGNTI=";
    androidHash = "sha256-USadXfyPu5boaCB+5rP+40Kd53LTRrrkRwgcbaxDgXg=";
    jpsHash = "sha256-iHpt926BDLNUwHRXvkqVgwlWiLo1qSZEaGeJcS0Fjmk=";
    restarterHash = "sha256-acCmC58URd6p9uKZrm0qWgdZkqu9yqCs23v8qgxV2Ag=";
    mvnDeps = ../source/idea_maven_artefacts.json;
+2 −2
Original line number Diff line number Diff line
@@ -50,14 +50,14 @@ let
  ideaSrc = fetchFromGitHub {
    owner = "jetbrains";
    repo = "intellij-community";
    rev = "${buildType}/${buildNumber}";
    rev = "${buildType}/${version}";
    hash = ideaHash;
  };

  androidSrc = fetchFromGitHub {
    owner = "jetbrains";
    repo = "android";
    rev = "${buildType}/${buildNumber}";
    rev = "${buildType}/${version}";
    hash = androidHash;
  };

+780 −225

File changed.

Preview size limit exceeded, changes collapsed.

+6 −8
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ def requested_kotlinc_version(root_path: Path) -> str:
        return version


def prefetch_intellij_community(variant: str, build_number: str) -> tuple[str, Path]:
def prefetch_intellij_community(variant: str, version: str) -> tuple[str, Path]:
    print("[*] Prefetching IntelliJ community source code...")
    prefetch = run_command(
        [
@@ -81,7 +81,7 @@ def prefetch_intellij_community(variant: str, build_number: str) -> tuple[str, P
            "source",
            "--type",
            "sha256",
            f"https://github.com/jetbrains/intellij-community/archive/{variant}/{build_number}.tar.gz",
            f"https://github.com/jetbrains/intellij-community/archive/{variant}/{version}.tar.gz",
        ]
    )
    parts = prefetch.split()
@@ -92,7 +92,7 @@ def prefetch_intellij_community(variant: str, build_number: str) -> tuple[str, P
    return (hash, Path(out_path))


def prefetch_android(variant: str, build_number: str) -> str:
def prefetch_android(variant: str, version: str) -> str:
    print("[*] Prefetching Android plugin source code...")
    prefetch = run_command(
        [
@@ -102,7 +102,7 @@ def prefetch_android(variant: str, build_number: str) -> str:
            "source",
            "--type",
            "sha256",
            f"https://github.com/jetbrains/android/archive/{variant}/{build_number}.tar.gz",
            f"https://github.com/jetbrains/android/archive/{variant}/{version}.tar.gz",
        ]
    )
    return convert_hash_to_sri(prefetch)
@@ -151,10 +151,8 @@ def maven_out_path(jb_root: Path, name: str) -> Path:

def run_src_update(ide: Ide, info: VersionInfo, config: UpdaterConfig):
    variant = ide.name.removesuffix("-oss")
    intellij_hash, intellij_outpath = prefetch_intellij_community(
        variant, info.build_number
    )
    android_hash = prefetch_android(variant, info.build_number)
    intellij_hash, intellij_outpath = prefetch_intellij_community(variant, info.version)
    android_hash = prefetch_android(variant, info.version)
    jps_hash = generate_jps_hash(config, intellij_outpath)
    restarter_hash = generate_restarter_hash(config, intellij_outpath)
    repositories = jar_repositories(intellij_outpath)