Repository navigation
feat(renovate): track commit-only Flatpak sources - #1018
Merged
Merged
Conversation
Member
Author
|
5 of 18 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.



Description
Let Flatpak Git sources pinned by commit declare their update branch in
x-renovate.ref. Renovate can then follow the branch while Flatpak checks out the recorded commit.The existing Flatpak manager handles release archives, Git tags, branches, and commit-only sources together. A mixed file appears once in the Dependency Dashboard.
Use the upstream project for
depNameand allowpackageNameto select a Git mirror. WhenpackageNameis omitted, the rule uses the source URL and defaults to exact versioning.This supports the staged Flatpak dependencies in Sunshine #6158.
Screenshot
Issues Fixed or Closed
Roadmap Issues
Testing
node --test tests/renovate-config.test.mjspassed all 30 tests. The mixed-source test renders the Dependency Dashboard and verifies one entry for a file containing five dependencies. It also checks commit replacement and mirror URL overrides.renovate-config-validator --strict --no-global renovate/flatpak.json5passed.git diff --checkpassed.Type of Change
Checklist
AI Usage
See our AI usage policy.