Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete WNFS Public Filesystem Implementation #13

Merged
merged 8 commits into from
May 17, 2022

Conversation

appcypher
Copy link
Member

Summary

This PR implements the following features

  • Base history on implementation.
  • History tracing iteration impl.
  • Browser-based wasm-wnfs tests.
  • More wnfs tests

This is the PR concluding WNFSv2 public file system implementation.

Test plan (required)

  • Testing the Rust core.

    cargo test -p wnfs --release
  • Testing the wasm bindings.

    cd crates/wasm
    yarn playwright test

Closing issues

Fixes #5

Ongoing Issues

@appcypher appcypher force-pushed the appcypher/complete-public-fs branch from 435c910 to 6095772 Compare May 4, 2022 22:10
@appcypher appcypher changed the title Conclude WNFS Public Filesystem Implementation Complete WNFS Public Filesystem Implementation May 4, 2022
@codecov-commenter
Copy link

codecov-commenter commented May 5, 2022

Codecov Report

Merging #13 (7f09057) into main (47ad91b) will increase coverage by 3.37%.
The diff coverage is 85.25%.

@@            Coverage Diff             @@
##             main      #13      +/-   ##
==========================================
+ Coverage   79.09%   82.47%   +3.37%     
==========================================
  Files          10       10              
  Lines         555      759     +204     
==========================================
+ Hits          439      626     +187     
- Misses        116      133      +17     
Impacted Files Coverage Δ
crates/fs/common/error.rs 50.00% <ø> (ø)
crates/fs/lib.rs 100.00% <ø> (ø)
crates/wasm/fs/blockstore.rs 0.00% <0.00%> (ø)
crates/wasm/fs/public/directory.rs 0.00% <0.00%> (ø)
crates/fs/public/file.rs 76.19% <50.00%> (-6.17%) ⬇️
crates/fs/public/node.rs 78.46% <58.82%> (-4.88%) ⬇️
crates/fs/public/directory.rs 83.73% <92.05%> (+7.62%) ⬆️
crates/fs/common/blockstore.rs 96.96% <100.00%> (ø)
crates/fs/public/link.rs 90.90% <100.00%> (ø)
... and 1 more

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@appcypher appcypher force-pushed the appcypher/complete-public-fs branch from afe1c5c to b0b7665 Compare May 9, 2022 09:34
@appcypher appcypher mentioned this pull request May 9, 2022
3 tasks
@appcypher appcypher force-pushed the appcypher/complete-public-fs branch from b0b7665 to acfafaf Compare May 9, 2022 11:13
@appcypher appcypher requested a review from matheus23 May 9, 2022 17:17
@appcypher appcypher force-pushed the appcypher/complete-public-fs branch from acfafaf to 559d5cb Compare May 13, 2022 10:23
@appcypher appcypher mentioned this pull request May 16, 2022
5 tasks
appcypher and others added 3 commits May 17, 2022 11:13
* Conclude public fs impl

* Implement foreign block store

* Fix typos and remove console logs

* Add new steps for arm-based macOS

* Update example. Ts, foreign blockstore, usage

* Delete package-lock.json & update yarn.lock

* Avoid reference equality in map keys

* Remove colon from wnfs.sh shbang

Co-authored-by: Philipp Krüger <[email protected]>
@matheus23
Copy link
Member

@appcypher and I have some thoughts on how we could improve baseHistoryOn in the future. We can improve that later on though.

@appcypher
Copy link
Member Author

Let's create an issue for that

@matheus23 matheus23 merged commit 9f92b15 into main May 17, 2022
@matheus23 matheus23 deleted the appcypher/complete-public-fs branch May 17, 2022 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Complete Immutable Core of the Public FS
3 participants