Compare commits

..

2 Commits

Author SHA1 Message Date
t.behrendt 3b071a24e4 fix(bun): switch to matchDepNames for runtime version bundle (#122)
CD / Release (push) Successful in 19s
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: #122
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
2026-08-06 22:03:04 +02:00
t.behrendt 3e289e256e feat(bun): split dev and runtime non-major grups (#121)
CD / Release (push) Successful in 9s
Implements #93

Reviewed-on: #121
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
2026-08-06 20:41:07 +02:00
+13 -4
View File
@@ -7,9 +7,18 @@
"addLabels": ["deps", "npm"] "addLabels": ["deps", "npm"]
}, },
{ {
"description": "Group all minor and patch updates together", "description": "Group all minor and patch runtime dependency updates together",
"groupName": "all non-major dependencies", "groupName": "dependencies(non-major)",
"groupSlug": "all-minor-patch", "groupSlug": "dependencies",
"matchDepTypes": ["dependencies"],
"matchUpdateTypes": ["minor", "patch"],
"matchManagers": ["npm", "bun"]
},
{
"description": "Group all minor and patch development dependency updates together",
"groupName": "devDependencies (non-major)",
"groupSlug": "dev-dependencies",
"matchDepTypes": ["devDependencies"],
"matchUpdateTypes": ["minor", "patch"], "matchUpdateTypes": ["minor", "patch"],
"matchManagers": ["npm", "bun"] "matchManagers": ["npm", "bun"]
}, },
@@ -18,7 +27,7 @@
"groupName": "bun version", "groupName": "bun version",
"groupSlug": "bun-version", "groupSlug": "bun-version",
"matchManagers": ["bun-version", "dockerfile"], "matchManagers": ["bun-version", "dockerfile"],
"matchPackageNames": ["bun", "docker.io/oven/bun"] "matchDepNames": ["Bun", "docker.io/oven/bun"]
} }
] ]
} }