Commit Graph

1591 Commits

Author SHA1 Message Date
Steven Allen
7705240997
Merge pull request #5315 from ipfs/fix/5272
wait for the nodes to fully stop
2018-07-31 01:25:31 +00:00
Steven Allen
abad8ca76e wait for the nodes to fully stop
Ideally, we'd fix this in IPTB but I'm tired of this bug and this is the easy
fix.

fixes #5272

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-30 16:21:25 -07:00
Steven Allen
e25383e49e make faulty tests always pass
see: https://github.com/ipfs/go-ipfs/issues/4055

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-30 16:21:22 -07:00
Steven Allen
848a923c99 fix private network tests
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-30 15:59:31 -07:00
Steven Allen
ca1024a16a sharness: remove extraneous iptb stop
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-30 15:59:31 -07:00
Steven Allen
e51588ee77 test pin update
tests #4999 and #5264

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-30 00:13:05 -07:00
Kevin Atkinson
1e7b2559e4 Include cid-fmt binary in test/bin.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-07-28 02:28:27 -04:00
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
Xiaoyi Wang
be6920fe9b Add testcase for key rename command output
License: MIT
Signed-off-by: Xiaoyi Wang <wangxiaoyi@hyperchain.cn>
2018-04-23 22:33:31 +08:00
Kacper Łukawski
5ae57ef595 fix: reduced number of leafs in multinode test's file tree
License: MIT
Signed-off-by: Kacper Łukawski <kacluk98@gmail.com>
2018-04-22 19:07:28 +02:00
Łukasz Magiera
9b4296d9fd ci: Collect test times for sharness
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-21 22:40:03 +02:00
Jakub Sztandera
e5ff2c3de2 cidsec: add test for command closing right away
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-04-20 17:07:39 +02:00
Whyrusleeping
67a8cb04f1
Merge pull request #4530 from ipfs/feat/sharness-junit
sharness: Generate JUnit test reports
2018-04-20 23:41:50 +09:00
Whyrusleeping
c225c344e4
Merge pull request #4833 from ipfs/misc/remove-dead-code
misc: Remove some dead code
2018-04-20 23:39:55 +09:00
Whyrusleeping
076fd91e5f
Merge pull request #4835 from ipfs/fix/typos
misc: Fix a few typos
2018-04-20 23:35:58 +09:00
Łukasz Magiera
6b3915ba90 ci: run go vet, disable docker on jenkins
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
Łukasz Magiera
3e41b15906 sharness: Don't escape colors in junit xml
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
Łukasz Magiera
d25e82616e sharness/junit: Better test tree in jenkins
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
Łukasz Magiera
d6fe0c195d ci: New Jenkinsfile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
Łukasz Magiera
ea4a46250c sharness/junit: fixes after review
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
Łukasz Magiera
b2b68c8214 sharness/junit: review
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
Łukasz Magiera
83c57eda1f sharness: Fix tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
Łukasz Magiera
3eb614fcb2 sharness: Generate JUnit test reports
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-10 18:31:25 +02:00
Łukasz Magiera
dd23bec97e profile: fix test profile tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-04-08 13:59:12 +02:00
Łukasz Magiera
b290286dd7 misc: Fix a few typos
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-30 09:47:22 +02:00
Steven Allen
ee6c95c22e test listing a sharded directory with a missing block.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-27 22:18:17 -07:00
Whyrusleeping
a98a4f40d3
Merge pull request #4873 from ipfs/fix/4871
make the tar writer handle sharded ipfs directories
2018-03-25 12:47:40 -07:00
Łukasz Magiera
af9b4af581 config: apply review to lowpower profile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-24 16:11:42 +01:00
Łukasz Magiera
fae9967a03 init: lowpower profile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-24 16:11:42 +01:00
Steven Allen
0dc984290c test ipfs get on sharded directory
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-23 16:24:57 -07:00
Whyrusleeping
8dbdb29576
Merge pull request #4849 from ipfs/no-dev-null-pipe
No dev null pipe
2018-03-23 09:41:04 -07:00
Whyrusleeping
4f601a0ec0
Merge pull request #4859 from ipfs/fix/govet
Fix go vet warnings
2018-03-23 09:10:43 -07:00
Christian Couder
8a2035eaa2 sharness/t0010: also check 'echo stuff | $cmd --help'
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2018-03-23 10:23:33 +01:00
Christian Couder
1bb3abafe2 sharness/t0010: don't pipe /dev/null into $cmd --help tests
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2018-03-23 10:21:11 +01:00
Whyrusleeping
550c6eb5bf
Merge pull request #4848 from ipfs/check-failure-with-bad-flag
sharness/t0010: check that all the commands fail when passed a bad flag
2018-03-22 23:35:23 -07:00
Whyrusleeping
6b180b2f7c
Merge pull request #4832 from ipfs/fix/bootstrap-cmd-prefix
Use prefix in bootstrapWritePeers
2018-03-22 23:32:47 -07:00
Whyrusleeping
b0ac2b8dac
Merge pull request #4816 from ipfs/fix/t0063-test-profile
Fix t0063-daemon-init.sh by adding test profile to daemon
2018-03-22 23:30:55 -07:00
Whyrusleeping
64944f57e9
Merge pull request #4767 from schomatis/fix/dag/diff
dag: diff: check CIDs in base case when comparing nodes
2018-03-22 23:19:53 -07:00
Whyrusleeping
59ad0f8c4b
Merge pull request #4755 from schomatis/fix/add/hash-only
add: hash-only: set the prefix for MFS root
2018-03-22 23:18:23 -07:00
Whyrusleeping
c44191e096
Merge pull request #4743 from schomatis/fix/unixfs/dagarchive-path
unixfs: clean path in DagArchive
2018-03-22 23:16:24 -07:00
Whyrusleeping
a9dfe410d2
Merge pull request #4563 from ipfs/fix/block-mhtype
commands/block: use CIDv1 with custom mhtype
2018-03-22 23:03:56 -07:00
Łukasz Magiera
221652fcfb fix govet warnings
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-22 17:31:22 +01:00
Łukasz Magiera
ae528640d9 misc: Remove some dead code
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-21 01:34:04 +01:00
Christian Couder
30039a78b2 sharness/t0010: quote error messages
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2018-03-20 22:22:45 +01:00
Christian Couder
3a00b7dca1 sharness/t0010: check that all the commands fail when passed a bad flag
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2018-03-20 22:16:35 +01:00
Steven Allen
781dfa1252 cleanup name publish argument tests
1. Don't bother testing the peer IDs. These commands won't ever use them.
2. Move the `--help` test out from in-between the missing argument tests.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-19 16:31:07 -07:00
Steven Allen
3bb59efade add sharness test for #4837
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-19 16:00:51 -07:00
Łukasz Magiera
ed54f58df7 use prefix in bootstrapWritePeers
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-19 01:36:51 +01:00
Steven Allen
4e9a6c7eab add regression test for #4823
for both online and offline mode (tests both the cli and the api)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-18 13:04:50 -07:00
Steven Allen
45fd7d213f pre-populate required arguments from request body
This way, we can always assume that indexing a required argument works.

Also:

* test that the command tree doesn't have any obvious bugs (duplicate options,
  arguments in the wrong order, etc).
* simplify the usage ParseBodyArgs.
* remove unnecessary check in the get command.

fixes #4823

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-18 13:04:25 -07:00
Łukasz Magiera
6b67125139 Fix t0063-daemon-init.sh by adding test profile to daemon
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-15 01:06:54 +01:00
Jakub Sztandera
16dad7515b tar: fix Go 1.10 breakage
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-08 04:17:47 +01:00
Whyrusleeping
13887ff2c7
Merge pull request #4751 from ipfs/feat/safe-cid
Disallow usage of unsafe hashes for reading and adding content
2018-03-05 12:25:26 -08:00
Jeromy
dd40a5a2d5 fix pubsub pub reading stdin args
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-03-05 11:45:11 -08:00
Jakub Sztandera
60018d3ee8 cid_secuirty: add test for gc
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-05 19:38:25 +01:00
Lucas Molas
90acbfaae7 dag: diff: check CIDs in base case when comparing nodes
Fixes #4591.

License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-03-05 12:22:52 -03:00
Lucas Molas
f710b31ff4 unixfs: clean path in DagArchive
Fixes #4720.

License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-03-04 20:10:19 -03:00
Jakub Sztandera
a9417a144c fix ipfs pin verify --verbose not working
Resolves https://github.com/ipfs/go-ipfs/issues/4761

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:38:17 +01:00
Jakub Sztandera
9634991112 Add sharness tests for CID security
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:38:17 +01:00
Jakub Sztandera
c30422d790 Enforce Cid security rules for getting and adding blocks
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-04 01:38:17 +01:00
Lucas Molas
5d7e8a893d add: hash-only: set the prefix for MFS root
Fixes #4652.

License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-03-02 15:46:02 -03:00
Łukasz Magiera
6f68eac5bc commands/block: Increase mhlen in sharness
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-01 16:18:53 +01:00
Whyrusleeping
25eeb1e250
Merge pull request #4638 from MichaelMure/statlocal
add a --with-local option to ipfs files stat
2018-02-08 14:21:16 -08:00
Whyrusleeping
3106135dd5
Merge pull request #4662 from ipfs/fix/freebsd-tests
Fix some tests on FreeBSD
2018-02-07 12:50:12 -08:00
Łukasz Magiera
91a9b86442 fix t0086-repo-verify.sh on FreeBSD
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-06 20:35:17 +01:00
Steven Allen
0e8fc8ffc8 remove useless make target
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-04 15:11:09 +01:00
Michael Muré
8fd6fdb385
add tests for ipfs files stat --with-local
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2018-02-04 01:51:37 +01:00
Łukasz Magiera
8c176d26eb commands/block: use CIDv1 with custom mhtype
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-02 01:56:41 +01:00
Steven Allen
b2cbfd299c gx: update go-log
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-31 21:54:22 -08:00
Steven Allen
1054826ac4 switch base64 decoder based on OS
Less magical.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-28 14:13:16 -08:00
Steven Allen
5acbecc26b update go-lib2p-loggables
fixes a UUID bug I introduced (UUIDs were always an error value)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 18:05:30 -08:00
Steven Allen
d0998a926d make base64 decoding cross-platform
support both the -D and the -d flag.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 13:45:36 -08:00
Steven Allen
e049228e17 fix namesys pubsub sharness tests
We *expect* name resolution to fail as nothing has been published.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 13:45:36 -08:00
Steven Allen
d73bf86cf7 note issue for failing dht test cases
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 13:45:36 -08:00
Steven Allen
97cb6a0fbe fix dht tests
we no longer allow putting values with arbitrary keys.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-27 13:45:36 -08:00
Steven Allen
fe8846fcd7 gx: mass update
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-24 15:58:44 -08:00
Steven Allen
8892bbf2c6 fix add-and-cat test: we no longer set a default CIDv0
Instead, we choose it based on whether or not we can actually support CIDv0.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-23 22:18:16 -08:00
keks
8f24d8e211 cleanup
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
keks
4b9c36b072 sharness: increase timeout waiting for api file
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
keks
012e3381f1 fix content type detection to allow adding via curl
fixed in cmdkit1.0

License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
keks
740cf4a3b4 cmd/ipfs: check whether repo is accessible before attempting to load plugins
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
keks
e8ad094448 add TODO
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
keks
84101c8a2a go test passes, sharness fails
pass API path to cmds, fix options in add.

License: MIT
Signed-off-by: keks <keks@cryptoscope.com>
2018-01-21 11:11:47 -08:00
Iaroslav Gridin
7b34b7f533
Set filename in Content-Disposition if filename=x is passed in URI query
License: MIT
Signed-off-by: Iaroslav Gridin <voker57@gmail.com>
2018-01-19 21:57:26 +02:00
Steven Allen
3e0f7cb600 fix add-and-cat sharness test on osx
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-06 15:52:39 -08:00
Steven Allen
089496b918 test the ipfs cat --length flag
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-05 18:30:10 -08:00
Steven Allen
77e27b2bc3 put ping sharness test cmds on separate lines
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-04 16:28:14 -08:00
Steven Allen
ac551f1dfd ping: add sharness tests
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-04 10:45:46 -08:00
Whyrusleeping
f4fd369d86
Merge pull request #4195 from ipfs/feat/config-patch
config: command to apply profile after init
2018-01-02 14:02:31 -08:00
ForrestWeston
8a8c9b507b Add sharness tests for cat offset command
License: MIT
Signed-off-by: ForrestWeston <forrest@protocol.ai>
2018-01-02 11:12:15 -08:00
Łukasz Magiera
ac26cf19cd config-patch: Inverse profiles
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-17 15:29:18 +01:00
Łukasz Magiera
0ff9b24a32 config-patch: backup config
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-16 00:58:58 +01:00
Steven Allen
6bd524fa3a correctly test refs local
We expect it to return a command error, not a 404, because `local` will be
interpreted as a path.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-15 11:07:32 -08:00
Steven Allen
cccd03e875 sharness: print gateway command that should be sanitized
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-15 09:59:23 -08:00
Łukasz Magiera
2514c74750 config-patch: apply review suggestions
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
Łukasz Magiera
d7376cdab0 config: profile tests, docs
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-15 15:37:37 +01:00
Steven Allen
cb5dae0e9e version, get, resolve, and dht have been allowed
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 18:48:48 -08:00
Steven Allen
4d7231d655 fix loops in sharness tests to fail the test if the inner command fails
This was hiding errors.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 18:48:48 -08:00
Steven Allen
dfe7ef4fcf gx: update go-multihash
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 13:09:51 -08:00
Steven Allen
af21ae129d politely ask programs to not print ANSI codes by setting TERM to dumb
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 08:41:57 -08:00
Steven Allen
de02525594 strip ANSI sequences from docker build output
sharness was failing because an ANSI reset sequence was getting inserted at the
beginning of the line.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 08:37:27 -08:00
Kevin Atkinson
2aeaf6309d Always set IPFS_PATH in test-lib.sh
Before it was only set when "test_init_ipfs" is called but that is
not always used, for example in t0025-datastores.sh.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-12-08 14:12:26 -05:00
Łukasz Magiera
5d30b4f34a object-patch: test resolving ipld objects
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-07 21:34:01 +01:00
Łukasz Magiera
9aab19ea35 object-patch: Support linking to non-dagpb objects
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-06 20:59:34 +01:00
Whyrusleeping
39f0f5f796
Merge pull request #4443 from ipfs/fix/4408
make repo size test pass deterministically
2017-12-03 18:05:26 +01:00
Steven Allen
ba680b10da make sure the repo size is greater than the size of the symlink
Before, we'd check to make sure the repo, when checked through a symlink, is at
least as large as the repo *before* we checked it through the symlink. However,
this assumes that the repo can't shrink.

Really, this test exists to ensure we measure the repo size itself instead of
the size of the symlink; this commit changes the test to reflect this.

This test fails when 54d7e03303 is reverted.

fixes #4408

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-01 09:56:03 -08:00
Whyrusleeping
66bde41384
Merge pull request #4047 from vyzo/ipns-pubsub
namesys/pubsub: pubsub Publisher and Resolver
2017-11-30 13:41:38 +01:00
Kevin Atkinson
d2696ed498 Increase verboseness of t0088-repo-stat-symlink.sh test.
Top help track down random test failures.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-11-28 13:45:27 -05:00
vyzo
e45df729be namesys/pubsub: publisher and resolver
Commits:
namesys: pubsub Publisher and Resolver
namesys/pubsub: pacify code climate.
namesys/pubsub: timeout for rendezvous
namesys/pubsub: filter self in bootstrap connections
namesys/pubsub: Publish to the correct topic

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>

namesys/pubsub: unit  test

Commits:
namesys/pubsub: test
namesys/pubsub_test: pacify code climate
namesys/pubsub: update test to use extant mock routing

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>

namesys/pubsub: integrate namesys pubsub

namesys: integrate pubsub resolvers
namesys/pubsub_test: tweak delays
- trying to make travis happy.
namesys/pubsub: fix duplicate bootstraps
- subscription key is topic, not ipnskey.
namesys/pubsub: no warning needed on cancellation
namesys/pubsub: warning for receive errors
- and more informative error messages at that.
namesys/pubsub_test: smaller test
- make it work with seemingly low fdlimits in travis/macosx.
  also, more informative test failures.
namesys/pubsub: add delay to let pubsub perform handshake
namesys/pubsub: update gx imports
namesys/pubsub_test: preconnect publisher, reduce delays
- preconnects the publisher to the receivers in order to avoid bootstrap
  flakiness with connectivity problems in travis.
  reduces sleeps to 1s for flood propagation (3s seems excessive with 5 hosts).
namesys/pubsub: drop named return values in resolveOnce
- per review comment.
namesys/pubsub: check errors
namesys/pubsub: store bytes in resolver datastore
namesys/pubsub: resolver Cancel
- for canceling subscriptions, pre whyrusleeping's request.
namesys/pubsub: fix resolution without /ipns prefix
- also improve the logging a bit.
namesys/pubsub: don't resolve own keys through pubsub
namesys/pubsub: signal ErrResolveFailed on resolution failure
namesys/pubsub: use sync datastore, resolver lock only for subs
namesys/pubsub_test: coverage for Cancel

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>

namesys/pubsub: parallelize dht and pubsub publishing

Commits:
namesys/pubsub: code cosmetics
namesys: parallelize publishing with dht and pubsub
namesys/pubsub: periodically reprovide topic rendezvous
namesys/pubsub: cancelation for rendezvous goroutine
namesys/pubsub: log ipns record seqno on publish

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>

namesys/pubsub: error checking

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>

namesys/pubsub: --enable-namesys-pubsub option and management

Commits:
package.json: update go-libp2p-blankhost
namesys: fix stale package imports
update go-testutil
namesys/pubsub: reduce bootstrap provide period to 8hr
namesys/pubsub: try to extract the key from id first
option to enable ipns pubsub: --enable-namesys-pubsub
ipfs name pubsub management subcommands
corehttp/gateway_test: mockNamesys needs to implement GetResolver
pacify code climate

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>

namesys/pubsub: pubsub sharness test

test/sharness: test for ipns pubsub
namesys/pubsub: return boolean indicator on Cancel
package.json: remove duplicate entry for go-testutil
update gx deps, testutil to 1.1.12
fix jenkins failure: use tabs in t0183-namesys-pubsub
t0183: use 4 spaces for tabification

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>

namesys/pubsub: update for new command interface

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>

namesys/pubsub: fix sharness test for broken MacOS echo

echo -n "" should print -n, but hey it's a mac.

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-11-21 14:55:54 -08:00
Łukasz Magiera
697afddbcc object: --quiet flag to put
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-11-21 19:41:00 +01:00
Steven Allen
76e1da02a8 gx: massive update
Note: This commit is technically broken. However, I need to make a bunch of
cmds changes to make this work and I'd rather not bundle both changes into a
single commit.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-11-20 22:20:27 -08:00
keks
0d9d21875c compatible to js-ipfs-api
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-17 15:22:42 +01:00
Jan Winkelmann
f287524949 cmd: use go-ipfs-cmds
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-17 15:22:41 +01:00
Łukasz Magiera
2ebf8d0482 Update badgerds to 1.1.3
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-11-12 05:34:31 +01:00
Whyrusleeping
5923540d37 Merge pull request #4305 from leerspace/fix/repo-stat-sym-link
handle sym links in when calculating repo size
2017-10-25 19:52:44 +01:00
Unknown
40a9036af8 set exec bit on sharness test
setting the executable bit on sharness test

License: MIT
Signed-off-by: John Reed <john@re2d.xyz>
2017-10-23 07:50:47 -05:00
Unknown
54d7e03303 gofmt fix and sharness test
gofmt fixes to fsrepo.go

The sharness test checks that IPFS_PATHS that are symbolically linked to another directory are returning an appropriate size

License: MIT
Signed-off-by: John Reed <john@re2d.xyz>
2017-10-21 18:22:27 -05:00
Jeromy Johnson
005d243cd3 Merge pull request #4320 from ipfs/fix/gateway-seeker
gateway: fix seeker can't seek on specific files
2017-10-20 13:15:32 +01:00
Jeromy Johnson
e1f158b731 Merge pull request #4026 from ipfs/kevina/files-raw-leaves
Add full support for CidV1 in Files API and Dag Modifier
2017-10-19 23:55:58 +01:00
Kevin Atkinson
3003f93854 Fix "files stat" to work on raw nodes.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 16:08:10 -04:00
Kevin Atkinson
798afedf8d Make --hash and related option local to sub-commands that use them.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
Kevin Atkinson
00a3b1df21 Address C.R. in t0250-files-api.sh.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
Kevin Atkinson
b5b61f7527 Rename "files update" to "files chcid".
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
Kevin Atkinson
47c198ceb8 Enhance sharness tests.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
Kevin Atkinson
f2fbfdf291 mfs: inherit CID prefix from from parent directory
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
Kevin Atkinson
a3bd2c23b3 Add "--raw-leaves" option to "ipfs files"
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 13:00:24 -04:00
Steven Allen
2f9e9ec571 gx update go-peerstream, go-libp2p-floodsub
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-19 08:20:35 -07:00
Łukasz Magiera
e71dce5dfb gateway: fix seeker can't seek on specific files
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-18 20:10:22 +02:00
Łukasz Magiera
0f935ef136 sharness: make t0180-p2p less racy
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-16 23:19:03 +02:00
Jeromy Johnson
6beab668fd Merge pull request #4288 from ipfs/feat/connmgr
Implement Connection Manager
2017-10-16 18:37:11 +01:00
Steven Allen
603ecf62e3 add sharness test for deprecated supernode option
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-16 09:27:24 -07:00
Jeromy
94ec788555 update deps for new connmgr code
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-10-14 05:38:52 -07:00
Steven Allen
93f3117d7d remove supernode routing
It was never fully implemented and isn't used.

fixes #3950

(not removing routing/mock because that *is* in use).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-12 19:39:29 -07:00
Steven Allen
613508a0d3 add raw support to the dag put command.
`dag get` still doesn't properly support raw output but that's a bigger issue.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-10 19:58:23 -07:00
Jeromy Johnson
1e73c3fb09 Merge pull request #4212 from ipfs/fix/sharness-indent
Fix indent in sharness tests
2017-10-09 16:56:26 +03:00
vyzo
4f1edf2570 update go-testutil to 1.1.12
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-10-05 17:11:39 +03:00
Łukasz Magiera
7b7513565e sharness: fix OSX build
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-04 13:39:14 +02:00
Łukasz Magiera
6a40c37b94 sharness: 2 space indent
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-04 13:39:14 +02:00
Łukasz Magiera
fdccfea029 sharness: fix indent in few more places
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-04 13:35:07 +02:00
Łukasz Magiera
9d14b47fef sharness: test sharness indent
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-04 13:35:07 +02:00
Łukasz Magiera
83f001bd96 sharness: use tabs for indent
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-04 13:35:07 +02:00
Jeromy Johnson
4c392928b4 Merge pull request #4246 from ipfs/kevina/stat-no-max-storage
"repo stat": Don't crash when Datastore.StorageMax is not defined
2017-10-03 17:42:53 +03:00
Łukasz Magiera
eb7da51203 dag: Support multiple files in put
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-09-20 14:30:06 +02:00
Kevin Atkinson
f156f63eed "repo stat": Don't crash when Datastore.StorageMax is not defined
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-09-18 15:44:07 -04:00
Jeromy Johnson
450dc20868 Merge pull request #4231 from ipfs/feat/update-stream-muxer
[WIP] update go-stream-muxer
2017-09-16 14:31:55 -07:00
Steven Allen
3f6df3a5f4 update yamux
We need to cancel out all readers/writers on stream reset.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-09-15 18:56:44 -07:00
Steven Allen
8deaaa8d8c gx: update go-stream-muxer
Introduces a new Reset method on streams that kills both sides of the
connection. Close now officially just closes the write side (what it did all
along...)

* Also pull through shiny new go-multiplexer fixes.
* Also pull in go-reuseport update.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-09-14 12:06:44 -07:00
Lars Gierth
e2a3cd3b66 docker: switch from musl to glibc
The Dockerfile now has two stages: build and assembly.
This allows for a full-fledged debian build container,
while still resulting in a super-thin busybox image.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-09-13 15:49:34 +02:00
Lars Gierth
e089e55f37 sharness: add /ws multinode test
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-09-05 21:03:38 -07:00
Jeromy
0eba4f3138 gx: update go-ws-transport
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-09-05 16:18:19 -07:00
why
2c300026ae fix t0024 on osx
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-09-03 18:43:18 -07:00
Jeromy
0b0ddefcaf fix EOF quoting
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-09-03 17:29:17 -07:00
Kevin Atkinson
7b5027f084 add basic tests for Spec config change
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-09-03 14:08:52 -07:00
Kevin Atkinson
2df7727be8 bump repo version, remove support for old config
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-09-03 14:08:52 -07:00
Steven Allen
70d6629940 gx: update go-cid, go-multibase, base32
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-09-01 17:46:49 -07:00
Jeromy Johnson
ce1ca6ab87 Merge pull request #4172 from ipfs/fix/test/t0170-query
test: query test might work sometimes, mark it as 'might fail'
2017-08-31 16:29:49 -07:00
Kevin Atkinson
2fbb4515d9 Fix "ipfs ls" to once again work on arbitrary dag objects.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-08-30 00:27:54 -04:00
Jakub Sztandera
bc8d72cfce
test: query test might work sometimes, mark it as 'might fail'
Currently it is 'expect failure' and if it works on occasion it will
fail the CI build

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-08-28 19:03:09 +02:00
Jeromy Johnson
5f26f00465 Merge pull request #4127 from ipfs/feat/dns-bootstrap
bootstrap: add /dnsaddr nodes
2017-08-25 15:23:31 -07:00
Jeromy Johnson
9c0f936210 Merge pull request #4155 from ipfs/fix/reprovider-trigger
reprovide: fix ipfs bitswap reprovide when interval set to 0
2017-08-25 11:32:39 -07:00
Łukasz Magiera
e34a5e9c0d gx: update go-reuseport
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-23 16:32:32 +02:00
Łukasz Magiera
ffc9abb8b8 reprovide: fix ipfs bitswap reprovide when interval set to 0
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-20 18:23:09 +02:00
Lars Gierth
568910408b bootstrap: add /dnsaddr nodes, remove half of /ip4,/ip6 nodes
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-08-17 16:22:38 +02:00
Steven Allen
19c3bd82a3 extract update go-testutil
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-08-16 17:23:01 -07:00
Jeromy Johnson
94b832df86 Merge pull request #4133 from ipfs/feat/improve-dag-api
Improve dag API
2017-08-16 15:22:23 -07:00
vyzo
6f54181f66 ipfs swarm addrs listen command, fix t0060-daemon
Necessary for meaningful semantics in the presence of address filtering.

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
98da0853f4 test/sharness: extended circuit relay test
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:26:49 +03:00
vyzo
1f40c5210d test/sharness: circuit relay test
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:26:49 +03:00
Jeromy Johnson
dea24aedc3 Merge pull request #4113 from ipfs/feat/reprovider-starts
Reprovider strategies
2017-08-15 17:13:23 -07:00
Jeromy Johnson
9ea02e9fdd Merge pull request #4123 from sherodtaylor/feature/tour/remove-tour
remove tour command from ipfs
2017-08-15 17:06:36 -07:00
Łukasz Magiera
5da8368a42 dag: dag resolve subcommand
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 20:58:29 +02:00
Łukasz Magiera
7e5e0cba03 reprovider: Fix sharness tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 00:02:23 +02:00
Łukasz Magiera
279a560660 reprovider: strategy tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 00:02:23 +02:00
Jeromy Johnson
50bb128bce Merge pull request #4095 from ipfs/feat/object-pin
object put --pin option
2017-08-12 14:32:18 -07:00
Łukasz Magiera
f8b17c68d9 dag: sharness tests for dag-pb put
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-12 21:49:07 +02:00
Łukasz Magiera
6bf019aeed dag: cbor input-enc
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-12 21:49:07 +02:00
Łukasz Magiera
1fa6113028 dag: test --hash option
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-12 21:49:07 +02:00
Sherod Taylor
bc75d3b88a Removed tour command and fix test
License: MIT
Signed-off-by: Sherod Taylor <sherodtaylor@gmail.com>
2017-08-09 10:14:57 -04:00
Jeromy Johnson
fbdb896105 Merge pull request #4114 from ipfs/fix/add-pipe-error-test
sharness: fix the 'useful error message when adding a named pipe' test
2017-08-01 00:05:13 -07:00
Steven Allen
39197ff8d3 sharness: fix the 'useful error message when adding a named pipe' test
We were removing the file before testing, ignoring the error from stat, and then
grepping for `Error: Unrecognized file type for named-pipe: ` (because nothing
was sent to stdout).

This fix:

1. Changes our stat command to output failed to stdout on failure to ensure that
bugs like this *can't* happen.
2. Checks to make sure stat actually succeeds.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-31 18:31:40 -07:00
Steven Allen
38a9be5a0a gx: update go-libp2p-swarm
fixes #4102 (fixed in go-libp2p-swarm)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-31 14:04:40 -07:00
Łukasz Magiera
e1bc025e38 object put --pin option
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-31 19:38:05 +02:00
Lars Gierth
952f658ada
core: make announced swarm addresses configurable
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-07-31 13:03:09 +02:00
Steven Allen
0ada88637b sharness: use test profile
This:

* Disables mdns and fixes #4098 (iptb nodes already have mdns disabled by
  default).
* Only listens on localhost (although iptb nodes still listen on all).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-30 20:22:41 -07:00
Jeromy Johnson
02dc2604b3 Merge pull request #4082 from te0d/feat/commands/add-size
ipfs add: added size to response of `ipfs add` command
2017-07-29 14:49:20 -07:00
Steven Allen
0aca2a37e6 sharness: fix #4003 test case
1. Use printf to reliably expand escape sequences by default.
2. grep needs to exit after the first match as we're using HTTP/1.1 (the remote
side will not close the connection after sending the response).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-28 17:21:04 -07:00
Steven Allen
28be1d4c58 gx: update deps
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-27 18:48:16 -07:00
Tom O'Donnell (te0d)
f96f6af98f ipfs add: added test case to verify presence of size
Added test case which greps the `ipfs add` api call,
checking that it outputs the added item's size.

License: MIT
Signed-off-by: Tom O'Donnell <todonnell91@gmail.com>
2017-07-27 08:58:41 -04:00
Jeromy Johnson
181dd0061c Merge pull request #4053 from Quantomicus/bugfix
Fixes #4003
2017-07-23 12:22:58 -07:00
Steven Allen
87f02e53a7 remove -f flags from calls to init
It doesn't mean anything anymore.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-19 11:46:55 -07:00
Quantomic
48dcd67dfe Add sharness test
License: MIT
Signed-off-by: Mateja Milosevic <minima38123@gmail.com>
2017-07-17 20:48:16 +02:00
Jakub Sztandera
c0ee7d68fd
misc: small code style edit
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-16 10:26:34 +02:00
Jakub Sztandera
b5ea00e6b4
sharness: add debug output for TEST_NO_PLUGIN
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-14 13:23:14 +02:00
Łukasz Magiera
f947931af9 git: add git plugin tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-12 23:38:32 +02:00
Jakub Sztandera
2c71cf0fd7
test: add git plugin test stub
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-12 21:53:59 +02:00
Jakub Sztandera
d2cc708650
make(sharness): add plugins as part of sharness build
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-12 21:53:59 +02:00
Jakub Sztandera
285a4d8e10
test: add TEST_NO_PLUGIN and PLUGIN prereq
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-12 21:53:59 +02:00
Jeromy
cccc6a94a3 update go-multihash and bubble up changes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-11 19:27:43 -07:00
Łukasz Magiera
962e1bbc45 Add test init profile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-06 22:41:47 +02:00
Steven Allen
cc844ba3db sharness: fix the error message in the mount-publish test case
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-04 16:54:12 -07:00
Jeromy Johnson
ba9435d850 Merge pull request #4001 from ipfs/feat/profile
Implement --profile option in ipfs init
2017-07-04 15:16:22 -07:00
Łukasz Magiera
1b67e3aeb6 Add invalid profile test to init --profile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 22:36:02 +02:00
Łukasz Magiera
184c7a0126 Add sharness test for init --profile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 22:36:02 +02:00
Łukasz Magiera
8ab93aaeb2 Update go-datastore to 1.2.2, go-cid to 0.7.16
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 20:18:57 +02:00
Łukasz Magiera
4b8a9a3f9f Update go-datastore to 1.2.1
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-03 20:17:03 +02:00
Jeromy Johnson
7ad494887c Merge pull request #4004 from ipfs/feat/dagpin
Add pin option for ipfs dag put
2017-07-03 10:54:39 -07:00
Steven Allen
13636bef50 blocks: gx import go-block-format
And updated related dependencies.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-06-29 22:12:14 +02:00
Steven Allen
bccd4d4e8f blocks: move block format to it's own repo
We need to reference it from outside of this repo.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-06-29 22:12:14 +02:00
Łukasz Magiera
79e21bd96b Add pin option for ipfs dag put
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-28 12:05:23 +02:00
Jeromy
b3828f4d48 fix small typo
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-06-27 19:20:41 -07:00
Kevin Atkinson
33f699f8de files api: redo tests
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-06-26 19:12:23 -04:00
Kevin Atkinson
47001548e1 Finish basic support for raw nodes in dag modifier.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-06-26 19:12:07 -04:00
Łukasz Magiera
ef43fb8c8b Don't use wait in p2p sharness test
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-21 18:35:17 +02:00
Jeromy
732e792fc6 rename and fix sharness issue in ptp test
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-06-21 18:30:36 +02:00
Łukasz Magiera
bec54c2540 Rename PTP to P2P
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-19 21:30:58 +02:00
Steven Allen
8c78d4072d pinning: test pinning/unpinning files in sharded directories
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-06-12 19:03:24 -07:00
Jeromy
c4f36071da fix shutdown check in t0023
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-06-10 11:32:46 -07:00
Jeromy Johnson
10f9e771f7 Merge pull request #3951 from ipfs/kevina/repub
Make sure non-self keys also get republished
2017-06-10 10:17:10 -07:00
Jeromy Johnson
18d2a2d8f4 Merge pull request #3943 from magik6k/feat/corenet2
Implemented experimental ptp(corenet) interface
2017-06-09 19:56:02 -07:00
Kevin Atkinson
d674dd7e1f repub: iterate through all keys in keystore
Iterate through all keys in the keystore so keys added with
"ipfs key gen" behave the same as the <self> key.  Don't maintain a
separate repub list as it does not really serve a purpose at this
point in time.  See #3808.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-06-07 14:35:44 -04:00
Łukasz Magiera
043aa5f308 PTP API: Address review comments
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-07 19:51:44 +02:00
Łukasz Magiera
104268f1b6 PTP API: Make code more object oriented, use less node
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-04 03:08:39 +02:00
Łukasz Magiera
ad9ae350bf PTP API: Rename Corenet to PTP
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-06-03 21:46:16 +02:00
zramsay
096b3232d5 address PR comments; remove commented/dead code
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-06-01 12:13:04 -04:00
zramsay
c5df8f0796 apply the megacheck tool to improve code quality
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-05-31 16:56:11 -04:00
Łukasz Magiera
a3889a7164 Corenet API: Update deps
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 12:35:31 +02:00
Łukasz Magiera
71bda3d988 Corenet API: Drop 'exp' namespace
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
Łukasz Magiera
fc08d5331b Corenet API: Apply suggestions, cleanups
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
Łukasz Magiera
69d3e08776 Corenet API: Some more tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
Łukasz Magiera
9414e73c34 Corenet API: Split list subcmd into ls/streams
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
Łukasz Magiera
ad1dc5f405 Corenet API: Use simple util instead of socat for tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
Łukasz Magiera
a55255fbca Corenet API: Fixed tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-05-31 11:33:17 +02:00
Tom Swindell
2f17a67c5a Experimental corenet application support.
License: MIT
Signed-off-by: Tom Swindell <t.swindell@rubyx.co.uk>
2017-05-31 11:33:17 +02:00
Lars Gierth
64ced367ac gx: update go-libp2p-peerstore, go-libp2p, go-libp2p-kbucket
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-05-30 02:26:05 +02:00
Jeromy Johnson
1c9a419e22 Merge pull request #3882 from keremgocen/fix-cmd-key-peerid
WIP: add PeerID lookup
2017-05-25 10:10:47 -07:00
Kevin Atkinson
332a7967f9 filestore: add "--file-order" option to "filestore ls" and "verify"
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-23 17:40:20 -04:00
Jeromy Johnson
630f9ae29e Merge pull request #3884 from ipfs/feat/shutdown-cmd
Implement ipfs shutdown command
2017-05-17 22:44:06 -07:00
Jeromy Johnson
0780a4fdb4 Merge pull request #3892 from MichaelMure/keystore_key_rm
Implement ipfs key {rm, rename}
2017-05-17 21:28:36 -07:00
Jeromy
adb555c3eb Implement ipfs shutdown command
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-05-17 21:27:47 -07:00
Jeromy Johnson
219b41bff8 Merge pull request #3915 from ipfs/kevina/repo-stat-storagemax
Add MaxStorage field to output of "repo stat".
2017-05-15 12:27:42 -07:00
Kevin Atkinson
4bbd00185c adder: add support for specifying the hash function
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-14 17:38:32 -04:00
Michael Muré
cb8d5eb245 Add a test for failure of 'ipfs key rm self'
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-14 21:01:18 +09:00
Kevin Atkinson
0f46a34f59 Add MaxStorage field to output of "repo stat".
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-10 23:41:35 -04:00
Michael Muré
c0a04a06c3 add sharness test for ipfs key rename
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-04 21:56:58 +09:00
Kerem
fca98aea9d add sharness tests
test for `ipfs name publish` using PeerID as key name

License: MIT
Signed-off-by: Kerem Gocen <keremgocen@gmail.com>
2017-05-03 06:19:30 +03:00
Michael Muré
4d4d7b8e08 Implement ipfs key rm
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-01 15:23:17 +09:00
Jeromy
0597a04924 Fix sharding memory growth, and fix resolver for unixfs paths
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-30 13:48:28 -07:00
Jeromy
b71ef8354e Fix gateway handling of sharded directories
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-29 13:01:22 -07:00
Kevin Atkinson
8a47786c67 hamt: support using CIDv1 by allowing the prefix to be set
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:41:25 -04:00
Kevin Atkinson
518adec022 adder: add support for using CidV1
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:36:39 -04:00
Jeromy
b15470d548
bubble up updates from go-multihash changes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-20 20:28:04 +02:00
Jakub Sztandera
dab716ba02
test: fix ulimit tests for 2048 fds
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-24 20:56:09 +01:00
Jeromy Johnson
ac69697bd9 Merge pull request #3042 from ipfs/feat/hamt-sharding
Implement unixfs sharding
2017-03-23 20:51:52 -07:00
Jeromy
c4c665395a add global config switch for sharding
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-23 16:42:31 -07:00
Jeromy Johnson
2de21bc018 Merge pull request #3653 from ipfs/kevina/filestore-util
Basic Filestore Utilties
2017-03-22 21:41:48 -07:00
Jeromy Johnson
a3fc6f18b6 Merge pull request #3805 from ipfs/kevina/repo-init
daemon: use fsrepo.IsInitialized to test for initialization
2017-03-22 20:55:42 -07:00
Kevin Atkinson
620b52b2aa filestore util: refactor and clean up tests
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 20:50:22 -04:00
Kevin Atkinson
f7efb34e68 filestore util: Add 'filestore dups' command. Enhance tests.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 16:24:56 -04:00
Kevin Atkinson
033c442d32 filestore util: add tests for verifying and listing filestore blocks.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 16:24:56 -04:00
Kevin Atkinson
28921471db daemon: use fsrepo.IsInitialized to test for initialization
Use fsrepo.IsInitialized to test for initialization instead of just
testing if the directory exists.

Also add test cases for '--init' option, including one the creates an
empty directory.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 04:25:57 -04:00
Jeromy
e8764345d6 fix handling of filestore nodes in mfs during add
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-21 20:19:22 -07:00
Jeromy
06fb495df1 fix mfs hamt integration
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-21 20:19:22 -07:00
Jeromy
bb09ffd756 implement an HAMT for unixfs directory sharding
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-21 20:19:22 -07:00
Jeromy Johnson
21072a5f81 Merge pull request #3712 from ipfs/kevina/more-robust-gc
More Robust GC
2017-03-21 17:16:37 -07:00
Jeromy Johnson
56bbcc9f16 Merge pull request #3774 from ipfs/feat/docs/80-chars
Add 80 columns mans tests
2017-03-10 14:42:38 -08:00
Jakub Sztandera
5489025210
test: add test for checking if commands mans lengths are shorter than 80
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-10 19:05:34 +01:00
Jakub Sztandera
2317ced4aa
test: fix commands tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-10 19:05:34 +01:00
Jakub Sztandera
40cc4dc024
test: add test for ipfs add --quieter
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-10 14:21:54 +01:00
Jakub Sztandera
66cc2f2e88
fix: ipfs get panic with empty API call
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-09 15:42:15 +01:00
Jeromy Johnson
0d6640434b Merge pull request #3765 from ipfs/test/filestore/more-decriptive
test: fix 'disk_usage' returning number smaller by factor of 512 on BSD and Darvin
2017-03-08 20:16:07 -08:00
Jeromy Johnson
74afd87986 Merge pull request #3760 from ipfs/fix/pin-add-api
fix pin add api break
2017-03-07 16:27:23 -08:00
Jeromy Johnson
eca0d1c734 Merge pull request #3757 from ipfs/fix/get-raw-leaves
make raw leaves work with 'ipfs get'
2017-03-07 15:40:18 -08:00
Jakub Sztandera
bd5b48d0ea
test: added issue number to regression test
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-08 00:12:52 +01:00
Jakub Sztandera
e2ececa4fa
test: fix sharness disk_usage util
on bsd based systems du returns block count not bytes

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-08 00:07:18 +01:00
Jakub Sztandera
afc0e77320
test: skip not necessary var assigment
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-08 00:07:18 +01:00
Jakub Sztandera
0ccb4e82f8
test: make the repo size check error message better
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-08 00:07:18 +01:00
Jeromy
6a7750d5c2 fix pin add api break
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-07 01:10:46 -08:00
Jeromy
b1588c7162 make raw leaves work with 'ipfs get'
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 20:12:05 -08:00
Jeromy Johnson
e3d483fc7c Merge pull request #3751 from ipfs/feat/sharness/small-clean-p1
test: small cleanup of t0010
2017-03-06 16:43:06 -08:00
Jeromy Johnson
60b94a2c4f Merge pull request #3750 from ipfs/fix/sharness/filestore/format
test: small cleanup to the filestore sharness test
2017-03-06 12:37:28 -08:00
Kevin Atkinson
f338520aa8 gc: add option to stream errors
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:14 -05:00
Kevin Atkinson
c709113257 gc: add sharness test script
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:09 -05:00
Jakub Sztandera
454085c810
test: small cleanup of t0010
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-06 20:24:43 +01:00
Jeromy Johnson
cbf8a0cdb4 Merge pull request #3748 from ipfs/deps/update-dht
update go-libp2p-kad-dht with getclosestpeers fix
2017-03-06 11:21:38 -08:00
Jakub Sztandera
5a5a65381f
test: small cleanup to the filestore sharness test
you can use the test_debug by calling tests with
`debug=t verbose=t make test/sharness/t0000-xxx.sh

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-06 20:03:36 +01:00
Jakub Sztandera
ffeef8c9cb
fix: filestore silently being skipped on add if it wasn't enabled
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-06 19:16:01 +01:00
Jeromy Johnson
7c707b062a Merge pull request #3635 from ipfs/feat/bitswap-tx-stats
Add more info to bitswap stat
2017-03-06 00:54:03 -08:00
Jeromy
332d760f12
Add more info to bitswap stat
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 09:47:53 +01:00
Jeromy
2884c84343 Implement basic filestore 'no-copy' functionality
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-06 00:37:24 -08:00
Jeromy
4e168dc323 update go-libp2p-kad-dht with getclosestpeers fix
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-05 23:06:04 -08:00
Jeromy Johnson
d2f41e22fe Merge pull request #3725 from ipfs/feat/better-muxer
feat: remove broken spdy multiplexer and enable multiplex by default as second option
2017-03-02 09:15:16 -08:00
Friedel Ziegelmayer
8b2aa5617d feat: remove broken spdy multiplexer and enable mplex by default
License: MIT
Signed-off-by: Friedel <dignifiedquire@gmail.com>
2017-03-01 23:28:05 -08:00
Jeromy Johnson
57e4e2103e Merge pull request #3734 from ipfs/feat/keystore/list-self
keystore: add self key to the listing
2017-03-01 23:26:09 -08:00
Jeromy Johnson
dd9584ba28 Merge pull request #3697 from ipfs/feat/pnet2
PNet take 2
2017-03-01 16:43:48 -08:00
Jeromy Johnson
34a94c2812 Merge pull request #3671 from ipfs/kevina/pin-add-progress
Report progress during `pin add`
2017-03-01 16:39:10 -08:00
Jakub Sztandera
fe0cc96b24
fix: race of conditions in keystore test
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-28 18:19:42 +01:00
Jakub Sztandera
25c3e126b8
keystore: add self key to the listing
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-28 16:16:16 +01:00
Jakub Sztandera
4eed546e06
deps: update dependencies for PNet
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-02-22 20:04:43 +01:00
Jeromy Johnson
29c80d76b4 Merge pull request #3698 from ipfs/fix/repo-migration-musl
WIP: fsrepo: fix musl detection for migrations
2017-02-20 20:40:45 -08:00
Jeromy
14daf0a459 print out all daemon stderr files when iptb stop fails
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-19 16:25:28 -08:00
Kevin Atkinson
cdd29c24a2 Report progress during 'pin add'.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-02-17 16:19:42 -05:00