Commit Graph

21 Commits

Author SHA1 Message Date
github-actions[bot] 1b53e4f712 feat(data): automatic update of static data (#45728)
* feat(data): automatic update of static data

* test(manager/mise): drop stale cargo-backend registry test

The mise registry now lists a github mirror for magika alongside its
cargo backend, so a bare `magika` entry resolves via the
github-prioritised branch (already covered by the
'prioritising the github backend over others' test) instead of cargo.
No tool in the current registry data reaches the cargo case through
the unprefixed lookup path anymore, and the cargo backend itself
stays covered by the explicit `cargo:` prefix test.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at>
2026-09-07 10:35:31 +00:00
github-actions[bot] df98f44df9 feat(data): automatic update of static data (#45551)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-30 12:14:54 +00:00
github-actions[bot] c05d35a3de feat(data): automatic update of static data (#45401)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-24 08:03:18 +00:00
github-actions[bot] abd9125174 feat(data): automatic update of static data (#45301)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-16 21:24:45 +00:00
github-actions[bot] 25a09ecb7e feat(data): automatic update of static data (#45163)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-09 08:17:28 +00:00
github-actions[bot] df2b4c16c0 feat(data): automatic update of static data (#45012)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-02 07:33:42 +00:00
github-actions[bot] bd8f8851dd feat(data): automatic update of static data (#44850)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-26 06:49:42 +00:00
github-actions[bot] fc68aea5f7 feat(data): automatic update of static data (#44699)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-19 07:55:17 +00:00
github-actions[bot] cfb9660464 feat(data): automatic update of static data (#44507)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-12 11:07:44 +00:00
github-actions[bot] 3373ac7ddf feat(data): automatic update of static data (#44367)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-05 06:33:55 +00:00
github-actions[bot] 27b87854df feat(data): automatic update of static data (#44274)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-28 14:13:27 +00:00
github-actions[bot] c145c012ee feat(data): automatic update of static data (#44121)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-21 05:53:31 +00:00
github-actions[bot] 89a217dbfb feat(data): automatic update of static data (#43983)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-14 14:24:32 +00:00
github-actions[bot] e065ed5da8 feat(data): automatic update of static data (#43847)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-06-08 11:43:29 +00:00
github-actions[bot] 15a73fb23f feat(data): automatic update of static data (#43702)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jamie Tanna <jamie.tanna@mend.io>
2026-06-01 08:13:34 +00:00
github-actions[bot] 442bb9c4ce feat(data): automatic update of static data (#43559)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2026-05-30 15:40:55 +00:00
github-actions[bot] 1f22c5eaf7 feat(data): automatic update of static data (#43399)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Jamie Tanna <jamie.tanna@mend.io>
2026-05-18 16:06:44 +00:00
Jamie Tanna f9486a0a69 docs: add the mise version into docs (#43420)
As a way of indicating how fresh our list of supported tools in the
registry is, we can make sure we populate the version into a note above
the table.

We can extract a type to make it easier to reference the parsed JSON
file.

This requires a small tweak to handle `content`'s table insertion.
2026-05-18 15:31:49 +00:00
github-actions[bot] 0522b4bbd8 feat(data): automatic update of static data (#43211)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-05-11 06:28:14 +00:00
github-actions[bot] af0b3b894e feat(data): automatic update of static data (#43079)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-05-04 08:59:01 +00:00
Jamie Tanna 2bd478fff4 feat(mise): automagically support all tools through Mise Registry (#42783)
* 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>
2026-04-28 08:56:09 +00:00