Commit Graph

204 Commits

Author SHA1 Message Date
Felicitas Pojtinger
5d5b6ebb96 refactor: Split keys and keyext packages, make compression, signature and encryption packages public 2022-01-03 14:56:46 +01:00
Felicitas Pojtinger
eb95e68bc2 feat: Implement LstatIfPossible 2022-01-02 23:51:52 +01:00
Felicitas Pojtinger
172a6a3f48 refactor: Use public API structs in persisters 2022-01-02 00:03:01 +01:00
Felicitas Pojtinger
92dcc46cf5 feat: Re-index if file does exist but index is not up to date 2022-01-01 21:54:30 +01:00
Felicitas Pojtinger
d71421e14e feat: Add basic support for initializing empty archives in filesystem 2022-01-01 18:08:47 +01:00
Felicitas Pojtinger
5089333d13 feat: Make STFS API public
Also: Happy new year :)
2021-12-31 23:57:21 +01:00
Felicitas Pojtinger
d52c45c603 feat: Get verbosity level from verbose flag 2021-12-28 23:39:16 +01:00
Felicitas Pojtinger
6bd99f6da8 feat: Add structured logging for SQLBoiler 2021-12-28 23:16:33 +01:00
Felicitas Pojtinger
edde7a6a48 feat: Add internal log verbosity setting 2021-12-28 22:53:41 +01:00
Felicitas Pojtinger
40a5b9608f fix: Prevent nil errors on creating FileInfo structs 2021-12-28 21:59:36 +01:00
Felicitas Pojtinger
928289b9a0 refactor: Use exclusively CSV or JSON logger 2021-12-28 21:16:43 +01:00
Felicitas Pojtinger
6837f6bc05 feat: Add basic structured logger 2021-12-28 21:05:43 +01:00
Felicitas Pojtinger
04a4a4fa7e feat: Add support for O_TRUNC and O_APPEND flags 2021-12-27 17:12:19 +01:00
Felicitas Pojtinger
a1396665e1 fix: Use fork of Afero until merge of PR which fixes OpenFile (https://github.com/spf13/afero/issues/193) 2021-12-25 21:25:45 +01:00
Felicitas Pojtinger
9f5c1b9818 fix: Add workaround for broken Open implementation in CacheOnReadFs (https://github.com/spf13/afero/issues/193) 2021-12-25 20:44:27 +01:00
Felicitas Pojtinger
087630710c feat: Add interchangeable write buffers based on io.File and filebuffer.Buffer 2021-12-24 16:55:14 +01:00
Felicitas Pojtinger
31459e0efd feat: Implement disk-based IO cache 2021-12-23 22:12:29 +01:00
Felicitas Pojtinger
92669961cc feat: Implement basic overwriting, in-memory File.Write 2021-12-22 22:02:12 +01:00
Felicitas Pojtinger
a9e8040623 feat: Implement Chmod for files and directories 2021-12-20 23:54:43 +01:00
Felicitas Pojtinger
07c0abff55 feat: Start implementation of write operations 2021-12-20 22:00:19 +01:00
Felicitas Pojtinger
64db9a586f refactor: Use filepath.ToSlash explicitly for FileConfig, name, to and from params 2021-12-20 02:48:07 +01:00
Felicitas Pojtinger
ead0f37858 fix: Convert path in filepath.Walk to UNIX path 2021-12-20 02:27:50 +01:00
Felicitas Pojtinger
63fb7df81c refactor: Move stfs command to cmd package to allow for re-usable Makefile 2021-12-20 01:36:09 +01:00
Felicitas Pojtinger
5fd3987855 feat: Add support for on-disk and in-memory caches with configurable duration 2021-12-19 19:18:52 +01:00
Felicitas Pojtinger
9f06a5fa4b refactor: Move stbak command to root 2021-12-19 18:29:33 +01:00
Felicitas Pojtinger
535cb0c97e refactor: Make ftpsrv a subcommand of stbak, add decryption support 2021-12-19 18:13:49 +01:00
Felicitas Pojtinger
5f4d0f9628 refactor: Make httpsrv a subcommand of stbak, add decryption support 2021-12-19 17:53:06 +01:00
Felicitas Pojtinger
0948b69385 feat: Add cache to sthttp 2021-12-19 02:56:13 +01:00
Felicitas Pojtinger
bb1f6cce43 feat: Add cache to stftp 2021-12-19 02:48:06 +01:00
Felicitas Pojtinger
2f3d2dcc57 feat: Start implementation of testing FTP server 2021-12-19 01:12:57 +01:00
Felicitas Pojtinger
d38b97f1ff feat: Add list limit support 2021-12-18 23:12:52 +01:00
Felicitas Pojtinger
97a61beaa7 feat: Start implementation of Afero FileSystem, File and FileInfo 2021-12-17 18:11:21 +01:00
Felicitas Pojtinger
4d29621a6a feat: Add stat cmd 2021-12-17 18:07:07 +01:00
Felicitas Pojtinger
b2cbad8ee6 feat: Start implementation of Afero-based filesystem abstraction 2021-12-17 16:59:40 +01:00
Felicitas Pojtinger
2a67c243fd feat: Add io.Writer-based API to restore and fetch cmds 2021-12-17 15:30:09 +01:00
Felicitas Pojtinger
e11a3bffcc feat: Add io.Reader-based API to update cmd 2021-12-16 22:40:47 +01:00
Felicitas Pojtinger
129cfab84a feat: Add io.Reader-based API to archive cmd 2021-12-15 23:14:22 +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
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