diff --git a/lib/modules/datasource/conan/index.ts b/lib/modules/datasource/conan/index.ts index 2a82502dc0079048518310772bec6b3ba0725c98..a25d36280cc408aa5a4f517f92225a729d9759a2 100644 --- a/lib/modules/datasource/conan/index.ts +++ b/lib/modules/datasource/conan/index.ts @@ -74,10 +74,10 @@ export class ConanDatasource extends Datasource { } @cache({ - namespace: `datasource-${datasource}-revisions`, + namespace: `datasource-${datasource}`, key: ({ registryUrl, packageName }: DigestConfig, newValue?: string) => // TODO: types (#22198) - `${registryUrl!}:${packageName}:${newValue!}`, + `getDigest:${registryUrl!}:${packageName}:${newValue!}`, }) override async getDigest( { registryUrl, packageName }: DigestConfig, @@ -106,7 +106,7 @@ export class ConanDatasource extends Datasource { namespace: `datasource-${datasource}`, key: ({ registryUrl, packageName }: GetReleasesConfig) => // TODO: types (#22198) - `${registryUrl}:${packageName}`, + `getReleases:${registryUrl}:${packageName}`, }) async getReleases({ registryUrl, diff --git a/lib/util/cache/package/types.ts b/lib/util/cache/package/types.ts index ae3e9ddc240584d19718d6678cb4ec8bdced0691..faff79c6e6c931611babf9bdcb31f7d69c0deebb 100644 --- a/lib/util/cache/package/types.ts +++ b/lib/util/cache/package/types.ts @@ -36,7 +36,6 @@ export type PackageCacheNamespace = | 'datasource-bitrise' | 'datasource-cdnjs-digest' | 'datasource-cdnjs' - | 'datasource-conan-revisions' | 'datasource-conan' | 'datasource-conda' | 'datasource-cpan'