fix(bun): switch to matchDepNames for runtime version bundle #122

Merged
t.behrendt merged 1 commits from fix-bun-docker-and-version-grouping into main 2026-08-06 22:03:05 +02:00
Owner

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.

{
             "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"
           }
         ],
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" } ], ```
t.behrendt added 1 commit 2026-08-06 22:01:56 +02:00
fix(bun): switch to matchDepNames for runtime version bundle
CI / Test (common.json) (push) Successful in 7s
CI / Test (bun-npm.json) (push) Successful in 5s
CI / Test (action.json) (push) Successful in 15s
CI / Test (docker-compose.json) (push) Successful in 19s
CI / Test (golang.json) (push) Successful in 3s
CI / Test (helm.json) (push) Successful in 3s
CI / Test (k8s.json) (push) Successful in 9s
CI / Format (push) Successful in 38s
378a86b9f2
t.behrendt merged commit 3b071a24e4 into main 2026-08-06 22:03:05 +02:00
t.behrendt deleted branch fix-bun-docker-and-version-grouping 2026-08-06 22:03:05 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: t.behrendt/renovate-configs#122