Support hiding instead of deleting for Backblaze B2 backend
Bug #1875529 reported by
Thomas Ross
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Wishlist
|
Unassigned | ||
duplicity (Ubuntu) |
Fix Committed
|
Wishlist
|
Unassigned |
Bug Description
There should be an option to change the B2 backend to hide instead of deleting files. This can be done by changing this line in B2Backend:
self.bucket.
to this:
self.bucket.
You can probably also remove the `file_info` call and just use the `path + fsdecode(...)` result, but I don't know enough about the B2 API/duplicity to say that for sure.
Related branches
lp:~thomas-ross/duplicity/b2-hide-files
- duplicity-team: Pending requested
-
Diff: 73 lines (+20/-3)4 files modifiedbin/duplicity.1 (+5/-0)
duplicity/backends/b2backend.py (+9/-3)
duplicity/commandline.py (+3/-0)
duplicity/config.py (+3/-0)
description: | updated |
Changed in duplicity: | |
status: | New → Incomplete |
Changed in duplicity: | |
status: | Incomplete → New |
importance: | Undecided → Wishlist |
Changed in duplicity: | |
assignee: | nobody → Kenneth Loafman (kenneth-loafman) |
milestone: | none → 0.8.13 |
status: | New → In Progress |
Changed in duplicity (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
importance: | Low → Wishlist |
Changed in duplicity: | |
status: | In Progress → Fix Committed |
Changed in duplicity: | |
assignee: | Kenneth Loafman (kenneth-loafman) → nobody |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
Changed in duplicity (Ubuntu): | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
I don't see a use case for this. Please explain.