-
-
Notifications
You must be signed in to change notification settings - Fork 293
refactor(guide-sync): migrate CF groups to include semantics and invert quality order #2590
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
base: master
Are you sure you want to change the base?
refactor(guide-sync): migrate CF groups to include semantics and invert quality order #2590
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideReorders Radarr and Sonarr quality profile JSON definitions so that qualities and nested groups are listed in human-readable order from highest to lowest priority, while keeping the underlying structure and IDs intact for use by sync tooling. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
|
Deploying with ⚡ Cloudflare Pages
|
|
@austinwbest will need to sign off and make changes on the Notifiarr side. These changes were made based on agreements made in a Discord conversation and captured this PDR. |
148d282 to
0d6cae4
Compare
|
Deploying with ⚡ Cloudflare Pages
|
|
@TRaSH- I've updated the dummy json files as you requested in Discord. The GIST script is also updated. |
0d6cae4 to
023ade8
Compare
|
Deploying with ⚡ Cloudflare Pages
|
Quality items now ordered highest-to-lowest priority (top-to-bottom) instead of matching API response format. Nested quality groups also reversed. Improves maintainability for guide authors. Sync tools will reverse before sending to APIs.
Delete CF groups that exclude all profiles (effectively unused). Their CFs are already embedded directly in quality profile formatItems.
These CF groups incorrectly excluded their own language profiles. French/German release groups should apply to French/German profiles.
Quality profile associations now use explicit include lists instead of exclude lists. Makes the relationship between CF groups and profiles more intuitive and maintainable.
023ade8 to
49022df
Compare
|
Rebased onto latest main after the anime PR (#2541) merge. Verification performed:
Ready for review. |
|
Deploying with ⚡ Cloudflare Pages
|
Summary
excludetoincludesemantics for quality profilesBackground
Per TRaSH Guides Discord discussion decisions from 2025-12-30:
Include Migration: Groups now explicitly list which quality profiles receive them, rather than listing exclusions. This prevents unintended application to new profiles and makes intent clearer.
Quality Ordering: Items ordered highest-to-lowest priority (top-to-bottom) for maintainability. Sync tools will reverse before sending to APIs.
Script
Files were modified using these scripts (2 total): https://gist.github.com/rcdailey/406938848618881ea09f0ee18978e364