-
Notifications
You must be signed in to change notification settings - Fork 172
fix(restic): support quoted keep-tags and clarify separators #1338
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
Conversation
…d improved parsing
Code Review - PR #1338: Restic Keep-Tag Handling✅ Strengths1. Well-motivated refactoring
2. Good parser design
3. Comprehensive helper functions
4. Frontend parity
5. Documentation improvements
6. UI/CSS enhancements
|
|
@claude review my pull request |
|
Claude encountered an error after 3m 0s —— View job Code Review - PR #1338: Restic Keep-Tag Handling✅ Strengths1. Well-motivated refactoring
2. Excellent parser design
3. Comprehensive helper functions
4. Good test coverage
5. Frontend parity
6. Documentation & UX improvements
7. Clean logging & error handling
|
…roved error reporting
|
@claude review my pull request |
|
Claude finished @caffeinated92's task in 2m 39s —— View job Code Review - PR #1338: Restic Keep-Tag Handling✅ Comprehensive Strengths1. Well-motivated feature
2. Solid parser design
3. Good test coverage ✅
4. Frontend parity ✅
5. Error handling & logging ✅
6. Documentation improvements
7. Code quality
|
Summary
Improve restic keep‑tag handling by allowing quoted literals (including commas) and standardizing tag separation on spaces, while preserving legacy comma support.
What changed
Keep‑tag parsing now splits on whitespace/commas outside quotes.
Quoted tags are treated as literal values and can include commas (AND semantics).
UI tooltip/helper text, config defaults, and flag descriptions updated.
Docs updated to reflect keep‑tag rules and supported placeholders.
Why
Restic interprets commas inside a keep‑tag as AND, which conflicted with the previous comma‑separated UI input. The new behavior reduces ambiguity and aligns with restic semantics.