d03772666d
Moved ddrescue-tui settings to separate file
2019-03-05 19:36:41 -07:00
575fa17425
Only use Unicode checkmark if in X
2018-12-28 15:44:14 -07:00
c96e2f252c
Cleaned up imports
2018-12-27 21:38:25 -07:00
d0c49240d8
Added extra line break after classes/functions/etc
...
* Also reordered some class/regex/static sections
2018-12-27 21:33:37 -07:00
c501c8b23f
Updated docstrings longer than 72 characters
2018-12-27 20:51:56 -07:00
10e978d4c5
Updated ddrescue.py
2018-12-27 19:50:51 -07:00
42407f0eca
Adjusted ddrescue exit handling
...
* Wait for ddrescue_proc after KeyboardInterrupt
* ddrescue prints extra info to the screen after a CTRL+c
* Explicitly mark KeyboardInterrupt events as an abort
* Add 'DDRESCUE PROCESS HALTED' message in red if exiting non-zero
* More clearly indicates that user interaction is required
* Fixes issue #72
2018-12-18 20:35:21 -07:00
44fe888230
Replaced ddrescue-tui-smart-display
...
* Output data to file and have tmux pane watching said file
* This method handles resizing much better
2018-12-18 20:15:35 -07:00
62b8e51705
Updated ddrescue-tui tmux pane size handling
2018-12-18 19:45:02 -07:00
ad15cdad56
Added warning if not saving map to a preferred FS
...
* Fixes #76
2018-12-18 17:28:06 -07:00
f802ea860d
Updated ddrescue.py
2018-11-26 18:15:41 -07:00
6a67052d83
Show SMART for parent dev if child dev selected
2018-10-08 15:47:40 -06:00
26eadebf21
ddrescue-tui: Support devices with '/' in the name
2018-09-27 13:13:42 -06:00
240c55f407
Remove more whitespace from image/map names
2018-09-03 23:13:17 -06:00
d35dba7539
Prevent crash when retrying recovery
...
* IMO ddrescue was exiting too quickly to load the map data so I'll assume 0b
2018-09-03 22:58:20 -06:00
bd47f08996
Removed (Whole) label when imaging
...
* If only one partition was selected it would be incorrectly labeled "Whole"
* Easier to remove the label than rework the data structures
2018-09-03 21:45:46 -06:00
9dbfce94d4
Fix auto continue logic
2018-09-03 21:44:28 -06:00
86fc23aed8
Fix pass number in status pane
...
* It was using the internal 0-2 instead of the display 1-3
2018-09-03 21:42:37 -06:00
dbf4559e14
Adjusted image/map filenames
...
* Partition filenames should include '_pX_' instead of just '_X_'
* Trailing whitespace should be removed
2018-09-03 21:39:32 -06:00
7cfdddcfbd
Fix using image file for clone source
2018-09-03 21:34:14 -06:00
1d0378dd7b
Training wheels off
2018-08-19 19:23:24 -07:00
ee4cea3b01
Added systemd journal pane
2018-08-16 01:58:22 -07:00
0c8de47893
Reworked auto mode and pass status sections
2018-08-16 01:49:06 -07:00
2272d133f9
Fixed update_progress & update_sidepane
2018-08-16 01:18:06 -07:00
afaee53077
Fixed current_pass updates/progression
2018-08-16 00:43:09 -07:00
7d30a735fc
Fix retry option and settings sections
2018-08-16 00:18:25 -07:00
8461e581ea
Updated menu_settings() to use RecoveryState
2018-08-15 23:24:01 -07:00
5948d1a62f
Fixed menu_main() arguments
2018-08-15 22:50:47 -07:00
5ac05c943e
Removed unused function show_device_details()
2018-08-15 22:50:05 -07:00
ca78da4dd4
Updated show_selection_details()
2018-08-15 22:49:43 -07:00
bb270715c1
Updated run_ddrescue() to use new objects
2018-08-15 22:38:54 -07:00
53a899f967
Updated menu_main() to use RecoveryState obj
...
* Also fixed rescued size calculations (again)
2018-08-15 21:53:22 -07:00
e0a695a673
Enable help flags for aliases
2018-08-15 20:35:09 -07:00
1a983344c2
Updated update_progress()
2018-08-02 00:42:14 -07:00
d474c8b5d4
Updated build_outer_panes() *BROKEN*
...
* Script broken until update_progress() is fixed
2018-08-01 23:56:25 -07:00
c568668fd0
Re-added 'Create ticket folder?' section
...
* Only asked if imaging and mounting a local device for the destination.
2018-08-01 23:39:19 -07:00
177bf10e2d
Added select_parts() function
...
* This replaced menu_select_children()
* Removed menu_select_children()
2018-08-01 23:32:39 -07:00
459b78dcc3
Updated select_dest_path(), now select_path()
...
* Moved menu_select_path() code into select_path()
* Removed menu_select_path()
* Fixed formatting in get_dir_report()
2018-08-01 23:04:44 -07:00
ccf7f0686e
Updated select_device() to use DevObj()
...
* Also fixed child/parent check(s)
* Removed menu_select_device() since code was moved into select_device()
2018-08-01 22:25:01 -07:00
03bdb4b4b7
Reordered classes and removed old menu functions
2018-08-01 21:12:05 -07:00
7ac91fd312
Adjust pass 1 threshold
2018-08-01 20:33:35 -07:00
1e195f70fc
Fixed names and started updating build_outer_panes
2018-07-26 20:49:27 -06:00
53f0b93a5f
Misc bugfixes
2018-07-26 20:24:34 -06:00
30b703e025
Updated get_formatted_status()
2018-07-26 20:09:48 -06:00
6cdc4015e7
Updated menu_ddrescue() and related sections
...
* RecoveryState is updated before confirmation(s)
* New confirmation prompt that supports both cloning and imaging modes
* Refactored show_selection_details() to use new objects
* Allows resumed state to be detected and prompt switched to "Resume?"
* Renamed function show_safety_check() to double_confirm_clone() for clarity
2018-07-26 19:34:51 -06:00
4047b956f5
Even better exception handling
2018-07-26 18:54:31 -06:00
127c3b810d
Fixed image prefixes and removed unsused functions
2018-07-26 18:07:12 -06:00
d1eefd05ab
Major update to refactor for object-centricity
...
* Dest/map paths are now set in two steps:
* The filename prefix is set when creating the DevObj()
* The full paths are set when creating the BlockPair()
* Merged dest safety checks into RecoveryState.add_block_pair()
* Mostly check_dest_paths() and dest_safety_check()
* Moved dir RWX checks to is_writable_dir()
* Moved mount RW check to is_writable_filesystem()
* Started merging menu_clone() and menu_image() into menu_ddrescue()
2018-07-26 17:31:39 -06:00
6aeba34bdb
Include path in dir report
2018-07-25 23:57:50 -06:00
66c7563335
Set details for Dev/Dir/Image objects
...
* Colored report data is generated during obj instantiation
* Code has been moved into its own function
* Entire colored string is now stored for each Obj
* (Should make show_selection, etc more mode/Obj agnostic)
* loopback_dev vs image_path is now better separated
* losetup is called in ImageObj.set_details()
* loopback -D is still called during program cleanup/wrapup
* get_device_size_in_bytes() has been renamed get_size_in_bytes()
2018-07-25 23:31:04 -06:00