Commit Graph

69 Commits

Author SHA1 Message Date
Felix Pojtinger
c342fa94bf feat: Start implementation of update cmd 2021-11-27 17:05:49 +01:00
Felix Pojtinger
4cafd1df2c feat: Add support for tape format update actions 2021-11-26 19:00:32 +01:00
Felix Pojtinger
5bac5b12f5 feat: Add move command with support for moving children 2021-11-26 18:36:00 +01:00
Felix Pojtinger
832f2b6171 fix: Pass pointer to dirty flag to prevent not appending the trailer 2021-11-26 18:03:08 +01:00
Felix Pojtinger
dd030c5ac6 fix: Overwrite archive if -o flag is specified 2021-11-26 17:51:47 +01:00
Felix Pojtinger
57b58a8f68 refactor: Decompose tape opening 2021-11-26 17:20:19 +01:00
Felix Pojtinger
21dcaf194f refactor: Decompose tar writer initialization 2021-11-26 17:08:20 +01:00
Felix Pojtinger
70937a4d85 feat: Implement ReplacesName PAX record 2021-11-25 17:38:13 +01:00
Felix Pojtinger
8c4b3e5432 feat: Add basic STFS.ReplacesContent PAX record support in indexer 2021-11-25 17:21:44 +01:00
Felix Pojtinger
d6e571c20e feat: Add ls equivalent to query cmd 2021-11-24 20:07:51 +01:00
Felix Pojtinger
c064dced62 feat: Add support for deleting directories 2021-11-23 12:17:24 +01:00
Felix Pojtinger
7d53509a73 feat: Implement automatic indexing after archival 2021-11-21 21:20:46 +01:00
Felix Pojtinger
9b63130c5e feat: Enable indexing with tape as single source of truth after deletions 2021-11-21 19:58:02 +01:00
Felix Pojtinger
2e3218720c refactor: Rewrite tar tvf & mt fsf compatible tape parser without dirty flag 2021-11-21 19:15:40 +01:00
Felix Pojtinger
563c1e5fab fix: Ensure that full records are written to tape so that EOF marks work 2021-11-21 19:14:47 +01:00
Felix Pojtinger
356b5a399c feat: Implement deletion based on PAX record meta information 2021-11-21 15:33:06 +01:00
Felix Pojtinger
a072e273c9 feat: Implement basic remove command which modifies the index 2021-11-21 14:02:21 +01:00
Felix Pojtinger
c4af2de5f8 refactor: Merge stbak and stcache commands 2021-11-21 13:39:14 +01:00
Felix Pojtinger
19609b7deb feat: Enable overwriting index with -o flag 2021-11-21 13:29:51 +01:00
Felix Pojtinger
318fdaf76f feat: Implement stcache list command 2021-11-21 01:44:08 +01:00
Felix Pojtinger
dd80669941 fix: Prevent int64 casts from corrupting record and block values 2021-11-21 01:22:40 +01:00
Felix Pojtinger
fe1a30b7ba feat: Add generic persister for metadata 2021-11-21 00:50:11 +01:00
Felix Pojtinger
386f95c1b0 feat: Start implementation of SQLite index backend 2021-11-21 00:28:25 +01:00
Felix Pojtinger
0cb243a3fb fix: Truncate file if -o is specified before writing for tar backend 2021-11-20 17:00:25 +01:00
Felix Pojtinger
e55ff7fdfe fix: Enable seeking through filemarks (tar ivf) for tar backend 2021-11-20 16:57:11 +01:00
Felix Pojtinger
e3b0f5cbea refactor: Make tape flag global 2021-11-20 16:34:06 +01:00
Felix Pojtinger
c4469a5281 feat: Port to more UNIXes 2021-11-20 14:55:58 +01:00
Felix Pojtinger
7eddcb9400 feat: Start implementation of stcache index cmd 2021-11-19 16:41:23 +01:00
Felix Pojtinger
c2e9e6eeea feat: Allow seeking to specific location in tape before starting count in list command 2021-11-19 16:41:07 +01:00
Felix Pojtinger
db4623d728 feat: Add eject cmd 2021-11-19 14:42:13 +01:00
Felix Pojtinger
9e7d76dabf feat: Add Cobra commands for all functionality 2021-11-19 02:46:49 +01:00
Felix Pojtinger
546e858870 feat: Add structured CSV output to archive, list and restore commands 2021-11-19 01:46:12 +01:00
Felix Pojtinger
c28d8b9630 refactor: Use standard CLI flags and cmd naming scheme 2021-11-19 01:17:19 +01:00
Felix Pojtinger
ce68ab38a1 feat: Add stfs-restore command 2021-11-19 00:56:56 +01:00
Felix Pojtinger
73d92e3b39 refactor: Decompose syscalls into pkg, start adding utility commands 2021-11-19 00:39:28 +01:00
Felix Pojtinger
760d638b62 refactor: Use PAX headers directly instead of protobuf for encoding action info 2021-11-19 00:26:58 +01:00
Felix Pojtinger
754aed6af4 refactor: Make reading optional in stfs-seek 2021-11-19 00:17:10 +01:00
Felix Pojtinger
08fde43223 refactor: Decompose tell syscall 2021-11-19 00:16:42 +01:00
Felix Pojtinger
75f59e3b45 feat: Make seek command universal 2021-11-19 00:10:13 +01:00
Felix Pojtinger
d87db6b04c feat: Enable moving over file marks on tape 2021-11-18 22:46:26 +01:00
Felix Pojtinger
d15efc9294 feat: Add EOD handling 2021-11-18 03:17:22 +01:00
Felix Pojtinger
4bcdb5d305 feat: Add counter-based iterator 2021-11-18 02:41:52 +01:00
Felix Pojtinger
9fac266845 feat: Add re-implementation of tar tvf for tape 2021-11-18 01:50:22 +01:00
Felix Pojtinger
4d250fae99 feat: Add PAX header record & block sensing to stfs-tvf 2021-11-18 00:17:34 +01:00
Felix Pojtinger
f90d063aa6 feat: Add block-scoped seeking to stfs-seek-tape 2021-11-18 00:07:12 +01:00
Felix Pojtinger
011eedd92e feat: Add flag to write from current position to stfs-uvf 2021-11-17 23:36:31 +01:00
Felix Pojtinger
489a8424e6 feat: Start implementation of universal seek cmd 2021-11-17 22:32:29 +01:00
Felix Pojtinger
1a91d15026 feat: Start normalization of seeking behaviour in file and tape 2021-11-17 21:38:01 +01:00
Felix Pojtinger
6c0115e47a feat: Merge tape and file tar tvf implementations 2021-11-17 21:31:59 +01:00
Felix Pojtinger
31581ea398 feat: Add tape-compatible implementation of tar tvf 2021-11-17 21:15:32 +01:00