Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hack-pad/hackpadfs

An extensible file system abstraction for Go. File systems, composable interfaces, and test suites.
https://github.com/hack-pad/hackpadfs

indexeddb: Add tests and fix bugs (#34)

* Move JS .env file to indexeddb, should not be in root
* Update to latest wasmbrowsertest
* R...

e19a0227823e3e2aefd1bf5de2a2d95de1824621 authored over 1 year ago by John Starich <[email protected]>
Add examples README note for breaking changes, upgrade deps (#33)

* Add examples README note for breaking changes
* Upgrade examples deps

Closes https://githu...

caed6d39c0bd529d9d1295edf331ab6fbc12b532 authored over 1 year ago by John Starich <[email protected]>
Use safejs for JS panic handling, add JS to coverage reports (#31)

Switches to https://github.com/hack-pad/safejs to
properly handle all JavaScript panic scenario...

b9db5f0f35a286a871c95b811d82e6d2eb26480b authored over 1 year ago by John Starich <[email protected]>
Fix os.FS example (#30)

Fix os.FS example, brought up in
https://github.com/hack-pad/hackpadfs/issues/29

Thanks @jri...

d5a1f9aff21ef565158470f05e986b16065ac40c authored almost 2 years ago by John Starich <[email protected]>
Implement MountFS on `Sub()` fallback to support non-read operations (#28)

Implements MountFS on `Sub()` fallback to support non-read operations.

Caveat: The `PathError...

62d66678aa534f671783495abb76b98676e7662f authored almost 2 years ago by John Starich <[email protected]>
fstest: Use `hackpadfs.Fn()` and skip helpers to detect MountFS supported operations too (#27)

Uses `hackpadfs.Fn()` and skip helpers to detect MountFS supported
operations in `fstest`.

U...

53caad6c173e2d99d4adf1f6ede177d10a5479a7 authored almost 2 years ago by John Starich <[email protected]>
Add fallback recursive delete on `RemoveAll()` (#26)

66241a0cfede621118ca6133c047f76f3825ac7a authored almost 2 years ago by John Starich <[email protected]>
Add `hackpadfs.WriteFullFile()` to call an optimized `fs.WriteFile()` (#25)

c26cb40e2d8612e402a51fc13b0d88c00d5e0696 authored almost 2 years ago by John Starich <[email protected]>
Update to Go 1.19, test on more versions in CI (#24)

- Lint on Go 1.19.
- Test on more versions of Go: 1.16 through 1.19.
- Fix incompatibilities f...

765873171fe3f6effb5a11a0dde0060d6d6c1ad0 authored almost 2 years ago by John Starich <[email protected]>
fix: js.Wrapper was removed in go1.19 (#20)

Fixes build against go1.19

js.Wrapper was removed: add it back as JSWrapper.

https://githu...

d2147a6be2d2f5e2c7a8f3ea549e51c2355c74de authored almost 2 years ago by Christian Stewart <[email protected]>
Fix implementations of `*.FS.ReadDir()` when reading regular files (#23)

* Add ReadDir tests for reading a file as a directory
* Fix mem.FS.ReadDir() not returning ErrN...

610a3a497bcd3872bc595497f7610cfb8bd7b108 authored almost 2 years ago by John Starich <[email protected]>
Add os.FS.ToOSPath() and FromOSPath() to interoperate with io/fs (#18)

* Add `os.FS.ToOSPath()` to convert FS paths to OS paths
* Add `os.FS.FromOSPath()` to convert ...

60c2d731460bd9a2c67ee9d123f08bb1d9f74bef authored over 2 years ago by John Starich <[email protected]>
Report to coveralls on best-effort basis (#19)

Improves resiliency during coveralls outages.

384e440aa9c01819348ba0faa9f1aad3a0f18d52 authored over 2 years ago by John Starich <[email protected]>
idb: Fix inconsistently stored blob type (#16)

This atomic value was incorrectly set to a byte slice instead of a `*blob.Bytes` type.

e548a3a245e48de5c0979814f4b5c807959b8090 authored over 2 years ago by John Starich <[email protected]>
os: Add Windows support (#13)

Add Windows support to os.FS, including automated regression tests.

Caveat: Some specific fst...

9711048bd7eafcca8321fedbd6bc3ca9481ddaa1 authored over 2 years ago by John Starich <[email protected]>
Add tar.ReaderFS to README

5db3715f05c64f825f87a710dd42d82fb459ee34 authored over 2 years ago by John Starich <[email protected]>
Add tar.ReaderFS: A streaming tar FS for memory and time-constrained programs

Ported from github.com/hack-pad/hackpad/internal/tarfs

63d636d3f11322588b581ae562845e8bc6188ccb authored over 2 years ago by John Starich <[email protected]>
Add fserrors pkg to prepend error cause information

7df27a08fdee82e8da12bab573237cefb472bc1c authored over 2 years ago by John Starich <[email protected]>
Add example S3 file system (#9)

Add tested, fully-working example file system for S3.

Uses a Go sub-module to isolate big dep...

cd42db75260266c5c71145d07050313c9e6f6684 authored almost 3 years ago by John Starich <[email protected]>
Add docs (#7)

Add more info and guides to the README

dbf2b5b4d05d760132fca33f93c132cdc5f75fb7 authored about 3 years ago by John Starich <[email protected]>
Lint on native system and js,wasm and fix issues

* Remove linter build tags constraint, fix errcheck
* Upgrade linters to latest
* Run linters wi...

6dbc366a2a2fcced704df7b41b828153355532be authored about 3 years ago by John Starich <[email protected]>
Bump to first release of idb

4915baf7225c33d8b1ff5f347371bd9482e3c17c authored about 3 years ago by John Starich <[email protected]>
fstest: Trigger tb.Skip() before sub-tests run to avoid panic(nil) complaints

05974bd40a5262c38be4e7a4e82aa6efc97351ef authored about 3 years ago by John Starich <[email protected]>
cache: Add FileInfo to RetainData func

8f60c6f4dc8bb5484ac894021fcf14b17fa5b09a authored about 3 years ago by John Starich <[email protected]>
cache: Add new cache FS

5be1a96da8e1dc52d803c3fe926bb948a6046c27 authored about 3 years ago by John Starich <[email protected]>
mem: Return original blob when retrieving file data

0f83972edb0ae62031b8c72f82a073b487dbdf07 authored about 3 years ago by John Starich <[email protected]>
Preallocate results slice for transaction.Commit()

81838e020b58b8d682b3c9ca8aa0fb074b001215 authored about 3 years ago by John Starich <[email protected]>
keyvalue: Fix data race in blob.Bytes

567b5f63c80dfd80565c491b36d5644f9d790a89 authored about 3 years ago by John Starich <[email protected]>
fstest: Skip Writer tests for read-only FSs

dca6864433899a66d8a6897409fbee4168c07ca2 authored about 3 years ago by John Starich <[email protected]>
cache: Fix lint

c0d176de33ad3196f05dc93d66123c8d625eba00 authored about 3 years ago by John Starich <[email protected]>
cache: Fix race condition in reads while copying from source

e9381477bdada60888413ce9b984316f1b8e2dcc authored about 3 years ago by John Starich <[email protected]>
keyvalue: Fix data race in blob.Bytes when reslicing for a View

011eaec6c0118fb4ff36d3c67d0a239f85cc00b9 authored about 3 years ago by John Starich <[email protected]>
Fix lint

99eb86f64c6b3a018503d6a84b518e12f7e99843 authored about 3 years ago by John Starich <[email protected]>
keyvalue: Fix blob.Bytes data races when sharing byte slices

0f3aa9c87d7aba8455a5e1e0c83d65e2779e4ff5 authored about 3 years ago by John Starich <[email protected]>
keyvalue: Fix SetBlob arg naming to match behavior

25175b53ff25accdb27d58fb395b46aeb6e31bd5 authored about 3 years ago by John Starich <[email protected]>
Bump idb to latest to pick up context leak fixes

2b73518567671688f50bfa36fb59976630f87445 authored about 3 years ago by John Starich <[email protected]>
cache: Simplify "ensure base dir" to MkdirAll

e86ae6db0bb33030daa4204f2b5c103cd153087d authored about 3 years ago by John Starich <[email protected]>
indexeddb: Pass durability option to NewFS

8173de332f89f9c61753abea30d50d6ceae3400e authored about 3 years ago by John Starich <[email protected]>
blob: Only fail with offset errors if non-empty

9de55e3d77ddfbfeafbd756c066c5174de256b88 authored about 3 years ago by John Starich <[email protected]>
keyvalue: Remove now-unneeded atomic size updater

fc0c4848d3729cd48527080557f2a9ae8b4837b7 authored about 3 years ago by John Starich <[email protected]>
keyvalue: Better size value if modified after fetch

2793e0022ab996fa7c8aa01da034b397d0686f35 authored about 3 years ago by John Starich <[email protected]>
mount: Clean up failed rename

035bb1a8cdde782f3cb49059105d7cd3275f91b7 authored about 3 years ago by John Starich <[email protected]>
mount: Implement RenameFS for non-directories

6cfdb439afb2bef7f5c6b318740f69fe5d7b40dd authored about 3 years ago by John Starich <[email protected]>
indexeddb: Add idbblob.NewLength(int)

312d90414ef8b9a1221dd113f67746008b32e178 authored about 3 years ago by John Starich <[email protected]>
keyvalue: Fix open with truncate causing mismatched file sizes

ddd6078743115c92da7121452c77c77e8fa0eb25 authored about 3 years ago by John Starich <[email protected]>
indexeddb: Document JS Blob implementation

307e080176e54e0a3b76881904c1fb88b5892bcb authored about 3 years ago by John Starich <[email protected]>
indexeddb: Export IDB Blob type for sub-programs to use

c2ab4d17be54f310e8ad3c5163a74837d186581b authored over 3 years ago by John Starich <[email protected]>
indexeddb: Ensure Clear() still has a root directory afterward

604dcf7cfa8b6322d052658de3ad4ec0d32b2747 authored over 3 years ago by John Starich <[email protected]>
fstest: Verify root exists and is directory

7798311b0c511bcb63cf91cd1d81e6c3d704e71c authored over 3 years ago by John Starich <[email protected]>
keyvalue: Add file.Chmod() support

bc526ee1f8f0dc45923092f8a287f8ea7fbceaec authored over 3 years ago by John Starich <[email protected]>
Remove LstatOrStatFS, just use StatFS, LstatFS, or the helper instead

a159f101d45cf093299d7664ae425912b2e42f88 authored over 3 years ago by John Starich <[email protected]>
Fix missing error check

08086d7b6e3255e1588ff53b48caeb41fbcf8b49 authored over 3 years ago by John Starich <[email protected]>
fstest: Add ReadFile test

59107af395d55b2a27848f2c0fea20d620c06c97 authored over 3 years ago by John Starich <[email protected]>
Test hackpadfs.MkdirAll()

59c2b425763603fed77b5f10c2bd54e533c4fa8b authored over 3 years ago by John Starich <[email protected]>
Fix lint

ae2b65e8fc37ece7215e8c073f4aa92cce5a8f43 authored over 3 years ago by John Starich <[email protected]>
Share mount.FS wrapper with root package

02d3e03b2ad32267801ad2547fec134b98f00859 authored over 3 years ago by John Starich <[email protected]>
os: Remove Fd() and SyscallConn() for now, increases API surface unnecessarily

a10c7199b56b5b058fecfaf4607726283ca0adff authored over 3 years ago by John Starich <[email protected]>
keyvalue: Test base file record retrievers

e12b07b070ae8d8c830e97caa9d8bb1918ce6294 authored over 3 years ago by John Starich <[email protected]>
fstest: Test invalid path on stat

4437790c45ad4b19c1e574bc9c65f3cd4035f180 authored over 3 years ago by John Starich <[email protected]>
keyvalue: Test ErrExist branches

477f4cdf70e04cbbeb150ffc8cdc357404a987df authored over 3 years ago by John Starich <[email protected]>
mem: Ensure compliance with keyvalue.TransactionStore

dae579e434a27f7dab28212b2d68aaccd3e55846 authored over 3 years ago by John Starich <[email protected]>
fstest: Test renaming a non-empty directory

5b7a4968a543edb2fbb186fc4980638b33669adb authored over 3 years ago by John Starich <[email protected]>
indexeddb: Fix deadlock when fetching data during transaction

8af174877e0873a9eef6c01b60eeb0a38d5d3238 authored over 3 years ago by John Starich <[email protected]>
fstest: Additional tests for seek, valid paths, and rename

4589af59f29d82cdd2ebc64478f553027ae8cede authored over 3 years ago by John Starich <[email protected]>
keyvalue: Fix ReadDir with high N causing panic

98795a1ee20d51e1fa06656b1615c393e122f060 authored over 3 years ago by John Starich <[email protected]>
Fix lint

75ac40b171e031a6281f09a40c479fadd401b1bb authored over 3 years ago by John Starich <[email protected]>
mount: Test Mount(), fix exact match bug

c219ac67f79791e12bc260b268724badc12bff76 authored over 3 years ago by John Starich <[email protected]>
mount: Fix typo in test

8f36a78710f7aaf6644376a79ee2810e83a9adb7 authored over 3 years ago by John Starich <[email protected]>
fstest: Permit extra files to exist in test fs

973379f1da83e25cd78613f3f1f4f9c610890483 authored over 3 years ago by John Starich <[email protected]>
mount: Fix data race where bad mount exists while processing, add tests for AddMount

fdd02cd593ccde9125adedbdb3ebb54cd0dd5cf6 authored over 3 years ago by John Starich <[email protected]>
keyvalue: Fix ReadDir tests

c39a6c4be44f72e94c18d812e761cbb7d80106eb authored over 3 years ago by John Starich <[email protected]>
fstest: Permit both kinds of empty slice return values

d641651a6eabad74aa1de01c78fec8c315847ea9 authored over 3 years ago by John Starich <[email protected]>
mount: Add initial implementation

a29eceaa1fa378ee87f61fbe4eaf291aef082afe authored over 3 years ago by John Starich <[email protected]>
mount: Test, add missing FS.Open

aabbbcd9e708761a1f2f149f479a44dd22adb44e authored over 3 years ago by John Starich <[email protected]>
Add mem.FS. Moved from keyvalue tests, exported, and fewer locks

a50944bdb953cd9363fea9bf81760a7d04551052 authored over 3 years ago by John Starich <[email protected]>
idb: Fix TODOs, combine into fewer one-off functions

aed82177d17e0a49d1e2d6669001610c93c9f8eb authored over 3 years ago by John Starich <[email protected]>
Detect regular files properly with "no type info"

18092032b98149d8f1c667ebf158042d0bce8c89 authored over 3 years ago by John Starich <[email protected]>
Missed a ctx

474d81a312e474567c2e0c473cacaf0bb62da849 authored over 3 years ago by John Starich <[email protected]>
keyvalue: Pass contexts to Store Get and Set

e08334e49f56495fc6984ec02a1eca9d152506cf authored over 3 years ago by John Starich <[email protected]>
Wait for setFile txn to complete

96fc9c8213872fe82122b720bee0b76470d68eae authored over 3 years ago by John Starich <[email protected]>
keyvalue: Add file.ReadDir() support

157c5bf3c003b1e4d7646f9c4a703350f4466fbf authored over 3 years ago by John Starich <[email protected]>
keyvalue: Add Transaction options with "r/w mode", convert OpHandler to interface

b14f014551d1f9584271add801e5383ed25ae68f authored over 3 years ago by John Starich <[email protected]>
idb: Use higher precision time, verify fstest with lower precision

eac5bfef917d90b519ccc36904183a2eaf30618e authored over 3 years ago by John Starich <[email protected]>
Automatically mkdir on keyvalue's root

cc68825daf237d87b0bf528942158ab21fbca09f authored over 3 years ago by John Starich <[email protected]>
idb: Componentize gets and sets, in prep for TransactionStore

734626fcbee4d96d0354cd53030cc23145f5b458 authored over 3 years ago by John Starich <[email protected]>
keyvalue: Consolidate old get_all_store into fs.go

1aa78fe3944860ee1d60a3190f62f8bee6798c2a authored over 3 years ago by John Starich <[email protected]>
idb: Rename data->record and dataBlob->data

f62af30e52d93e267811b216145c474925343a35 authored over 3 years ago by John Starich <[email protected]>
Adjust create test to avoid extra chmod call

0c597ff775f020a2fa77199abff2816adafb828f authored over 3 years ago by John Starich <[email protected]>
idb: Fix file.Data() waiting in the middle of a transaction

f9b65dbd5e43d0e1b67555a49610adcc2f2547c6 authored over 3 years ago by John Starich <[email protected]>
idb: Guarantee JS array and byte array are in sync, panic for impossible cases

6c9cad584f373865e14de827960423fae946863c authored over 3 years ago by John Starich <[email protected]>
idb: Read file.Size() at first, but update with file.Data().Size() after reading

55ad5e4b2212a512c85ed51ef6634263026df230 authored over 3 years ago by John Starich <[email protected]>
indexeddb: Initial commit

1d1e0e158887e33870ead613398b789fdbf65b27 authored over 3 years ago by John Starich <[email protected]>
Fix build tags

9b8be0747c11a1f15608d311ca8582f41e266970 authored over 3 years ago by John Starich <[email protected]>
idb: Support keyvalue.TransactionStore

3bf80e8b33ed5681f07a3baf0d09d81b4caa463b authored over 3 years ago by John Starich <[email protected]>
Better messages for build tag errors

1ee2ad692bd305dd6469962e53ff7c1d64a96d55 authored over 3 years ago by John Starich <[email protected]>
indexeddb: Add fstest

22fa9b1fe597574272d24c8b9e96f2e75bd215f9 authored over 3 years ago by John Starich <[email protected]>
Add test coverage reporting and badge (#2)

* Add test coverage reporting
* Ignore cover file
* Add badges for CI and coverage

c5aca93e547c5acd3a74cf1cae0121c8d61d0646 authored over 3 years ago by John Starich <[email protected]>
Use GitHub Actions (#1)

* Add Makefile and GitHub Actions
* Add tests for Go build tag setup and import detection

1611903957bd38084cbf6d06cf4980da64dcead7 authored over 3 years ago by John Starich <[email protected]>
Use interface TestSetup instead of func type, add func type adapter

9da22e627b77573eea1c23de36298bbc79372d48 authored over 3 years ago by John Starich <[email protected]>
Add linters, fix issues

ee617e2a762431ac6db1754bfc1f93ec25313970 authored over 3 years ago by John Starich <[email protected]>