jetbrains.*-oss: update script: make maven dependency list stable (#480804)

This commit is contained in:
Matt Sturgeon
2026-01-20 22:18:28 +00:00
committed by GitHub
3 changed files with 13588 additions and 13587 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -1,3 +1,4 @@
import bisect
import os
from pathlib import Path
from tempfile import TemporaryDirectory
@@ -30,7 +31,7 @@ def add_entries(sources, targets, hashes):
if path == target["@url"]:
raise ValueError(f"Unexpected target path {path}")
hashes.append({"url": url, "hash": artefact["sha256sum"], "path": path})
bisect.insort(hashes, {"url": url, "hash": artefact["sha256sum"], "path": path}, key=lambda e: e["url"])
def add_libraries(