106 Commits

Author SHA1 Message Date
Felicitas Pojtinger
3aff00b57e refactor: Update dependencies, modernize Hydrun build systems, CI/CD and README conventions
Signed-off-by: Felicitas Pojtinger <felicitas@pojtinger.com>
2024-07-30 15:56:12 -07:00
Felicitas Pojtinger
e78f1f1b6f build: Bump bagop and hydrun support, drop unsupported Windows builds 2023-09-12 23:57:48 +02:00
Felicitas Pojtinger
f5f3b8efe2 docs: Add instructions for serving the tape and generating keys 2022-05-15 22:53:19 +02:00
Felicitas Pojtinger
167c3a7fb3 feat: Start enabling symlinks with support for multiple symlink to one file 2022-01-21 00:50:39 +01:00
Felicitas Pojtinger
9370ee4dd4 refactor: Disable broken symlink implementation for now to prepare for table-based reimplementation 2022-01-20 23:48:59 +01:00
Felicitas Pojtinger
84f91bfd4a refactor: Move File and FileInfo to pkg 2022-01-18 21:01:55 +01:00
Felicitas Pojtinger
5d3424df92 refactor: Inject mtio package to allow for remote implementation 2022-01-16 23:50:47 +01:00
Felicitas Pojtinger
2a28fa3b5f feat: Add OsFs-compliant support for Readlink, Symlink and Lstat 2022-01-16 18:03:43 +01:00
Felicitas Pojtinger
2f8e6e8875 feat: Add portable Timespec implementation for FileInfo 2022-01-16 01:18:45 +01:00
Felicitas Pojtinger
c5ce6d6cd3 feat: Use portable syscall.Stat_t equivalent for FileInfo 2022-01-15 20:58:47 +01:00
Felicitas Pojtinger
74ac65fb9a fix: Return fully-qualified file name in Name() 2022-01-11 03:40:06 +01:00
Felicitas Pojtinger
55d05e63e8 fix: Prevent creating directories again if they already exist 2022-01-10 23:43:45 +01:00
Felicitas Pojtinger
c498c226d8 fix: Allow using relative paths for database without creating leading directories 2022-01-08 15:40:28 +01:00
Felicitas Pojtinger
484e73b0fd fix: Don't import OS package in mtio stubs 2022-01-07 22:47:38 +01:00
Felicitas Pojtinger
f45f8b1499 refactor: Use explicit interface instead of os.File for drive backend 2022-01-07 22:27:14 +01:00
Felicitas Pojtinger
33b7e120d5 feat: Use pure Go SQLite on supported platforms and fallback to CGo SQLite on unsupported platforms, use Afero release will pulled changes 2022-01-07 21:25:19 +01:00
Felicitas Pojtinger
1a160b613f refactor: Disable autogenerated tests from SQLBoiler and switch to upstream driver 2022-01-07 21:02:35 +01:00
Felicitas Pojtinger
ba5d81ef7c refactor: Use modernc.org/sqlite 2022-01-07 20:53:44 +01:00
Felicitas Pojtinger
4104a9ee91 fix: Prevent calling readdir and readdirnames on files 2022-01-05 01:23:23 +01:00
Felicitas Pojtinger
4b246f2794 refactor: Rewrite path sanitizer to support write operations on relative tar archives 2022-01-04 22:20:33 +01:00
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
cfbb936954 refactor: Use interface for logger instead of private struct 2022-01-01 23:12:32 +01:00
Felicitas Pojtinger
9058942443 fix: Synchronize operations on index which depend on asynchronouns writes 2022-01-01 22:53:24 +01:00
Felicitas Pojtinger
5089333d13 feat: Make STFS API public
Also: Happy new year :)
2021-12-31 23:57:21 +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
4fc7754505 feat: Add full JSON output to JSON logger 2021-12-28 22:36:44 +01:00
Felicitas Pojtinger
40a5b9608f fix: Prevent nil errors on creating FileInfo structs 2021-12-28 21:59:36 +01:00
Felicitas Pojtinger
6837f6bc05 feat: Add basic structured logger 2021-12-28 21:05:43 +01:00
Felicitas Pojtinger
7befc67ffc fix: Ignore read/write permissions on FTP 2021-12-27 17:26:37 +01:00
Felicitas Pojtinger
9cfa7cf0f0 feat: Implement File.WriteAt 2021-12-27 17:24:35 +01:00
Felicitas Pojtinger
cd07daf2b5 feat: Support O_CREATE and O_EXCL flags 2021-12-27 17:18:41 +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
77060795e6 feat: Add O_RDONLY, O_WRONLY and O_RDWR flag support 2021-12-27 16:53:50 +01:00
Felicitas Pojtinger
a03d1e5016 feat: Start transfering open flags from FileSystem to File 2021-12-27 16:48:22 +01:00
Felicitas Pojtinger
19fc63459e feat: Enable reading from write buffer without syncing 2021-12-27 16:02:36 +01:00
Felicitas Pojtinger
04a08fe5a6 feat: Enable re-using write buffer and reading existing content into write buffer 2021-12-27 15:28:43 +01:00
Felicitas Pojtinger
8fb79ccb76 feat: Implement File.WriteString 2021-12-26 00:18:47 +01:00
Felicitas Pojtinger
ace271dde5 feat: Add explicit read/write locks to reading/writing functions in File 2021-12-26 00:15:45 +01:00
Felicitas Pojtinger
6901b7f78a fix: Use correct path to on-disk write cache cleanup function 2021-12-26 00:13:55 +01:00
Felicitas Pojtinger
44a3d32b18 fix: Cleanup write cache on file close 2021-12-25 23:54:26 +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
cbf347aa04 fix: Delete cache dir to prevent inconsistent reads 2021-12-25 20:54:15 +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
99e6687d51 fix: Make error catch for strconv in UIDs less explicit 2021-12-24 17:40:13 +01:00
Felicitas Pojtinger
8b09fd444f fix: Support GID and UID on Windows 2021-12-24 17:05:05 +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