diff --git a/lib/modules/manager/mise/extract.spec.ts b/lib/modules/manager/mise/extract.spec.ts index 94490592d39..c8d5c487d07 100644 --- a/lib/modules/manager/mise/extract.spec.ts +++ b/lib/modules/manager/mise/extract.spec.ts @@ -67,7 +67,6 @@ describe('modules/manager/mise/extract', () => { hivemind = "1.1.0" hk = "1.1.2" jq = "1.7.1" - kafka = "apache-3.9.0" lefthook = "1.11.13" localstack = "4.3.0" lychee = "0.19.1" @@ -208,12 +207,6 @@ describe('modules/manager/mise/extract', () => { extractVersion: '^jq-(?\\S+)', packageName: 'jqlang/jq', }, - { - currentValue: '3.9.0', - datasource: 'github-tags', - depName: 'kafka', - packageName: 'apache/kafka', - }, { currentValue: '1.11.13', datasource: 'github-releases', diff --git a/lib/modules/manager/mise/upgradeable-tooling.spec.ts b/lib/modules/manager/mise/upgradeable-tooling.spec.ts new file mode 100644 index 00000000000..b57ea3b2d8d --- /dev/null +++ b/lib/modules/manager/mise/upgradeable-tooling.spec.ts @@ -0,0 +1,21 @@ +import { miseTooling, parsedMiseRegistry } from './upgradeable-tooling.ts'; + +describe('modules/manager/mise/upgradeable-tooling', () => { + describe('supported tools', () => { + it('should stay in sync with the mise registry', () => { + // currently supported + const allShortToolNames = new Set([ + ...Object.keys(miseTooling), + // included in both, as it's the current set of supported + ...Object.keys(parsedMiseRegistry), + ]); + + const miseRegistrySupported = new Set(Object.keys(parsedMiseRegistry)); + + expect( + allShortToolNames, + 'Renovate should not support updating any short tool names that are not supported upstream by mise', + ).toEqual(miseRegistrySupported); + }); + }); +}); diff --git a/lib/modules/manager/mise/upgradeable-tooling.ts b/lib/modules/manager/mise/upgradeable-tooling.ts index 699d2154d30..90656130ac1 100644 --- a/lib/modules/manager/mise/upgradeable-tooling.ts +++ b/lib/modules/manager/mise/upgradeable-tooling.ts @@ -325,21 +325,6 @@ const miseRegistryTooling: Record = { extractVersion: '^jq-(?\\S+)', }, }, - kafka: { - misePluginUrl: 'https://mise.jdx.dev/registry.html#tools', - config: (version) => { - const apacheMatches = /^apache-(?\d\S+)/.exec(version)?.groups; - if (apacheMatches) { - return { - datasource: GithubTagsDatasource.id, - packageName: 'apache/kafka', - currentValue: apacheMatches.version, - }; - } - - return undefined; - }, - }, lefthook: { misePluginUrl: 'https://mise.jdx.dev/registry.html#tools', config: {