mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-26 07:20:39 +00:00
2bd478fff4
* feat(mise): automagically support all tools through Mise Registry As noted in #42250, we should try and auto-support tools from Mise where possible. Similar to other areas of the codebase, we should use the "static data" pattern, and periodically sync the `mise registry --json` output with `lib/data/mise-registry.json`, and then auto-detect the tools that we support through the known backends the tools support. This takes lower precedence than existing in-code tool definitions, so we can still provide an "override" if we can support lookups or version extraction more appropriately. Because we now have many more tools we (mostly) support out-of-the-box, we need to provide an improved documentation page, and: - only link to tools we have an explicit tools URL for - note where a backend may not be supported To automate the updating of this data, we: - make sure we have `mise` in GitHub Actions, before we run - don't pin the `mise` version to make sure that we're always seeing the latest supported tools - make sure the commits generated are now `feat(...)`, as they introduce functionality changes (in the case new tool(s) are supported) This improves support from ~170 tool short names to just over 1000. Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io> * refactor: use Typescript As we can now, we should. Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io> * refactor(tools/static-data): use Zod schemas for parsing Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io> * refactor(mise): use Zod for types Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io> * chore(mise): prefer the GitHub backend over other sources As we generally prefer it as a project, we should automagically use that when looking at a mise registry entry. With help from GPT-4.1 to write the `sortBackend` function. Co-authored-by: gpt-4.1 <jamie.tanna+github-copilot@mend.io> * test: ignore else coverage * docs(mise): preference of `github` backend * docs(mise): auto-link autogenerated tools * perf(mise): sort registry only once * refactor(mise): transform when parsing Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com> * refactor: use `execa` * perf(mise): read the Mise registry once * perf(mise): pre-transform --------- Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io> Co-authored-by: gpt-4.1 <jamie.tanna+github-copilot@mend.io> Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>