Joonas Koivunen
a4857fa98d
ci: split llvm install from vcpkg integrate
2020-06-18 01:21:10 +03:00
Joonas Koivunen
1f0e9505b1
ci: skip llvm install if openssl is cached
2020-06-18 01:13:20 +03:00
Joonas Koivunen
a809f053a5
Merge pull request #192 from eqlabs/add_exchange_block_timeout
...
test: add timeout to exchange_block
2020-06-18 01:01:43 +03:00
Joonas Koivunen
05451911b3
test: add timeout to exchange_block
...
this has been hanging on CI sometimes, 10s is more than enough for this
operation under the heaviest load.
2020-06-18 00:45:29 +03:00
Joonas Koivunen
7f161ca516
Merge pull request #191 from eqlabs/update_hyper_warp
...
Update hyper, warp
2020-06-17 23:39:48 +03:00
Joonas Koivunen
22aaec2377
refactor: remove unshared use
...
unshare was required as hyper was forced to require the body stream to
be Sync due to compiler issue while it was not really needed. Latest
hyper now has this workaround built-in.
2020-06-17 23:07:39 +03:00
Joonas Koivunen
27085b3095
chore: update hyper and warp to latest
2020-06-17 23:07:39 +03:00
Joonas Koivunen
f5bad262ec
Merge pull request #189 from eqlabs/feat_initial_get
...
feat: ipfs-unixfs get or "walk over anything"
2020-06-17 17:33:58 +03:00
Joonas Koivunen
0c5ad592a7
doc: add missing "for"
...
Co-authored-by: ljedrz <ljedrz@users.noreply.github.com>
2020-06-17 17:27:05 +03:00
Joonas Koivunen
a6167fc556
chore: cargo fmt
2020-06-17 17:27:05 +03:00
Joonas Koivunen
c70320dd6c
refactor: suggestions from code review
...
docs, comments and minor API changes again.
Co-authored-by: ljedrz <ljedrz@users.noreply.github.com>
2020-06-17 17:27:05 +03:00
Joonas Koivunen
b43ec1e9b2
refactor: solidify link conversion
2020-06-17 17:27:05 +03:00
Joonas Koivunen
629e3388b8
refactor: unify InnerKind, switch todos to unreachable
2020-06-17 17:27:05 +03:00
Joonas Koivunen
ee8cab71d9
fix: remove dead code on bucket -> bucket transitions
2020-06-17 17:27:05 +03:00
Joonas Koivunen
7b7ddbbe2b
fix: add back self.depth assertions in set_path
2020-06-17 17:27:05 +03:00
Joonas Koivunen
3bfa506f69
refactor: suggestions from code review
...
Including mostly comment fixes and removal of an extra &mut.
Co-authored-by: ljedrz <ljedrz@users.noreply.github.com>
2020-06-17 17:27:05 +03:00
Joonas Koivunen
d56058a200
fix: use patched conformance tests
...
with patching we can run all of our outstanding work.
2020-06-17 17:27:05 +03:00
Joonas Koivunen
9aa9322a33
refactor: remove unused warnings on windows
2020-06-17 17:27:05 +03:00
Joonas Koivunen
24e4c4da42
chore: cargo fmt
2020-06-17 17:27:05 +03:00
Joonas Koivunen
0d2dd477e9
doc: refresh and check out cargo docs
2020-06-17 17:27:05 +03:00
Joonas Koivunen
c874e1165a
fix: windows build
2020-06-17 17:27:05 +03:00
Joonas Koivunen
ed8a2c3d66
doc: update unixfs/README.md and docs
...
added hints about users preferring to use `ipfs_unixfs::walk::Walker`.
2020-06-17 17:27:05 +03:00
Joonas Koivunen
bfd8722ae4
refactor: rename dir submodule to directory
...
also the file was forgotten.
2020-06-17 17:27:05 +03:00
Joonas Koivunen
6be2556341
chore: cargo fmt
2020-06-17 17:27:05 +03:00
Joonas Koivunen
1d50a5195c
fix: check dirs and hamtshards supported
...
this is probably being overly strict but at least there will not be any
misunderstandings.
2020-06-17 17:27:05 +03:00
Joonas Koivunen
d589e90160
refactor(unix): split test_support with FakeBlockstore
2020-06-17 17:27:05 +03:00
Joonas Koivunen
f5ada8728d
add(http): multiblock file /get test
...
this does not hit the buffer cycling cases but hits all other file
cases.
2020-06-17 17:27:05 +03:00
Joonas Koivunen
7e0fcd05b3
refactor(http): more /get test support
2020-06-17 17:27:05 +03:00
Joonas Koivunen
bd6a974db5
refactor: simplify to simple buffer in TarHelper
...
two buffers would allow better reusing, but only with concurrency.
2020-06-17 17:27:05 +03:00
Joonas Koivunen
9b75c16143
fix(unixfs/ex): simplify get back to listing
2020-06-17 17:27:05 +03:00
Joonas Koivunen
6eb276eb28
add: test /get for long and file names
2020-06-17 17:27:05 +03:00
Joonas Koivunen
9151834ba3
chore: cleanup warnings, fmt
2020-06-17 17:27:05 +03:00
Joonas Koivunen
350bb9ccf7
fix: hopefully get windows compiling
2020-06-17 17:27:05 +03:00
Joonas Koivunen
92cc2ab353
fix panicing with long link names
2020-06-17 17:27:05 +03:00
Joonas Koivunen
f3f9f26c9b
refactor: remove unused code
2020-06-17 17:27:05 +03:00
Joonas Koivunen
7983fcf3b0
chore: cargo fmt
2020-06-17 17:27:05 +03:00
Joonas Koivunen
062468c108
add: test case for checking filesegments
2020-06-17 17:27:05 +03:00
Joonas Koivunen
6a96593866
refactor: make Walker easier to use
...
turns out the internal structure almost supported this already, but
`self.current` needed to be done an Option.
2020-06-17 17:27:05 +03:00
Joonas Koivunen
e25a23380c
refactor: split tar helper to own module
2020-06-17 17:27:05 +03:00
Joonas Koivunen
f71c212edd
chore: fmt and clippy warnings
2020-06-17 17:27:05 +03:00
Joonas Koivunen
948eeff48f
refactor: rename FileMetadata to ipfs_unixfs::Metadata
2020-06-17 17:27:05 +03:00
Joonas Koivunen
9b18427e16
refactor: move ipfs_unixfs::dir::walk to top level
2020-06-17 17:27:05 +03:00
Joonas Koivunen
d61b0424d8
fix: use errors instead of unwraps in /get as well
2020-06-17 17:27:05 +03:00
Joonas Koivunen
d16a2645f6
fix: errors during walking
2020-06-17 17:27:05 +03:00
Joonas Koivunen
fcdf59aac8
doc: document public members
2020-06-17 17:27:05 +03:00
Joonas Koivunen
91635181c4
refactor: remove home-grown Either
2020-06-17 17:27:05 +03:00
Joonas Koivunen
f37974a19d
doc: document Walker and friends
2020-06-17 17:27:05 +03:00
Joonas Koivunen
7feededa81
fix: refs must use new ipfspath.follow_dagpb_data
2020-06-17 17:27:05 +03:00
Joonas Koivunen
3da2bc7028
fix: last cat conformance test failure
2020-06-17 17:27:05 +03:00
Joonas Koivunen
1e0dd4e93e
add(unixfs): sharded to non-sharded resolving test
2020-06-17 17:27:05 +03:00