Commit Graph

190 Commits

Author SHA1 Message Date
Felix Pojtinger
f793dca6f3 fix: Add workaround for broken Open implementation in CacheOnReadFs (https://github.com/spf13/afero/issues/193) 2021-12-25 20:44:27 +01:00
Felix Pojtinger
c8ff51d2c4 feat: Add interchangeable write buffers based on io.File and filebuffer.Buffer 2021-12-24 16:55:14 +01:00
Felix Pojtinger
35ebd268a2 feat: Implement disk-based IO cache 2021-12-23 22:12:29 +01:00
Felix Pojtinger
7e0386c520 feat: Implement basic overwriting, in-memory File.Write 2021-12-22 22:02:12 +01:00
Felix Pojtinger
7b454878c4 feat: Implement Chmod for files and directories 2021-12-20 23:54:43 +01:00
Felix Pojtinger
23fdae32e9 feat: Start implementation of write operations 2021-12-20 22:00:19 +01:00
Felix Pojtinger
cc1511513d refactor: Use filepath.ToSlash explicitly for FileConfig, name, to and from params 2021-12-20 02:48:07 +01:00
Felix Pojtinger
55307bc58e fix: Convert path in filepath.Walk to UNIX path 2021-12-20 02:27:50 +01:00
Felix Pojtinger
8fda1ab8b2 refactor: Move stfs command to cmd package to allow for re-usable Makefile 2021-12-20 01:36:09 +01:00
Felix Pojtinger
6b627e04d7 feat: Add support for on-disk and in-memory caches with configurable duration 2021-12-19 19:18:52 +01:00
Felix Pojtinger
5dba058a07 refactor: Move stbak command to root 2021-12-19 18:29:33 +01:00
Felix Pojtinger
13ac4900c8 refactor: Make ftpsrv a subcommand of stbak, add decryption support 2021-12-19 18:13:49 +01:00
Felix Pojtinger
9ddb4a4ce2 refactor: Make httpsrv a subcommand of stbak, add decryption support 2021-12-19 17:53:06 +01:00
Felix Pojtinger
0801cfdbe1 feat: Add cache to sthttp 2021-12-19 02:56:13 +01:00
Felix Pojtinger
5439886ceb feat: Add cache to stftp 2021-12-19 02:48:06 +01:00
Felix Pojtinger
ee575c2abc feat: Start implementation of testing FTP server 2021-12-19 01:12:57 +01:00
Felix Pojtinger
ce1aab69a1 feat: Add list limit support 2021-12-18 23:12:52 +01:00
Felix Pojtinger
fb59528889 feat: Start implementation of Afero FileSystem, File and FileInfo 2021-12-17 18:11:21 +01:00
Felix Pojtinger
98ad665fae feat: Add stat cmd 2021-12-17 18:07:07 +01:00
Felix Pojtinger
321a1efa09 feat: Start implementation of Afero-based filesystem abstraction 2021-12-17 16:59:40 +01:00
Felix Pojtinger
66a5cd4b9c feat: Add io.Writer-based API to restore and fetch cmds 2021-12-17 15:30:09 +01:00
Felix Pojtinger
99359e09fd feat: Add io.Reader-based API to update cmd 2021-12-16 22:40:47 +01:00
Felix Pojtinger
c54e849c96 feat: Add io.Reader-based API to archive cmd 2021-12-15 23:14:22 +01:00
Felix Pojtinger
fef27b4385 refactor: Use string-backed enums consistently 2021-12-15 21:11:18 +01:00
Felix Pojtinger
30ceed6842 refactor: Move inventory and operation commands into subcommands 2021-12-15 02:14:15 +01:00
Felix Pojtinger
e13b835624 feat: Add event type and pre/post-index logging 2021-12-15 02:06:18 +01:00
Felix Pojtinger
b20742cfdc refactor: Introduce config struct for operations 2021-12-15 01:33:01 +01:00
Felix Pojtinger
7565374c5b refactor: Decompose all redudant parameters into Operations struct 2021-12-15 01:18:12 +01:00
Felix Pojtinger
fba58f6ef4 refactor: Inject metadata persister 2021-12-15 00:41:23 +01:00
Felix Pojtinger
c003317cde feat: Port tape access management to move, restore and update cmds 2021-12-14 22:54:53 +01:00
Felix Pojtinger
022cdfd402 feat: Port tape access management to delete cmd 2021-12-14 22:21:09 +01:00
Felix Pojtinger
3aab0ddc3f feat: Add centralized tape access management to archive cmd 2021-12-14 22:05:55 +01:00
Felix Pojtinger
d8b4c44fa1 refactor: Add automatic indexing for update cmd 2021-12-13 22:20:07 +01:00
Felix Pojtinger
f9868aec50 refactor: Add automatic indexing for archive cmd 2021-12-13 22:01:21 +01:00
Felix Pojtinger
af2229e39e fix: Don't silently ignore errors when opening drive 2021-12-13 00:35:52 +01:00
Felix Pojtinger
58b407cd4f refactor: Use explicit reader/writer instead of filepath for drive 2021-12-13 00:26:30 +01:00
Felix Pojtinger
734df25820 fix: Use offset to prevent re-indexing encrypted headers 2021-12-10 21:51:12 +01:00
Felix Pojtinger
9516b7db2e refactor: Decompose logger completely 2021-12-10 21:20:35 +01:00
Felix Pojtinger
638e970c2a refactor: Use simpler error messages 2021-12-09 17:48:57 +01:00
Felix Pojtinger
7b9b528e4f fix: Prevent recipient and identity parsing errors from being indistinguishable 2021-12-08 22:01:30 +01:00
Felix Pojtinger
59067ec9fc fix: Don't initialize flags twice in update cmd 2021-12-08 00:33:57 +01:00
Felix Pojtinger
0daeea22f8 refactor: Pull SQLBoiler debug config up to root cmd 2021-12-08 00:30:47 +01:00
Felix Pojtinger
15287f7f93 refactor: Decompose all utilities from cmd package 2021-12-08 00:27:46 +01:00
Felix Pojtinger
0e7daed4f3 refactor: Decompose move func 2021-12-07 23:27:47 +01:00
Felix Pojtinger
14e2ffa14b refactor: Decompose delete func 2021-12-07 23:01:44 +01:00
Felix Pojtinger
3c13fe84eb refactor: Decompose update func 2021-12-07 22:53:59 +01:00
Felix Pojtinger
9a0d910146 refactor: Decompose restore func 2021-12-07 22:39:44 +01:00
Felix Pojtinger
ff7803416d refactor: Decompose archive func 2021-12-07 21:12:23 +01:00
Felix Pojtinger
23784eed97 refactor: Decompose keygen func 2021-12-07 01:54:47 +01:00
Felix Pojtinger
62d613ef04 refactor: Unify delete and move indexing behavior 2021-12-07 01:43:04 +01:00