Commit Graph

68 Commits

Author SHA1 Message Date
Felicitas Pojtinger
9ebe92a678 feat: Add support for tape format update actions 2021-11-26 19:00:32 +01:00
Felicitas Pojtinger
f4e0b3a9b2 feat: Add move command with support for moving children 2021-11-26 18:36:00 +01:00
Felicitas Pojtinger
e5fe87566e fix: Pass pointer to dirty flag to prevent not appending the trailer 2021-11-26 18:03:08 +01:00
Felicitas Pojtinger
b7501241c7 fix: Overwrite archive if -o flag is specified 2021-11-26 17:51:47 +01:00
Felicitas Pojtinger
cd44a4e699 refactor: Decompose tape opening 2021-11-26 17:20:19 +01:00
Felicitas Pojtinger
1fe518b933 refactor: Decompose tar writer initialization 2021-11-26 17:08:20 +01:00
Felicitas Pojtinger
6d4b3dfd93 feat: Implement ReplacesName PAX record 2021-11-25 17:38:13 +01:00
Felicitas Pojtinger
9a673ff0f2 feat: Add basic STFS.ReplacesContent PAX record support in indexer 2021-11-25 17:21:44 +01:00
Felicitas Pojtinger
0ae66d3263 feat: Add ls equivalent to query cmd 2021-11-24 20:07:51 +01:00
Felicitas Pojtinger
8924b9de91 feat: Add support for deleting directories 2021-11-23 12:17:24 +01:00
Felicitas Pojtinger
764dabad99 feat: Implement automatic indexing after archival 2021-11-21 21:20:46 +01:00
Felicitas Pojtinger
d4c4eb41ef feat: Enable indexing with tape as single source of truth after deletions 2021-11-21 19:58:02 +01:00
Felicitas Pojtinger
a33c4cb588 refactor: Rewrite tar tvf & mt fsf compatible tape parser without dirty flag 2021-11-21 19:15:40 +01:00
Felicitas Pojtinger
5bf40bf7cb fix: Ensure that full records are written to tape so that EOF marks work 2021-11-21 19:14:47 +01:00
Felicitas Pojtinger
7681c5517e feat: Implement deletion based on PAX record meta information 2021-11-21 15:33:06 +01:00
Felicitas Pojtinger
b78e577ed0 feat: Implement basic remove command which modifies the index 2021-11-21 14:02:21 +01:00
Felicitas Pojtinger
aefbe4bbce refactor: Merge stbak and stcache commands 2021-11-21 13:39:14 +01:00
Felicitas Pojtinger
57f524cc21 feat: Enable overwriting index with -o flag 2021-11-21 13:29:51 +01:00
Felicitas Pojtinger
4ad796bb17 feat: Implement stcache list command 2021-11-21 01:44:08 +01:00
Felicitas Pojtinger
43053d83b9 fix: Prevent int64 casts from corrupting record and block values 2021-11-21 01:22:40 +01:00
Felicitas Pojtinger
a413ba8fa5 feat: Add generic persister for metadata 2021-11-21 00:50:11 +01:00
Felicitas Pojtinger
ddadeace61 feat: Start implementation of SQLite index backend 2021-11-21 00:28:25 +01:00
Felicitas Pojtinger
988b6f5060 fix: Truncate file if -o is specified before writing for tar backend 2021-11-20 17:00:25 +01:00
Felicitas Pojtinger
93adb5da13 fix: Enable seeking through filemarks (tar ivf) for tar backend 2021-11-20 16:57:11 +01:00
Felicitas Pojtinger
1f603821aa refactor: Make tape flag global 2021-11-20 16:34:06 +01:00
Felicitas Pojtinger
fd3606ae4b feat: Port to more UNIXes 2021-11-20 14:55:58 +01:00
Felicitas Pojtinger
7e28ec0aaf feat: Start implementation of stcache index cmd 2021-11-19 16:41:23 +01:00
Felicitas Pojtinger
be65e19d89 feat: Allow seeking to specific location in tape before starting count in list command 2021-11-19 16:41:07 +01:00
Felicitas Pojtinger
8e822c39f8 feat: Add eject cmd 2021-11-19 14:42:13 +01:00
Felicitas Pojtinger
63fa4c3669 feat: Add Cobra commands for all functionality 2021-11-19 02:46:49 +01:00
Felicitas Pojtinger
6976438bb4 feat: Add structured CSV output to archive, list and restore commands 2021-11-19 01:46:12 +01:00
Felicitas Pojtinger
0594076323 refactor: Use standard CLI flags and cmd naming scheme 2021-11-19 01:17:19 +01:00
Felicitas Pojtinger
f208c09004 feat: Add stfs-restore command 2021-11-19 00:56:56 +01:00
Felicitas Pojtinger
f426874cbd refactor: Decompose syscalls into pkg, start adding utility commands 2021-11-19 00:39:28 +01:00
Felicitas Pojtinger
f41c96b59e refactor: Use PAX headers directly instead of protobuf for encoding action info 2021-11-19 00:26:58 +01:00
Felicitas Pojtinger
f00532db6a refactor: Make reading optional in stfs-seek 2021-11-19 00:17:10 +01:00
Felicitas Pojtinger
f8ba6ce6c7 refactor: Decompose tell syscall 2021-11-19 00:16:42 +01:00
Felicitas Pojtinger
621cc0b055 feat: Make seek command universal 2021-11-19 00:10:13 +01:00
Felicitas Pojtinger
38819a06d2 feat: Enable moving over file marks on tape 2021-11-18 22:46:26 +01:00
Felicitas Pojtinger
10168d6130 feat: Add EOD handling 2021-11-18 03:17:22 +01:00
Felicitas Pojtinger
a38e7bd710 feat: Add counter-based iterator 2021-11-18 02:41:52 +01:00
Felicitas Pojtinger
b759a56a7b feat: Add re-implementation of tar tvf for tape 2021-11-18 01:50:22 +01:00
Felicitas Pojtinger
43606874be feat: Add PAX header record & block sensing to stfs-tvf 2021-11-18 00:17:34 +01:00
Felicitas Pojtinger
c0687fb390 feat: Add block-scoped seeking to stfs-seek-tape 2021-11-18 00:07:12 +01:00
Felicitas Pojtinger
9337962b04 feat: Add flag to write from current position to stfs-uvf 2021-11-17 23:36:31 +01:00
Felicitas Pojtinger
57446132be feat: Start implementation of universal seek cmd 2021-11-17 22:32:29 +01:00
Felicitas Pojtinger
09b7bccc4c feat: Start normalization of seeking behaviour in file and tape 2021-11-17 21:38:01 +01:00
Felicitas Pojtinger
7a633bfa06 feat: Merge tape and file tar tvf implementations 2021-11-17 21:31:59 +01:00
Felicitas Pojtinger
2e1af673a2 feat: Add tape-compatible implementation of tar tvf 2021-11-17 21:15:32 +01:00
Felicitas Pojtinger
61ff62153b feat: Add support for tape in stfs-uvf 2021-11-16 12:25:23 +01:00