Repository navigation
Fix Renovate config - #45
Merged
Merged
Conversation
- Look up apt package pins in the Ubuntu 24.04 (noble) archive with the deb datasource instead of Repology's alpine_3_19, and allow ':', '~' and '+' in Debian versions, so the pins are actually matched. - Strip the tc_ prefix from TeddyCloud release tags. - Use customManagers/managerFilePatterns instead of the deprecated regexManagers/fileMatch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 of 6 tasks
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.
Summary
None of the Renovate rules for this repo matched what is actually in the Dockerfile, so dependency updates (such as the stale package pins that broke the build in #43) were never proposed.
alpine_3_19, but the base image is Ubuntu 24.04. The version pattern also didn't allow:or~, so most pins (git=1:…,ffmpeg=7:…,libubsan1=…~24.04.1) were never matched. This now uses thedebdatasource against the Ubuntu 26.04 resolute, resolute-updates and resolute-security archives (mainanduniverse;ffmpegandprotobuf-c-compilerare in universe). This follows hassio-addons/app-ubuntu-base.tc_v0.7.1while the Dockerfile hasv0.7.1.extractVersionTemplatenow strips the prefix.regexManagers/fileMatchare replaced bycustomManagers(customType: regex) andmanagerFilePatterns.Notes
Test plan
Dockerfileandbuild.yaml: all 10 package pins, the base image (both arches) andTEDDYCLOUD_VERSIONare extracted with their full versionsextractVersionTemplatemaps every recent release tag (tc_v0.6.3…tc_v0.7.1) tov…renovate-config-validator(not run locally)🤖 Generated with Claude Code