-
Notifications
You must be signed in to change notification settings - Fork 135
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
[Release candidate] v10 prerelease #233
Closed
Changes from 20 commits
Commits
Show all changes
111 commits
Select commit
Hold shift + click to select a range
c310af8
Initial commit
mafintosh 0fc77d5
Simple reads/writes work
andrewosh 79e282e
Forgot index file
andrewosh 3c8a6a2
Added stat, dir, and checkout methods. Need to fix initialization for…
andrewosh f04561a
Stat + storage tests pass
andrewosh 4a5a1bd
Use consts + remove all clear logic temporarily
andrewosh 1859f52
Added watch
andrewosh 48aecac
Added fuzzing using fuzzbuzz + fixed deprecation warnings
andrewosh 27ae10a
Added createDirectoryStream + updated version handling + fixed deprec…
andrewosh 2d90fdf
Added _contentFeedLength so mkdir needn't lock. this.trie -> this._db
andrewosh c532a2e
Added existingFileOverwrite to fuzz tests
andrewosh 1689498
Added randomReadStream to fuzzer
andrewosh 7e8a103
Update mkdir to use condition function
andrewosh bab5eae
Extract content/storage helpers into lib + more fuzzing
andrewosh 401be48
Changed error message for ENOENT
andrewosh 0fce431
Reuse ensureContent in initialize + more fuzzing
andrewosh 6b87dca
Added missing lib/keys.js + updated docs + end handling in createRead…
andrewosh 792185d
Add length to randomReadStream fuzz test
andrewosh 483e72a
Update deps
andrewosh 5427b7f
Update node versions in .travis.yml
andrewosh 4bb6547
Fix bug in close + moved sodium-universal to dependencies
andrewosh 7322926
file descriptor reads
mafintosh 586b2be
Add BadFileDescriptor error
andrewosh c9122f1
martinheidegger's suggested changes + failing FD fuzz test
andrewosh cb5e19e
FD bugs + stateful FD fuzz tests
andrewosh 397e94f
Initial writable FD support
andrewosh 7db1178
Fix readable fd bug
andrewosh 76caf69
Basic writable fd
andrewosh f9e9360
writable fd tests
andrewosh 235b797
Add factory option
andrewosh a9141cf
Add updateMetadata
andrewosh 5a1845d
Manual decoding
andrewosh 10ebb9f
Better error handling + writable fd fuzz tests
andrewosh 80d8cc8
Fixed bug in _update
andrewosh 4beac45
Decode value in _statDirectory
andrewosh 223bf00
createDirectoryStream decoding error
andrewosh 6221c30
Fixed statDirectory + untested truncate
andrewosh d4b5128
Handful of untested, late-night changes
andrewosh 8bc8ca3
Many bug fixes + create
andrewosh 4191466
Temporarily add debugging
andrewosh c633824
Temporary buffer copy in writable fd (fuse workaround)
andrewosh 0c5db68
Added batcher for fewer blocks
andrewosh 7aeb124
Prefetch limit + readdir bug
andrewosh 9fbe03d
Nested directory readdir test
andrewosh 3b83a53
Added sparseMetadata test
andrewosh d1b6502
Prefetch 16 blocks in fd + add comment
andrewosh afbb687
Add createDiffStream (do not use until trie bug fix)
andrewosh 81dbc09
Assorted changes for @mafintosh's review
andrewosh 9bee543
Standardized
andrewosh 930414e
Resolved merge conflict
andrewosh e1268af
Use filesystem-constants
andrewosh dd62a85
var -> let
andrewosh 3877eec
10.0.0-rc0
andrewosh 8d12c17
Update FD size during write (#237)
andrewosh 0bb2210
10.0.0-rc1
andrewosh 4700e26
fix create returning a buffer instead of a stat obj
mafintosh 11c179b
10.0.0-rc2
mafintosh 854ea78
Pass stat through FD createWriteStream + fix create when file exists
andrewosh b158ba8
Add file option to lstat
andrewosh e334190
1.0.0-rc3
andrewosh 77ee7ae
bump to 7
mafintosh 92b25ff
fix: allow content feed to be passed in constructor (#238)
Karissa baca0b6
Moving to corestore
andrewosh b9f967f
Add temporary git deps
andrewosh 21436d6
Basic tests pass
andrewosh bde7cbe
Simple read/write from mount works
andrewosh 49f2c28
Added mount tests
andrewosh f7cf4f3
Added symlinking + tests
andrewosh e6d4bf9
Update deps + remove console.logs
andrewosh 41d52c0
Test refactoring + added support for mounting hypercores
andrewosh 44b5875
Allow to add metadata to Stat entries (#234)
Frando b2c08a3
More changes for mounts
andrewosh ab2a961
Enabled more tests + bug fixes
andrewosh f498a0b
Temporary deps + update content feeds on creation
andrewosh 229b4f9
Unskip fd tests and remove content update code
andrewosh d4dee91
Simple readdir with symlinks works
andrewosh be2b24a
Statting symlinks works for links-to-links
andrewosh 8bb81c2
Added missing files
andrewosh 2abcf7a
Removed debugging statements
andrewosh 6feb8c4
Update deps
andrewosh c2c4ac8
Bump corestore version
andrewosh a1832e2
Re-enabled sparse-mode fuzz test
andrewosh e8b76eb
pipeline -> pump for node 8
andrewosh 13d5227
Fix readdir bug
andrewosh 1e87544
do less seeks (#239)
mafintosh 9217df9
Resolved merge conflict
andrewosh faf6280
rmdir should use a gt iterator
andrewosh 26a89d9
Re-add sparseMetadata
andrewosh 2bda2cb
Another mount test + debugging
andrewosh 79f4be5
Update deps + don't forward top-level options into corestore
andrewosh 9d86d94
Remove debugging statements
andrewosh 267198f
Updated tests to remove megastore and reuse single corestores
andrewosh 30f38d4
Create new statOpts inside mount
andrewosh 993a16f
Remove unused deps
andrewosh 2330782
Update corestore dep
andrewosh c277459
Pass uid/gid into mount opts
andrewosh 385bf7b
10.0.0-rc5
andrewosh 5262c7d
Pass flags in _update + add unmount and unmount test
andrewosh ff8a96c
10.0.0-rc6
andrewosh 065a540
Bump mountable-hypertrie dep
andrewosh e47b82a
10.0.0-rc7
andrewosh b848e78
Add listAllMounts
andrewosh 3261a0b
10.0.0-rc8
andrewosh f4356eb
Added broken symlink readdir test + getAllMounts test
andrewosh 0721730
10.0.0-rc9
andrewosh 7ae2da8
Add secretKey to _getContent for mounts + add CORE_LOCK symbol
andrewosh 59a8e73
10.0.0-rc10
andrewosh 1ef6993
Update README.md
andrewosh e2d8896
Add isLocked to content state
andrewosh eeadea9
Merge branch 'v10' of github.com:mafintosh/hyperdrive into v10
andrewosh 933e45e
10.0.0
andrewosh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,61 @@ | ||
node_modules | ||
sandbox.js | ||
sandbox | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# TypeScript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# next.js build output | ||
.next |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
language: node_js | ||
node_js: | ||
- "node" | ||
- "lts/*" | ||
- "10" | ||
- "8" | ||
- "6" | ||
- "4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The deleted methods here. Are they supposed to be re-implemented or be breaking changes?