mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-22 04:32:25 +01:00
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
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_allowlist.py | ||
| test_check_allowlist.py | ||
| test_check.py | ||
| test_constraints.py | ||
| test_discover.py | ||
| test_edges.py | ||
| test_evaluate.py | ||
| test_golang.py | ||
| test_gradle_parser.py | ||
| test_gradle_registry.py | ||
| test_http.py | ||
| test_install_precommit_ci.py | ||
| test_install.py | ||
| test_parsers_edges.py | ||
| test_parsers.py | ||
| test_quarantine.py | ||
| test_registries.py | ||
| test_report.py | ||
| test_resolve.py | ||
| test_toolchain_registry.py | ||
| test_versions.py | ||
| test_workflow.py | ||