utils/dep_freshness/tests
Krzysztof kuhy Rudnicki a4ea305164 dep_freshness: Gradle ecosystem -- version catalogs, wrapper, Maven registries
The gate had no way to read a Gradle build, which left the two Kotlin
forks (tachiyomisy, syncyomi-src) outside the fleet-wide rule.

- parsers/gradle.py reads gradle/libs.versions.toml ([libraries] and
  [plugins] in every shape: inline string, module + version.ref,
  group/name/version, rich {strictly|require|prefer} tables) into
  `maven:<group>:<artifact>` deps, pointing the fix at the [versions]
  line when a ref is used; BOM-managed entries without a version are
  skipped. gradle-wrapper.properties becomes `toolchain:gradle`.
- registries/maven.py asks Google Maven, Central and the plugin portal
  in that order, reading the full <versions> list -- AndroidX writes
  alphas into <latest>. Plugins resolve through their marker artifact.
- registries/toolchain.gradle_latest reads services.gradle.org.
- http.get_text shares the transport with get_json (XML bodies).
- Templates: the pre-commit `files:` and the CI cache key know the
  catalog. 100% branch on every new file; fixtures only.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Yc4TiPjhbQLfH35QBPfrbP
2026-09-12 19:10:42 +02:00
..
__init__.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
conftest.py Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 18:45:55 +02:00
test_allowlist.py Make the allowlist inheritable, and cache the quarantine lookups 2026-08-28 13:58:44 +02:00
test_check_allowlist.py An exception excuses the version it names, not the package 2026-08-28 15:26:12 +02:00
test_check.py Don't judge allowlist rot from a file-scoped run; cut two library versions 2026-08-28 14:07:09 +02:00
test_constraints.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
test_discover.py dep_freshness: Gradle ecosystem -- version catalogs, wrapper, Maven registries 2026-09-12 19:10:42 +02:00
test_edges.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
test_evaluate.py One Python per repo, always the newest, and the gate that enforces it 2026-08-28 20:58:19 +02:00
test_golang.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
test_gradle_parser.py dep_freshness: Gradle ecosystem -- version catalogs, wrapper, Maven registries 2026-09-12 19:10:42 +02:00
test_gradle_registry.py dep_freshness: Gradle ecosystem -- version catalogs, wrapper, Maven registries 2026-09-12 19:10:42 +02:00
test_http.py dep_freshness: Gradle ecosystem -- version catalogs, wrapper, Maven registries 2026-09-12 19:10:42 +02:00
test_install_precommit_ci.py Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 18:45:55 +02:00
test_install.py Refuse to overwrite utils' own checker with the delegate shim 2026-08-28 16:02:34 +02:00
test_parsers_edges.py See git-tag pins in Python requirements; cut crdt-sync 0.9.1, gatelock 0.7.2 2026-08-28 14:52:19 +02:00
test_parsers.py dep_freshness: accept Cargo's =x.y.z as the exact pin it is 2026-09-06 18:07:10 +02:00
test_quarantine.py Make the allowlist inheritable, and cache the quarantine lookups 2026-08-28 13:58:44 +02:00
test_registries.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
test_report.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
test_resolve.py Never cache the Python target: it describes this process, not a registry 2026-08-28 19:33:09 +02:00
test_toolchain_registry.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
test_versions.py Accept exact pins with more than three version components 2026-08-28 13:37:12 +02:00
test_workflow.py One Python per repo, always the newest, and the gate that enforces it 2026-08-28 20:58:19 +02:00