mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-22 03:52: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
|
||
|---|---|---|
| .. | ||
| parsers | ||
| registries | ||
| templates | ||
| tests | ||
| __init__.py | ||
| __main__.py | ||
| _tables.py | ||
| allowlist.py | ||
| cache.py | ||
| check.py | ||
| constraints.py | ||
| discover.py | ||
| evaluate.py | ||
| install_cli.py | ||
| install_main.py | ||
| install_precommit_ci.py | ||
| install.py | ||
| models.py | ||
| quarantine.py | ||
| report.py | ||
| resolve.py | ||
| versions.py | ||