docs: Add comprehensive nested conditions documentation
Added detailed documentation for nested condition groups feature that was
previously undocumented.
ADDITIONS TO CONDITIONS.MD:
- New "Nested Conditions " section
- How it works: nesting all/any/none groups inside each other
- Pattern 1: Nested ANY inside ALL (cleanup with fallback criteria)
- Pattern 2: Nested ALL inside ANY
- Pattern 3: Nested NONE inside ALL (exclusion logic)
- Pattern 4: Multiple nesting levels (3+ levels deep)
- Use cases: complex cleanup, conditional seeding, priority management
- Performance note: depth-first evaluation, optimize placement
ADDITIONS TO EXAMPLES.MD:
- New "Nested Conditions " subsection
- Example 1: Smart cleanup with tiered ratio/age requirements
- Example 2: Priority seeding based on tracker type + seeder count
- Example 3: Upload limits with category exclusions
- All examples include clear comments explaining the boolean logic
FORMATTING FIXES:
- Rules-Architecture.md: Cleaned up trailing whitespace in ASCII diagram
This feature has been supported since the beginning (test coverage exists)
but was never documented. Users can now leverage nested conditions for
complex decision trees and boolean logic without writing multiple rules.
Files modified: 3 files (+95 lines)
Impact: Power users can now create more sophisticated automation rules
docs: Update all wiki documentation for v0.3.0 unified CLI architecture
Comprehensive update to reflect the major v0.3.0 changes including unified
CLI, custom triggers, trigger-agnostic mode, and human-readable size operators.
CRITICAL PRIORITY UPDATES:
- Quick-Start.md: Updated installation , replaced all CLI examples
(python3 triggers/manual.py → qbt-rules)
- Triggers.md: Complete rewrite - added unified CLI intro, updated all
examples, added Custom Triggers and Trigger-Agnostic Mode sections
- Frequently-Asked-Questions.md: Updated all CLI examples, Docker/systemd
configs, webhook setup, cron examples
- Troubleshooting.md: Updated debugging commands, config paths, test
commands, import paths
HIGH PRIORITY UPDATES:
- Examples.md: Added v0.3.0 feature highlights, showcased larger_than/
smaller_than operators, fixed invalid schedule: fields in rules
- Advanced-Topics.md: Updated file paths (lib/ → src/qbt_rules/),
rewrote Custom Triggers section, updated scaling examples
- Conditions.md: Added larger_than/smaller_than operators to reference
table with human-readable size format examples
MEDIUM/LOW PRIORITY UPDATES:
- Introduction.md: Updated dependencies
- Contributing.md: Updated development setup, testing commands, import paths
KEY CHANGES:
✅ All trigger scripts unified to single `qbt-rules` command
✅ Webhook examples updated
✅ Custom triggers documented (--trigger <any-name>)
✅ Trigger-agnostic mode documented (--trigger none)
✅ larger_than/smaller_than operators with "50GB", "100MB" syntax
✅ Config paths updated (~/.config/qbt-rules/)
✅ All cron/Docker/systemd examples updated
✅ Development setup updated (pip install -e ., pytest)
Files modified: 9 wiki pages
Impact: All user-facing documentation now accurate for v0.3.0
Updated Examples (markdown)
Created Examples (markdown)