Commit Graph

175 Commits

Author SHA1 Message Date
Felicitas Pojtinger
129cfab84a feat: Add io.Reader-based API to archive cmd 2021-12-15 23:14:22 +01:00
Felicitas Pojtinger
3d4ee0d7ed fix: Only overwrite from manager at most once 2021-12-15 22:49:32 +01:00
Felicitas Pojtinger
8d922ccd81 refactor: Use string-backed enums consistently 2021-12-15 21:11:18 +01:00
Felicitas Pojtinger
6bc9c84579 refactor: Move inventory and operation commands into subcommands 2021-12-15 02:14:15 +01:00
Felicitas Pojtinger
ae7e418891 feat: Add event type and pre/post-index logging 2021-12-15 02:06:18 +01:00
Felicitas Pojtinger
479def3d80 refactor: Introduce config struct for operations 2021-12-15 01:33:01 +01:00
Felicitas Pojtinger
1ea34eb02a refactor: Decompose all redudant parameters into Operations struct 2021-12-15 01:18:12 +01:00
Felicitas Pojtinger
71d28c8184 refactor: Inject metadata persister 2021-12-15 00:41:23 +01:00
Felicitas Pojtinger
263a4e05d7 refactor: Clear database tables instead of truncating 2021-12-15 00:40:31 +01:00
Felicitas Pojtinger
b610287fad feat: Port tape access management to move, restore and update cmds 2021-12-14 22:54:53 +01:00
Felicitas Pojtinger
ca905ef225 feat: Port tape access management to delete cmd 2021-12-14 22:21:09 +01:00
Felicitas Pojtinger
1a16fd2402 feat: Add centralized tape access management to archive cmd 2021-12-14 22:05:55 +01:00
Felicitas Pojtinger
9d1c6fb731 refactor: Add automatic indexing for update cmd 2021-12-13 22:20:07 +01:00
Felicitas Pojtinger
f523bda5fa refactor: Add automatic indexing for archive cmd 2021-12-13 22:01:21 +01:00
Felicitas Pojtinger
0262e3eee8 fix: Don't silently ignore errors when opening drive 2021-12-13 00:35:52 +01:00
Felicitas Pojtinger
6bd31d356c refactor: Use explicit reader/writer instead of filepath for drive 2021-12-13 00:26:30 +01:00
Felicitas Pojtinger
8ef3530b20 fix: Use offset to prevent re-indexing encrypted headers 2021-12-10 21:51:12 +01:00
Felicitas Pojtinger
bc0951e476 refactor: Decompose logger completely 2021-12-10 21:20:35 +01:00
Felicitas Pojtinger
bc7793360f refactor: Use simpler error messages 2021-12-09 17:48:57 +01:00
Felicitas Pojtinger
20f30d0135 fix: Use compression flag for compressor config, not encryption flag 2021-12-08 22:21:07 +01:00
Felicitas Pojtinger
f6c672756f fix: Prevent recipient and identity parsing errors from being indistinguishable 2021-12-08 22:01:30 +01:00
Felicitas Pojtinger
f6b1ab0320 refactor: Normalize internal and pkg packages 2021-12-08 21:44:57 +01:00
Felicitas Pojtinger
6c5c932b2d fix: Don't initialize flags twice in update cmd 2021-12-08 00:33:57 +01:00
Felicitas Pojtinger
dbeb72fa12 refactor: Pull SQLBoiler debug config up to root cmd 2021-12-08 00:30:47 +01:00
Felicitas Pojtinger
0be10a7698 refactor: Decompose all utilities from cmd package 2021-12-08 00:27:46 +01:00
Felicitas Pojtinger
c5e7cab4f3 refactor: Decompose move func 2021-12-07 23:27:47 +01:00
Felicitas Pojtinger
c6fbd58256 refactor: Decompose delete func 2021-12-07 23:01:44 +01:00
Felicitas Pojtinger
a019ccd5ea refactor: Decompose update func 2021-12-07 22:53:59 +01:00
Felicitas Pojtinger
ce55726d08 refactor: Decompose restore func 2021-12-07 22:39:44 +01:00
Felicitas Pojtinger
db69d5f68c refactor: Decompose archive func 2021-12-07 21:12:23 +01:00
Felicitas Pojtinger
b700a767cb refactor: Decompose keygen func 2021-12-07 01:54:47 +01:00
Felicitas Pojtinger
d1dfe5c2be refactor: Unify delete and move indexing behavior 2021-12-07 01:43:04 +01:00
Felicitas Pojtinger
f26f899612 fix: Prevent moving headers from corrupting last indexed record & block 2021-12-07 01:37:16 +01:00
Felicitas Pojtinger
aa3b558340 fix: Prevent deletion of headers from corrupting last indexed record & block 2021-12-07 00:41:02 +01:00
Felicitas Pojtinger
943d92d052 fix: Enable computation of last known record and block based on lastknownrecord and lastknownblock even if last changes are updates 2021-12-06 23:55:31 +01:00
Felicitas Pojtinger
ee5d3c72d9 refactor: Drop offset in favor of ignoring the first index 2021-12-06 23:31:55 +01:00
Felicitas Pojtinger
df9cecd97e refactor: Decompose find func 2021-12-06 22:51:07 +01:00
Felicitas Pojtinger
a0f1bdfea7 refactor: Decompose list func 2021-12-06 22:48:23 +01:00
Felicitas Pojtinger
8d991a8237 refactor: Decompose tell and eject funcs 2021-12-06 22:43:37 +01:00
Felicitas Pojtinger
dd312727e1 refactor: Decompose query func 2021-12-06 22:37:40 +01:00
Felicitas Pojtinger
bf0866550a refactor: Decompose fetch func 2021-12-06 22:15:28 +01:00
Felicitas Pojtinger
25fe4ddb04 refactor: Decompose index func 2021-12-06 21:27:59 +01:00
Felicitas Pojtinger
4f5d298c8e refactor: Start implementation of public API 2021-12-06 21:01:41 +01:00
Felicitas Pojtinger
bbfde631a9 refactor: Block usage of minisign on tape 2021-12-05 22:44:56 +01:00
Felicitas Pojtinger
0ed32dcc2c feat: Add support for tape drives to GZip compressor 2021-12-05 21:55:32 +01:00
Felicitas Pojtinger
e4f99776c4 feat: Add support for tape drives to LZ4 compressor 2021-12-05 21:41:29 +01:00
Felicitas Pojtinger
10449b8e65 feat: Add support for tape drives to Zstandard compressor 2021-12-05 21:07:03 +01:00
Felicitas Pojtinger
6fae2e19da fix: Pass through overwrite flags to tape writer 2021-12-05 20:24:48 +01:00
Felicitas Pojtinger
85d3d37b79 feat: PGP key generation support for both signature and encryption 2021-12-05 19:38:12 +01:00
Felicitas Pojtinger
bc0a267bb7 refactor: Prevent using panic where error return value can be used 2021-12-05 19:21:07 +01:00