Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,25 @@
],
datasourceTemplate: 'docker',
},
// Track GNOME extension submodules that pin to a release tag via the
// `branch =` field in .gitmodules. Renovate's git-submodules manager
// alone can't see new tags because tags don't move; this rewrites the
// `branch =` line and the git-submodules manager then advances the SHA.
// Uses github-tags (not github-releases) because some upstreams ship
// git tags without publishing GitHub Releases (e.g. caffeine).
{
customType: 'regex',
managerFilePatterns: [
'/^\\.gitmodules$/',
],
matchStringsStrategy: 'recursive',
matchStrings: [
'\\[submodule "[^"]+"\\][^\\[]*?url\\s*=\\s*https?://github\\.com/(?<depName>[^/\\s]+/[^/\\s]+?)(?:\\.git)?\\s[^\\[]*?branch\\s*=\\s*(?<currentValue>\\S*v\\d+\\S*)',
],
datasourceTemplate: 'github-tags',
versioningTemplate: 'loose',
depTypeTemplate: 'gnome-extension',
},
],

"packageRules": [
Expand Down Expand Up @@ -49,6 +68,15 @@
"matchDepNames": [
"ghcr.io/ublue-os/silverblue-main"
]
},
{
"matchDepTypes": ["gnome-extension"],
"matchPackageNames": ["micheleg/dash-to-dock"],
"versioning": "regex:^extensions\\.gnome\\.org-v(?<major>\\d+)$"
},
{
"matchDepTypes": ["gnome-extension"],
"groupName": "GNOME extensions"
}
]
}