馃懛 Replace Repology with Alpine CDN datasource for package pins - #381
Merged
Merged
Conversation
|
Warning Review limit reachedNext included review available in 57 minutes. View limit detailsLimit details: You鈥檝e used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: 鈿欙笍 Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 馃搾 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Renovate's Repology datasource stopped resolving Alpine package pins across the organization, so every alpine_3_24/* lookup returned no result and pinned packages were no longer updated at all. Switch the Alpine custom manager to a custom datasource that reads the Alpine CDN directory listing directly, using extractVersionTemplate to pull the version out of each .apk filename. libnsl-dev lives in the community repository and gets its own registry URL, since custom datasources only consult the first registry.
frenck
force-pushed
the
renovate-alpine-datasource
branch
from
September 12, 2026 17:42
03942ea to
8337aea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Renovate's
repologydatasource has stopped resolving Alpine package pins across the organization: everyalpine_3_24/*lookup returnsno-result, so Alpine pins are no longer updated at all and builds break whenever upstream moves a pinned package. Repology rate limits itstools/project-byendpoint hard, and each run resolves 27 packages through it here.This applies the same fix that landed on hassio-addons/app-ssh#1119: a Renovate custom datasource that reads Alpine's own package index on
dl-cdn.alpinelinux.org, which is the same placeapkinstalls from. Renovate'shtmlformat turns eachhrefin the directory listing into a version candidate, andextractVersionTemplatepicks the version per package (the\dkeepsnanofrom matchingnano-syntax-...style siblings).alpine_3_24/<package>, so PR titles, branch names and the automerge rule are unchanged.registryStrategy: "first", so packages from thecommunityrepository need a rule pointing at the community index. Derived mechanically from the v3.24APKINDEXfiles against this Dockerfile, exactly one pinned package lives there:libnsl-dev. All other 26 pins are inmain, and none are missing from both indexes.Verified by running Renovate against this repository,
docker run ghcr.io/renovatebot/renovate:latestwithRENOVATE_PLATFORM=local RENOVATE_DRY_RUN=lookup(v44.82.4):renovate-config-validatorvalidates the config cleanlycurrentVersionfrom the CDN, 26 via themainindex and 1 (libnsl-dev) viacommunity, zeroFound no resultsin the debug logAPKINDEXfiles: all 27 pins are currentSo no stale pin is blocking anything in this repository right now; this PR only restores Renovate's ability to notice the next one.
Stacked on #380, which migrates
fileMatchtomanagerFilePatternsin the same file. The diff here is the datasource change only.Related Issues
Same change as hassio-addons/app-ssh#1119. Dependency Dashboard: #126.