ee9d316217
Include serial in ddrescue map name
...
Addresses issue #200
2023-08-28 15:14:50 -07:00
f7345a8a54
Improve full_disk_clone definition
2023-08-26 17:39:27 -07:00
075a0d8541
Ensure relocate_backup_gpt() is run last
...
Addresses issue #220
2023-08-26 17:38:27 -07:00
5147a4105f
Simplify finalization menu
...
Addresses issue #220
2023-08-26 16:57:33 -07:00
f5681a93d8
Add finalization menu to ddrescue-tui
...
Addresses issue #220
2023-08-26 16:54:53 -07:00
dbe4a342cc
Fix source_parts usage
...
Addresses issue #221
2023-08-26 14:30:22 -07:00
460fd9c952
Fix misc typos
2023-08-20 16:09:47 -07:00
7603b93338
Remove temp variable from set_mode()
2023-08-13 20:47:55 -07:00
42720d322b
Move build_block_pair_report() to block_pair.py
2023-08-13 20:47:15 -07:00
6bef46bb4d
Move more logic into wk/clone/block_pair.py
2023-08-13 20:39:23 -07:00
670619b65e
Use new log.format_log_path sub_dir option
...
This removes the need to import time
2023-08-13 19:47:32 -07:00
e7642bdc63
Move image sections to wk/clone/image.py
2023-08-13 17:46:31 -07:00
a12995b37d
Move ddrescue classes to separate files
2023-08-13 17:34:14 -07:00
ee34e692dd
Update source/dest earlier in the workflow
...
Addresses issue #219
2023-08-13 16:31:23 -07:00
24e4f7ddcc
Fix pickling ddrescue State()
2023-07-16 18:07:08 -07:00
bddf47816f
Remove duplicate log setup
2023-07-16 17:46:38 -07:00
7c16d13f65
Generate test maps at runtime in ddrescue-tui
2023-07-09 13:58:59 -07:00
840008d8cd
Specify text encoding for zero-fill map file
2023-07-09 13:23:21 -07:00
090a9f2b96
Update ddrescue-tui logging handling
2023-07-09 00:16:46 -07:00
4467369811
Add finalization options to ddrescue-tui
...
Specifically to zero-fill any gaps from the clone,
to fill the destination with zeros to the end of the device,
and/or to relocate the GPT to the end of the device.
2023-07-08 23:27:05 -07:00
a20fdf7bd3
Only show destination SMART data if present.
...
Also avoids crash when imaging
2023-07-08 18:58:05 -07:00
df1d2b713f
Simplify _poweroff_source_drive()
2023-07-08 18:37:42 -07:00
6a1cf98d0b
Terminate ddrescue directly instead
2023-07-08 18:10:14 -07:00
ebd1bbda18
Show SMART data for both devices in ddrescue-tui
2023-07-05 15:00:01 -07:00
21cbe5d445
Show filesystem type in select_disk_parts()
2023-06-24 18:58:06 -07:00
d94e9097b7
Reduce ESP size to 260MiB
2023-06-24 18:56:31 -07:00
228a5f640e
Adjust TRIM warning message
2023-06-24 18:56:03 -07:00
acd484f891
Check for TRIM in HW Diagnostics and ddrescue-tui
...
Addresses issue #212
2023-06-17 20:45:44 -07:00
d958945fe8
Relaunch ddrescueview when resuming clone
2023-06-17 20:13:32 -07:00
203ad715e0
Refactor ddrescue-tui source/dest selection
...
- Re-enables taking images instead of direct cloning!
- Removed some safety checks for clearer code
- We avoid a second scan by reusing the disk_menu object
2023-06-11 15:48:58 -07:00
986c870090
Move ddrescue-tui menus to a separate file
2023-06-10 21:50:56 -07:00
a2c41fbaf2
Fix destination selection and title pane handling
2023-06-04 19:24:27 -07:00
7e6cfa1896
Add more type hints to ddrescue-tui
2023-06-04 18:54:16 -07:00
45a7f84e19
Restrict journal messages in ddrescue-tui
2023-06-04 18:11:14 -07:00
86f748c599
Clear ddrescue pane when resizing
...
This replaces the clear every 30s/60s/etc. It's only enabled while
ddrescue is running to prevent clearing warning messages if printed.
2023-06-04 18:08:59 -07:00
becc564269
Use new TUI layout in ddrescue-tui
2023-06-04 17:43:02 -07:00
05de5c7294
Add type hints to BlockPair
2023-06-03 18:07:30 -07:00
f50ea711e6
Refactor wk.clone.ddrescue.get_object()
2023-05-29 17:29:02 -07:00
2cce572acf
Drop OrderedDict usage in favor of standard dicts
...
Python 3.7+ guarantees insertion order is preserved and we (currently)
require 3.10+
2023-05-29 17:25:48 -07:00
12326a5e2c
Use new Union syntax
...
This bumps the minimum Python version to 3.10
2023-05-29 12:35:40 -07:00
62edaac25a
Add type hints to functions
2023-05-28 20:09:54 -07:00
f9bcd534d4
Move ansi code into wk/ui
2023-04-08 19:20:22 -07:00
d302be2d7c
Use prompt_toolkit for CLI input
2023-04-08 16:26:51 -07:00
95d7159414
Move ANSI color escape sections to their own file
2023-04-02 20:46:54 -07:00
03a143488c
Adjust ui imports and calls
2023-04-02 20:12:18 -07:00
6efc970374
Move tmux sections into wk.ui
2023-04-01 22:36:59 -07:00
89fd647792
Split wk.std into debug, std, and ui sections
2023-04-01 22:14:03 -07:00
e00920f24a
Switch to ruff linting
2023-03-19 18:47:46 -07:00
89de2a7679
Avoid crash for devices with bad volume names
2022-11-16 22:41:16 -08:00
e583929498
Reduce time needed for get_disks()
2022-11-12 23:21:23 -08:00