-
-
Notifications
You must be signed in to change notification settings - Fork 257
feat: add renovate rules for GNOME extension submodules #3570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -19,6 +19,11 @@ | |||||
| }, | ||||||
| ], | ||||||
|
|
||||||
| // Enable git-submodules manager for GNOME extensions | ||||||
| "git-submodules": { | ||||||
| "enabled": true | ||||||
| }, | ||||||
|
|
||||||
| "packageRules": [ | ||||||
| { | ||||||
| "automerge": true, | ||||||
|
|
@@ -38,6 +43,41 @@ | |||||
| "automerge": true, | ||||||
| "matchUpdateTypes": ["digest"], | ||||||
| "matchDepNames": ["ghcr.io/ublue-os/silverblue-main"], | ||||||
| }, | ||||||
| // GNOME extensions git-submodules - track stable releases where available | ||||||
| { | ||||||
| "matchManagers": ["git-submodules"], | ||||||
| "matchPackagePatterns": ["ubuntu/gnome-shell-extension-appindicator"], | ||||||
| "versioning": "semver", | ||||||
| "automerge": false | ||||||
| }, | ||||||
| { | ||||||
| "matchManagers": ["git-submodules"], | ||||||
| "matchPackagePatterns": ["micheleg/dash-to-dock"], | ||||||
| "versioning": "regex:^extensions\\.gnome\\.org-v(?<major>\\d+)$", | ||||||
|
||||||
| "versioning": "regex:^extensions\\.gnome\\.org-v(?<major>\\d+)$", | |
| "versioning": "regex:^extensions\\.gnome\\.org-v(?<version>\\d+(?:\\.\\d+){0,2})$", |
Copilot
AI
Nov 2, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Each git-submodule rule repeats 'matchManagers' and 'automerge' fields. Consider consolidating rules with the same versioning strategy to reduce duplication. For example, the three semver extensions (lines 48-53, 60-65, 66-71) could be combined into a single rule with multiple matchPackagePatterns.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot open a new pull request to apply changes based on this feedback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These rules shouldn't be needed. Renovate will use semver already