From 3b071a24e4d588bdd8f33a483c50621644e28629 Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Thu, 6 Aug 2026 22:03:04 +0200 Subject: [PATCH] fix(bun): switch to matchDepNames for runtime version bundle (#122) In logs, we see that the actual package name for the docker Dependency is our cache. This PR tries to match by depName instead of packageName. ```plain { "deps": [ { "depName": "Bun", "packageName": "bun", "currentValue": "1.3.6", "datasource": "npm", "updates": [ { "bucket": "non-major", "newVersion": "1.3.14", "newValue": "1.3.14", "hasAttestation": false, "releaseTimestamp": "2026-05-13T04:02:43.309Z", "newVersionAgeInDays": 85, "newMajor": 1, "newMinor": 3, "newPatch": 14, "updateType": "patch", "isBreaking": false, "libYears": 0.3289416609271943, "branchName": "renovate/bun-version" } ], "versioning": "npm", "warnings": [], "sourceUrl": "https://github.com/oven-sh/bun", "registryUrl": "https://registry.npmjs.org", "homepage": "https://bun.com", "mostRecentTimestamp": "2026-05-13T04:02:43.309Z", "isAbandoned": false, "currentVersion": "1.3.6", "currentVersionTimestamp": "2026-01-13T02:30:59.090Z", "currentVersionAgeInDays": 205, "isSingleVersion": true, "fixedVersion": "1.3.6" } ], "packageFile": ".bun-version" } ], "dockerfile": [ { "deps": [ { "depName": "docker.io/oven/bun", "packageName": "docker-cache.gitea.t00n.de/oven/bun", "currentValue": "1.3.6", "currentDigest": "sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a", "datasource": "docker", "replaceString": "docker.io/oven/bun:1.3.6@sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a", "autoReplaceStringTemplate": "docker.io/oven/bun:{{#if newValue}}{{newValue}}{{/if}}@{{#if newDigest}}{{newDigest}}{{/if}}", "depType": "final", "updates": [ { "bucket": "non-major", "newVersion": "1.3.14", "newValue": "1.3.14", "newMajor": 1, "newMinor": 3, "newPatch": 14, "updateType": "patch", "isBreaking": false, "pendingChecks": true, "newDigest": "sha256:e10577f0db68676a7024391c6e5cb4b879ebd17188ab750cf10024a6d700e5c4", "branchName": "renovate/docker.io-oven-bun-1.x" } ], "versioning": "docker", "warnings": [], "sourceUrl": "https://github.com/oven-sh/bun", "registryUrl": "https://docker-cache.gitea.t00n.de", "lookupName": "oven/bun", "currentVersion": "1.3.6", "isSingleVersion": true, "fixedVersion": "1.3.6" } ], "packageFile": "Dockerfile" } ], ``` Reviewed-on: https://gitea.t000-n.de/t.behrendt/renovate-configs/pulls/122 Co-authored-by: Timo Behrendt Co-committed-by: Timo Behrendt --- bun-npm.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bun-npm.json b/bun-npm.json index 2c10ee6..1c6922a 100644 --- a/bun-npm.json +++ b/bun-npm.json @@ -27,7 +27,7 @@ "groupName": "bun version", "groupSlug": "bun-version", "matchManagers": ["bun-version", "dockerfile"], - "matchPackageNames": ["bun", "docker.io/oven/bun"] + "matchDepNames": ["Bun", "docker.io/oven/bun"] } ] }