f0769366f1
update cmdkit to fix the progress bar
...
The progressbar should now correctly calculate the size of a directory (by
ignoring the directory sizes).
fixes #5288
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-10 17:21:28 -07:00
594d95af5d
update gogo-protobuf
...
fixes #3214
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-08 18:56:13 -07:00
3e13277dd4
gx: update deps
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-07 10:02:59 -07:00
042a9729a2
Update bitswap deps
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-08-05 13:22:51 -07:00
36c6fb3530
commands: switch object commands to CoreAPI
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-01 13:37:05 +02:00
b96a7a0579
extract go-unixfs (importers and unixfs)
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-07-30 14:54:26 -07:00
ede2caba46
Extract path and resolver
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-07-28 23:57:42 -07:00
28fdee7fce
Extract dagservice, move dagutils to top level
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-07-28 14:22:20 -07:00
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
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
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
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
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
1e9e2f453c
update deps
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 17:59:17 -07:00
b675ade0d8
gx: update go-ipfs-cmds
...
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-04-24 15:01:16 -04:00
c225c344e4
Merge pull request #4833 from ipfs/misc/remove-dead-code
...
misc: Remove some dead code
2018-04-20 23:39:55 +09:00
2ee5cfb90f
fix error style
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-30 09:43:27 +02:00
ae528640d9
misc: Remove some dead code
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-21 01:34:04 +01:00
7824c2cf4e
check arguments after handling help
...
otherwise, we block on required arguments from stdin before processing the help
flag.
fixes #4837
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-19 15:58:34 -07:00
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
116269a12b
upgrade commands that used StringArguments
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-03-16 20:06:54 -07:00
41d9daf653
minor drive-by code cleanup
...
We'll dedup the code later, for now:
1. Don't drop errors on the floor.
2. Don't modify anything returned by `Links()` directly...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-30 20:51:05 -08:00
f9d935b984
rename import of go-ipld-format from node/format to ipld
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-29 11:55:34 -08:00
d154b4a990
merkledag: switch to new dag interface
...
Also:
* Update the blockstore/blockservice methods to match.
* Construct a new temporary offline dag instead of having a
GetOfflineLinkService method.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 15:13:19 -08:00
fe8846fcd7
gx: mass update
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-24 15:58:44 -08:00
267c19ab9d
some fixes for latest from go-ipfs-cmds
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-01-21 11:11:47 -08:00
fbc36b8962
update dependencies and update TODO
...
broken sharness test t0110 has been fixed in master
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
e8ad094448
add TODO
...
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
bd9576fa57
start adopting cmds3.0 - lots of errors!
...
- move go-ipfs-cmds/legacy to go-ipfs/commands/legacy
- update cmds,cmdkit; go test ./... ok
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
dfe7ef4fcf
gx: update go-multihash
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 13:09:51 -08:00
697afddbcc
object: --quiet flag to put
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-11-21 19:41:00 +01:00
bcd25416d9
cmds: rename DefaultVal -> Default, Default -> WithDefault
...
Propagate change from cmdkit.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-11-20 22:20:49 -08:00
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
57f544a79c
remove all instances of Default(false)
...
Boolean options always default to false.
License: MIT
Signed-off-by: Lorenzo Manacorda <lorenzo@mailbox.org>
2017-11-20 16:10:15 +01:00
f287524949
cmd: use go-ipfs-cmds
...
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-17 15:22:41 +01:00
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
778d6c635d
object put: wrap CID in Object
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-31 22:06:00 +02:00
c9446a7720
object: make objectPut return CID
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-31 19:38:05 +02:00
e1bc025e38
object put --pin option
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-31 19:38:05 +02:00
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
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
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
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
b4eeff2d84
update go-multihash and bubble up deps
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-12 12:25:41 -08:00
53d47669da
bubble up go-datastore deps
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-28 22:29:38 -08:00
396c629301
update to newer ipld node interface with Copy and better Tree
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-15 18:00:49 -08:00
9aaa743a51
docs: decapitalize IPFS where possible
...
Tried to check all instances of IPFS and make sure they werent referring to the CLI tool. See #2910 .
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-10-27 22:54:36 -07:00
67c2a4ec14
make path resolver no longer require whole node for construction
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-25 15:04:44 -07:00
eac13abaec
update to new cid and ipld node packages
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-25 09:54:04 -07:00
48f7e14277
extract node interface
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-14 07:53:48 -07:00