Commit Graph

209 Commits

Author SHA1 Message Date
Felix Pojtinger
4e249aad96 build: Add SQLite driver to depend target 2021-12-20 01:50:11 +01:00
Felix Pojtinger
932749d80a build: Add basic Hydrun CI config 2021-12-20 01:41:09 +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
7da639d673 fix: Support relative tar files containing only files and no root directory 2021-12-19 23:31:28 +01:00
Felix Pojtinger
63469ad8d1 feat: Support relative root directories without BasePathFs 2021-12-19 22:40:52 +01:00
Felix Pojtinger
ad3471c86a refactor: Decompose local prefix usage 2021-12-19 22:08:39 +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
0835dcda2f fix: Return written bytes if there is a EOF error while reading/seeking 2021-12-19 01:50:57 +01:00
Felix Pojtinger
f13b984cb1 fix: Use file mode directly to prevent dir bit from being supressed 2021-12-19 01:34:52 +01:00
Felix Pojtinger
ee575c2abc feat: Start implementation of testing FTP server 2021-12-19 01:12:57 +01:00
Felix Pojtinger
d55a7e1be3 feat: Implement File.ReadAt 2021-12-18 23:42:42 +01:00
Felix Pojtinger
da97762f77 feat: Implement File.Readdirnames 2021-12-18 23:15:54 +01:00
Felix Pojtinger
ce1aab69a1 feat: Add list limit support 2021-12-18 23:12:52 +01:00
Felix Pojtinger
ad217bb591 fix: Close files immediately in archive cmd 2021-12-18 20:57:30 +01:00
Felix Pojtinger
e51e59c2f5 feat: Add support for io.SeekStart, io.SeekCurrent and io.SeekEnd 2021-12-18 18:12:00 +01:00
Felix Pojtinger
f983bdd00e feat: Enable seeking form start without closeing files 2021-12-18 17:37:13 +01:00
Felix Pojtinger
7f5ddcfb78 feat: Add support for relative root directories 2021-12-18 03:36:15 +01:00
Felix Pojtinger
0c7cb7c1ec feat: Add basic STFS-backed Close and Seek implementations 2021-12-18 01:57:44 +01:00
Felix Pojtinger
44110382f7 feat: Add basic STFS-backed Read implementation 2021-12-17 21:57:51 +01:00
Felix Pojtinger
4bb2bd17f8 feat: Add basic implementation of File.Readdir 2021-12-17 18:39:00 +01:00
Felix Pojtinger
9fd72adf49 refactor: Decompose FileInfo conversion 2021-12-17 18:27:39 +01:00
Felix Pojtinger
3937e2bd7b fix: Prevent returning parent header when returning child header 2021-12-17 18:21:59 +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
71e69d6057 fix: Prevent false positives for no-op detection in index 2021-12-17 15:57:20 +01:00
Felix Pojtinger
b58cf7d02f fix: Support no-op move operation 2021-12-17 15:53:53 +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
5ae914c23a fix: Only overwrite from manager at most once 2021-12-15 22:49:32 +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
32f56cd05d refactor: Clear database tables instead of truncating 2021-12-15 00:40:31 +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