File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 ] ,
2222 datasourceTemplate : 'docker' ,
2323 } ,
24+ // Track GNOME extension submodules that pin to a release tag via the
25+ // `branch =` field in .gitmodules. Renovate's git-submodules manager
26+ // alone can't see new tags because tags don't move; this rewrites the
27+ // `branch =` line and the git-submodules manager then advances the SHA.
28+ // Uses github-tags (not github-releases) because some upstreams ship
29+ // git tags without publishing GitHub Releases (e.g. caffeine).
30+ {
31+ customType : 'regex' ,
32+ managerFilePatterns : [
33+ '/^\\.gitmodules$/' ,
34+ ] ,
35+ matchStringsStrategy : 'recursive' ,
36+ matchStrings : [
37+ '\\[submodule "[^"]+"\\][^\\[]*?url\\s*=\\s*https?://github\\.com/(?<depName>[^/\\s]+/[^/\\s]+?)(?:\\.git)?\\s[^\\[]*?branch\\s*=\\s*(?<currentValue>\\S*v\\d+\\S*)' ,
38+ ] ,
39+ datasourceTemplate : 'github-tags' ,
40+ versioningTemplate : 'loose' ,
41+ depTypeTemplate : 'gnome-extension' ,
42+ } ,
2443 ] ,
2544
2645 "packageRules" : [
4968 "matchDepNames" : [
5069 "ghcr.io/ublue-os/silverblue-main"
5170 ]
71+ } ,
72+ {
73+ "matchDepTypes" : [ "gnome-extension" ] ,
74+ "matchPackageNames" : [ "micheleg/dash-to-dock" ] ,
75+ "versioning" : "regex:^extensions\\.gnome\\.org-v(?<major>\\d+)$"
76+ } ,
77+ {
78+ "matchDepTypes" : [ "gnome-extension" ] ,
79+ "groupName" : "GNOME extensions"
5280 }
5381 ]
5482}
You can’t perform that action at this time.
0 commit comments