Duplicity should ignore leading/trailing whitespace in filelists unless quoted
Bug #584437 reported by
Aaron Whitehouse
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I just spent an awful lot of time debugging why my exclude-
Picking up on the comments below, duplicity should remove leading/trailing whitespace from filelist lines. Any files/folders with spaces should be quoted.
Related branches
lp:~aaron-whitehouse/duplicity/process_filelists_for_spaces_etc
- duplicity-team: Pending requested
-
Diff: 1143 lines (+1018/-29)3 files modifiedduplicity/selection.py (+46/-22)
testing/functional/test_selection.py (+606/-0)
testing/unit/test_selection.py (+366/-7)
Changed in duplicity: | |
importance: | Undecided → Wishlist |
summary: |
- Duplicity should say when include/exclude pattern isn't found + Duplicity should ignore leading/trailing whitespace in filelists unless + quoted |
Changed in duplicity: | |
assignee: | nobody → Aaron Whitehouse (hooloovoo) |
description: | updated |
Changed in duplicity: | |
status: | New → In Progress |
milestone: | none → 0.7.01 |
Changed in duplicity: | |
assignee: | Aaron Whitehouse (hooloovoo) → nobody |
Changed in duplicity: | |
status: | In Progress → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I think it would be more useful if trailing spaces were removed or ignored. Many more users will be negatively affected by the confusion this behavior gives than would be affected by the spaces being ignored. If spaces are needed, they could be escaped or quoted. This would prevent much hair-pulling.