Undo functionality
Bug #651968 reported by
Jonathan Jacobs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Renamer |
Fix Committed
|
Medium
|
Jonathan Jacobs |
Bug Description
It would be useful if Renamer stored the history of every action taken in an undo file and introduced an "undo" command. The undo command would be able to list changesets (all actions taken in one run) and actions in each changeset, and undo specific changesets or individual actions by reversing the action taken.
As far as storage goes, I think either XML or JSON are good options without the need to introduce more dependencies.
Related branches
lp:~renamer-developers/renamer/undo-command
- Tristan Seligmann: Approve
- Jeremy Thurgood: Approve
-
Diff: 1854 lines (+1393/-177)19 files modifiedDEPS (+1/-0)
bin/rn.cmd (+2/-0)
renamer/application.py (+115/-111)
renamer/errors.py (+14/-0)
renamer/history.py (+243/-0)
renamer/irenamer.py (+52/-5)
renamer/logging.py (+1/-1)
renamer/main.py (+39/-13)
renamer/plugin.py (+245/-37)
renamer/plugins/actions.py (+52/-0)
renamer/plugins/audio.py (+3/-3)
renamer/plugins/tv.py (+2/-3)
renamer/plugins/undo.py (+175/-0)
renamer/test/test_actions.py (+173/-0)
renamer/test/test_history.py (+186/-0)
renamer/test/test_plugin.py (+1/-1)
renamer/test/test_util.py (+53/-0)
renamer/util.py (+25/-1)
setup.py (+11/-2)
Changed in renamer: | |
milestone: | none → 0.1.1 |
Changed in renamer: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in renamer: | |
status: | Confirmed → In Progress |
assignee: | nobody → Jonathan Jacobs (jjacobs) |
milestone: | 0.1.1 → 0.1.0 |
Changed in renamer: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.