Commit Graph

646 Commits

Author SHA1 Message Date
Joonas Koivunen
bca596737a
Merge pull request #199 from eqlabs/macos_coredump_collection
ci: macos core dump collection
2020-06-23 16:27:49 +03:00
Joonas Koivunen
2c4feb9f33 ci: use sudo to run tests on macos
according to some folklore, sudo is required to get core dumps. sadly we
haven't been able to test if its required.
2020-06-23 16:06:38 +03:00
Joonas Koivunen
7616cbf333 ci: split test step, publish core dumps on macos 2020-06-19 16:52:28 +03:00
Joonas Koivunen
0bd822a3de ci: use all-targets instead of tests and examples 2020-06-19 16:52:28 +03:00
Joonas Koivunen
33648e9cea ci: rename build step 2020-06-19 16:52:28 +03:00
Joonas Koivunen
a1614011a3
Merge pull request #198 from eqlabs/prepare_unixfs_release
Prepare initial ipfs-unixfs release
2020-06-18 20:54:49 +03:00
Joonas Koivunen
e19677ae01 add(unixfs): repository, description, readme 2020-06-18 20:41:32 +03:00
Joonas Koivunen
be1d3b3891 refactor(unixfs): drop unused tar dependency 2020-06-18 20:24:57 +03:00
Joonas Koivunen
9835da8f08 add(unixfs): initial CHANGELOG.md 2020-06-18 20:24:57 +03:00
Joonas Koivunen
740c5f1cd7 chore(unixfs): README, license notes, set version to 0.0.1 2020-06-18 20:24:57 +03:00
Joonas Koivunen
b942b1a759
Merge pull request #190 from eqlabs/remove_lint_suppression
unixfs: Remove forgotten lint suppression
2020-06-18 12:43:50 +03:00
Joonas Koivunen
d5936fcaba
Merge pull request #195 from eqlabs/ci_maybe_skip_llvm_install
ci: skip llvm install if openssl is cached on windows
2020-06-18 01:49:50 +03:00
Joonas Koivunen
a4857fa98d ci: split llvm install from vcpkg integrate 2020-06-18 01:21:10 +03:00
Joonas Koivunen
d1cd15b4ec
Merge pull request #193 from eqlabs/fix_use_tempfile
fix test using non-unique tempfile
2020-06-18 01:16:08 +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
3ba5ddf1a3 fix test using non-unique tempfile 2020-06-18 00:55:11 +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
a867cc8e28 chore: cargo fmt 2020-06-17 23:09:05 +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
baa78d6098 fix: forgotten unused error variant (File) 2020-06-17 22:10:42 +03:00
Joonas Koivunen
cc2239abbb fix: warnings on ipfs_unixfs::walk 2020-06-17 22:09:52 +03:00
Joonas Koivunen
1479b5022a fix: remove lint suppressions 2020-06-17 22:09:02 +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