Whyrusleeping
eb59a62736
Merge pull request #5268 from ipfs/gx/update-deps
...
gx update deps
2018-07-23 17:17:13 -07:00
Whyrusleeping
42156532e4
Merge pull request #5271 from ipfs/fix/5270
...
Fix resolving links in sharded directories on gateway
2018-07-23 12:53:42 -07:00
Steven Allen
53235242a1
gx update deps
...
Updates:
* go-net
* go-text
* dns
* prometheus
* protobuf (golang, not gogo)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-23 11:49:43 -07:00
Łukasz Magiera
a11c5d27e1
path: gateway test for sharded dirs
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-07-21 15:15:40 +02:00
Kevin Atkinson
c8613b4300
Add initial support for identity hashes.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-07-19 18:09:52 -04:00
Whyrusleeping
1dede1b1d7
Merge pull request #5219 from schomatis/fix/mfs/remove-sort
...
mfs: remove `sort` from `ListNames()`
2018-07-19 14:29:11 -05:00
Lucas Molas
65a18ed669
unixfs: fix dagTruncate to preserve node type
...
Extract the original `FSNode` passed inside the `ipld.Node` argument and modify
its `Blocksizes` (removing all of them and re-adding the ones that were not
truncated). In contrast, the replaced code was creating a new `FSNode` that was
not preserving some of the features of the original one.
Change `TRUNC_HASH` values in `sharness` that were created with the bug to the
correct values.
License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-07-18 13:07:21 -03:00
Whyrusleeping
454a170032
Merge pull request #5245 from ipfs/fix/5241
...
add trickle-dag support to the urlstore
2018-07-18 10:39:10 -05:00
Steven Allen
9a9979b193
update go-cid
...
alternative to #5243 that updates go-cid and all packages that depend on it
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-16 15:16:49 -07:00
Steven Allen
4d4f343df7
check hashes in urlstore sharness tests
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-16 15:04:46 -07:00
Steven Allen
1358b28204
add sharness for trickle importer
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-16 15:04:45 -07:00
Whyrusleeping
bda81cd2d4
Merge pull request #5045 from schomatis/fix/cmd/files-ls-file-long
...
cmd: fix `files ls` to report hash and size for files
2018-07-16 16:52:13 +02:00
Whyrusleeping
07feeec9c4
Merge pull request #5010 from ipfs/feat/diskusage2
...
Efficient "repo stat" (DiskUsage) and "--size-only" flag
2018-07-16 16:50:41 +02:00
Whyrusleeping
4f1391f477
Merge pull request #5139 from achingbrain/feat/specify-object-data-encoding
...
feat: Allow specifing how object data is encoded
2018-07-16 16:49:31 +02:00
Lucas Molas
dfb81abf80
commands: files ls: sort output
...
Imitate Unix `ls` command, sort by default; disable with `-U` flag.
License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-07-16 09:58:55 -03:00
Kevin Atkinson
6a4b1262a5
Make sure you can't add URL's unless the url store is enabled.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-07-13 09:07:52 -04:00
Kevin Atkinson
0c2efb90d3
More test fixes.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-07-13 09:07:52 -04:00
Kevin Atkinson
b3457f240c
Enhance tests.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-07-13 09:07:52 -04:00
Kevin Atkinson
90972095a9
Add test cases for urlstore.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-07-13 09:07:51 -04:00
Steven Allen
7df7d11199
fix dht commands when pubsub routing is enabled
...
Instead of checking if Routing is a DHT (because it can now be a tiered
router and still contain a DHT), stash the DHT in a separate field in the IPFS
node (same as we do with the PSRouter).
fixes #5197
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-09 09:58:44 +02:00
Hector Sanjuan
37d4989647
Sharness: add tests for ipfs repo stat --size-only
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-07-08 13:01:46 +02:00
Steven Allen
cb0ad0d6ce
fix starting iptb nodes with additional arguments
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-06 23:33:12 -07:00
Steven Allen
667a9c8999
add test for sharness locking
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-05 14:33:01 -07:00
Lucas Molas
cbc239ce44
sharness: add files ls test (without -l)
...
License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-07-02 17:17:46 -03:00
Lucas Molas
dfe64980ce
cmd: fix files ls to report hash and size for files
...
License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-07-02 17:17:43 -03:00
Steven Allen
780f110aad
add test for /p2p addresses
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-26 17:11:40 -07:00
Steven Allen
3eba14aa24
gx update
...
Updates:
* go-kad-dht: Query performance improvements, DHT client fixes, validates
records on *local* put.
* go-libp2p-swarm/go-libp2p-transport: Timeout improvements.
* go-multiaddr-net: Exposes useful Conn methods (CloseWrite, CloseRead, etc.)
* go-log: fixes possible panic when enabling/disabling events.
* go-multiaddr: fixes possible panic when stringifying malformed multiaddrs,
adds support for consuming /p2p/ multiaddrs.
fixes #5113
unblocks #4895
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-26 17:11:33 -07:00
Steven Allen
384e2c40b2
add a failing test case for calling dht put with a bad key
...
see #5113
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-25 18:15:33 -07:00
Steven Allen
6112150d04
fix dht sharness tests
...
We can't currently put binary values due to API limitations. This worked before
because the DHT wasn't checking values on local put.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-25 18:15:33 -07:00
achingbrain
3cdaea663c
feat: Allow specifing how object data is encoded
...
Adds a --data-encoding flag to `ipfs object get` to let the user
specify base64 encoding for object data.
License: MIT
Signed-off-by: Alex Potsides <alex@achingbrain.net>
2018-06-19 16:37:45 +01:00
Whyrusleeping
aedc3217b5
Merge pull request #5107 from ipfs/fix/5102
...
improve swarm connect/disconnect commands
2018-06-13 15:29:02 +08:00
Whyrusleeping
92f3725fd7
Merge pull request #5069 from ipfs/feat/cat-iptb-logs
...
cat iptb logs on iptb failure (for debugging CI)
2018-06-13 15:27:12 +08:00
Whyrusleeping
1f3a5fe481
Merge pull request #4991 from ipfs/feat/git-plugin-default
...
plugin: preload git plugin by default
2018-06-13 15:26:27 +08:00
Steven Allen
98a1c44489
test swarm connect/disconnect
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-12 14:50:33 -07:00
Steven Allen
85acad9a01
gx update go-log, sys, go-crypto
...
* go-log
* sys
* go-crypto
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-08 22:36:24 -07:00
Whyrusleeping
65b8d70eca
Merge pull request #4693 from ipfs/kevina/fix-zero-raw-leaf
...
Create a raw node instead of a file node when there is no content.
2018-06-08 16:41:24 +08:00
Steven Allen
39f927aa04
update gx imports
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-05 23:55:08 -07:00
Steven Allen
c9c9986c9e
update multiplexers
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-04 10:05:20 -07:00
Steven Allen
8f95badb12
cat iptb logs on iptb failure (for debugging CI)
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-03 12:47:52 -07:00
Steven Allen
8293e20aae
fix the repo verify test
...
We've added a new file to the flatfs datastore.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-01 23:39:32 -07:00
Steven Allen
916572f38d
fix keystore tests for peer ID inlining patch
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 18:29:22 -07:00
Steven Allen
b4ed464ba5
remove extra newline from expected command output
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 18:29:22 -07:00
Steven Allen
1e9e2f453c
update deps
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 17:59:17 -07:00
Kevin Atkinson
6ab1e71473
Avoid changing hash for empty non-raw leaves.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-05-31 04:27:34 -04:00
Kevin Atkinson
485a5e59e9
Create a raw node instead of a file node when there is no content.
...
This fixes things so when raw-leaves are enabled a zero size file creates
a zero size raw leaf. When raw-leaves are not enabled the hash created
changes from QmbFMke1KXqnYyBBWxB74N4c5SBnJMVAiMNRcGu6x1AwQH to
Qmdsf68UUYTSSx3i4GtDJfxzpAEZt7Mp23m3qa36LYMSiW, since the type field
changed from TFile to TRaw.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-05-31 04:05:30 -04:00
Whyrusleeping
2ba717994e
Merge pull request #4967 from PlayerWithoutName/fix/sharness-multinode-tree
...
fix: Reduce tree in multinode test
2018-05-24 17:35:31 +02:00
Whyrusleeping
75f295dd7a
Merge pull request #4966 from PlayerWithoutName/fix/sharness-connect-timeout
...
Fix: sharness iptb connect timeout
2018-05-12 12:46:28 +01:00
Whyrusleeping
36d819d018
Merge pull request #4959 from ipfs/feat/ci/times
...
ci: Collect test times for sharness
2018-05-12 12:45:04 +01:00
Łukasz Magiera
6696342ac7
plugin: fix failing t0280-plugin-git
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-05-01 18:47:48 +02:00
Kacper Łukawski
2d9285d36d
fix: add timeout to iptb connect in sharness
...
License: MIT
Signed-off-by: Kacper Łukawski <kacluk98@gmail.com>
2018-04-23 20:22:05 +02:00