@cryptotaxi247 / kubo / commits / be3fc3e79

Update for plugins split

License: MIT Signed-off-by: Travis Person <travis@protocol.ai>

Travis Person committed Nov 1, 2018 at 18:09 UTC be3fc3e791a91ad50e6ccf523d2985d19eda9c00
3 files changed +15 -8
package.json
+8 -2
@@ -47,9 +47,9 @@
47 "version": "0.1.4"
48 },
49 {
50 - "hash": "QmU5w6sBozzDcfHXuKn1ZZAYuBw1rE57YYRVxgUcCjEX8C",
50 + "hash": "QmYAXfidRkyrQH5sGVA71TAwL1cknsDtMoLPV6Bjk13VrG",
51 "name": "iptb",
52 - "version": "2.0.0"
52 + "version": "1.3.7"
53 },
54 {
55 "hash": "QmPnFwZ2JXKnXgMw8CdBPxn7FWh6LLdjUjxV1fKHuJnkr8",
@@ -586,6 +586,12 @@
586 "hash": "QmY4dowpPFCBsbaoaJc9mNWso64eDJsm32LJznwPNaAiJG",
587 "name": "go-libp2p-pubsub",
588 "version": "0.11.3"
589 + },
590 + {
591 + "author": "travisperson",
592 + "hash": "QmZJXRAhsC7Zi94udXXdsnncJLYdSYBAckWxbxHJe9fPG3",
593 + "name": "iptb-plugins",
594 + "version": "1.0.0"
595 }
596 ],
597 "gxVersion": "0.10.0",
test/dependencies/iptb/iptb.go
+4 -3
@@ -4,9 +4,10 @@ import (
4 "fmt"
5 "os"
6
7 - cli "gx/ipfs/QmU5w6sBozzDcfHXuKn1ZZAYuBw1rE57YYRVxgUcCjEX8C/iptb/cli"
8 - plugin "gx/ipfs/QmU5w6sBozzDcfHXuKn1ZZAYuBw1rE57YYRVxgUcCjEX8C/iptb/plugins/ipfs/local"
9 - testbed "gx/ipfs/QmU5w6sBozzDcfHXuKn1ZZAYuBw1rE57YYRVxgUcCjEX8C/iptb/testbed"
7 + cli "gx/ipfs/QmYAXfidRkyrQH5sGVA71TAwL1cknsDtMoLPV6Bjk13VrG/iptb/cli"
8 + testbed "gx/ipfs/QmYAXfidRkyrQH5sGVA71TAwL1cknsDtMoLPV6Bjk13VrG/iptb/testbed"
9 +
10 + plugin "gx/ipfs/QmZJXRAhsC7Zi94udXXdsnncJLYdSYBAckWxbxHJe9fPG3/iptb-plugins/local"
11 )
12
13 func init() {
test/sharness/t0276-cidv0v1.sh
+3 -3
@@ -108,18 +108,18 @@ test_expect_success "add afile using CIDv0 to node 0" '
108 '
109
110 test_expect_success "get afile using CIDv1 via node 1" '
111 - iptb run -raw 1 -- ipfs --timeout=2s cat $AHASHv1 > thefile &&
111 + iptb -quiet run 1 -- ipfs --timeout=2s cat $AHASHv1 > thefile &&
112 test_cmp afile thefile
113 '
114
115 test_expect_success "add bfile using CIDv1 to node 0" '
116 - BHASHv1=$(iptb run -raw 0 -- ipfs add -q --cid-version=1 --raw-leaves=false bfile)
116 + BHASHv1=$(iptb -quiet run 0 -- ipfs add -q --cid-version=1 --raw-leaves=false bfile)
117 '
118
119 test_expect_success "get bfile using CIDv0 via node 1" '
120 BHASHv0=$(cid-fmt -v 0 %s $BHASHv1)
121 echo $BHASHv1 &&
122 - iptb run -raw 1 -- ipfs --timeout=2s cat $BHASHv0 > thefile &&
122 + iptb -quiet run 1 -- ipfs --timeout=2s cat $BHASHv0 > thefile &&
123 test_cmp bfile thefile
124 '
125