tg
5e40ee19bc
command repo stat: improve human flag behavior
...
Now use go-humanize
License: MIT
Signed-off-by: Georgij Tolstov <tolstov.georgij@gmail.com>
2019-03-20 18:35:44 +03:00
Łukasz Magiera
3d79102e44
Return CID from 'ipfs files flush'
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-19 21:44:15 +01:00
Steven Allen
444f364ddc
Merge pull request #6094 from ipfs/gomod/mfs0.0.3
...
gomod: update go-mfs
2019-03-19 12:18:44 -07:00
Steven Allen
3f0bd78966
Merge pull request #6087 from ipfs/fix/recursive-resolve
...
resolve: fix recursion
2019-03-19 09:14:40 -07:00
Steven Allen
5fc7b027fd
fix(swarm): improve swarm connect no peers found error
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-18 19:13:56 -07:00
Steven Allen
1cc8c3a17e
fix(swarm): catch cases where we fail to resolve an address to a peer
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-18 19:13:53 -07:00
Steven Allen
f1b6888081
fix(swarm): use the go fork/join idiom
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-18 19:13:49 -07:00
Steven Allen
291614848f
fix(swarm): feed through context
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-18 19:13:43 -07:00
Overbool
597bf2a481
fix(swarm): collect maddr by channel
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-03-18 18:52:16 -07:00
Overbool
309cf70570
fix(swarm): add dnsaddr support in swarm connect
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-03-18 18:51:20 -07:00
Łukasz Magiera
79b15d7b68
gomod: update go-mfs
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-18 17:59:02 +01:00
Steven Allen
1c7a5d1901
resolve: succeed on recursion limit when not recursing
...
Otherwise, non-recursive resolution is pretty much useless.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-15 19:25:39 -07:00
Steven Allen
fded3bc08c
resolve: recurse by default
...
This is what users expect.
fixes #5635
fixes #5585
fixes #4181
fixes #4293
fixes #6086
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-15 19:25:27 -07:00
Steven Allen
c6d85c2a7d
ls: resolve symlinks
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-07 11:10:34 -08:00
Steven Allen
81621396a0
fix ls command to use the new coreinterface types
...
See: https://github.com/ipfs/interface-go-ipfs-core/pull/14
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-07 11:10:34 -08:00
Jakub Sztandera
ddd573e580
gomod: use cheggaa/pb from gopkg
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:58 +01:00
Jakub Sztandera
42e191c017
gx: unrewrite
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:56 +01:00
Steven Allen
4b57080fb0
Merge pull request #6050 from ipfs/fix/useless-online
...
cleanup daemon online logic
2019-03-05 09:11:11 -08:00
Overbool
ca4ba6ca13
feat(cmds): hide peers info default in bitswap stat
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-03-04 19:11:29 -08:00
Steven Allen
3dac4609a8
split 'mode' into IsOnline and IsDaemon flags
...
1. They don't _have_ to be mutually exclusive.
2. local, mode, etc is _really_ confusing.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-04 19:00:47 -08:00
Steven Allen
ebee9ff4b4
fix: get rid of useless cctx.Online option
...
We never set this to true outside of tests and it's unclear what it's even
supposed to do.
This brings us back down to _two_ online-ish options from three.
fixes #5787
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-04 19:00:47 -08:00
Steven Allen
5f11ed79be
Merge pull request #6013 from AuHau/doc/logging
...
Improve CLI help pages
2019-03-04 18:25:40 -08:00
Steven Allen
a301a711d9
Merge pull request #6045 from ZenGround0/fix/6044
...
Close #6044
2019-03-04 15:56:08 -08:00
ZenGround0
ffbc4fb34e
remove extra error check
2019-03-03 15:21:34 -05:00
Steven Allen
5e5c040cc3
commands(help): remove --local and --stream-chanels options
...
Users should use --offline instead of --local and --stream-channels is sent by default (and doesn't do anything as far as I can tell)...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-01 14:52:00 -08:00
Steven Allen
b4d94c93c9
commands(dht): return final error
...
This error has always been exposed as a value (visible with the `-v` flag) but
we should also be returning it as a final error.
fixes #6032
fixes #4611
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-01 14:40:11 -08:00
Steven Allen
3fa1bfe1bc
gx: update cmds and flatfs
...
fixes #6028 , fixes crash when writing after closing on flatfs.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-01 12:17:49 -08:00
Steven Allen
f227862e88
gx: update go-ipfs-cmds, go-bitswap, go-libp2p-kad-dht, and go-mplex
...
Fixes the latest batch of bugs found in RC testing.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-27 12:39:24 -08:00
Hector Sanjuan
6972a9aa4d
Gx Bubble. libp2p-6.0.38
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2019-02-27 01:10:59 +00:00
Steven Allen
3c2536dd81
gx: update go-ipfs-cmds
...
fixes #6021
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-25 16:45:43 -07:00
Adam Uhlir
0c4c82740d
Add information about logging env. variables ( #2692 )
...
License: MIT
Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
2019-02-22 10:05:45 -08:00
Adam Uhlir
8ffaa62f98
Adding information about 'ipfs log' subcommand
...
License: MIT
Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
2019-02-22 10:05:45 -08:00
Adam Uhlir
5ed95347f5
Updating synopsis
...
License: MIT
Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
2019-02-22 10:05:45 -08:00
Steven Allen
fea7ae727f
gx: update go-cid
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-20 20:29:06 -08:00
Steven Allen
f924f57c61
gx: update go-bitswap and go-libp2p-kad-dht
...
* go-bitswap: fix some race conditions.
* go-libp2p-kad-dht: fix a goroutine leak.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-20 17:19:54 -08:00
Steven Allen
0df4bb7685
Merge pull request #5704 from ipfs/fix/5703
...
fix: return the shortest, completely resolved path in the resolve command
2019-02-20 10:42:57 -08:00
Steven Allen
2f17b951c2
gx: update deps
...
* Updates go-ipfs-cmds to try to get the tests to pass on travis.
* While we're at it, fix duplicate gx deps.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-19 13:12:21 -08:00
Steven Allen
4bb1cb65e8
fix: return the shortest, completely resolved path in the resolve command
...
fixes #5703
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-19 12:08:27 -08:00
Steven Allen
91ca5911be
coreapi: return coreiface.ErrNotSupported when "catting" symlinks.
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-19 03:48:04 -08:00
Steven Allen
229f5f3b65
cat: revert change to 'not a directory' error (interop)
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-18 20:55:06 -08:00
Steven Allen
a356aeb9b9
cmds/config: make config get use EmitOnce
...
(interop)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-18 19:27:24 -08:00
Steven Allen
cf418cd2db
cmds/bootstrap: return the correct error on failure
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-18 19:24:07 -08:00
Jakub Sztandera
28cf3de0f9
Update protobuf
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-02-18 20:46:22 +01:00
Steven Allen
cf0d4706e2
gx: update libp2p stuff
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-14 14:58:35 -08:00
Steven Allen
402af03196
Merge pull request #5979 from AuHau/doc/namesys/ttl
...
Improve "name publish" ttl option documentation
2019-02-14 11:14:22 -08:00
Steven Allen
e97a60b073
gx: update go-ipfs-files
...
fix compatibility issue with js-ipfs
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-11 10:48:58 -08:00
Adam Uhlir
ff275f4c78
Improve name publish ttl option documentation
...
License: MIT
Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
2019-02-11 09:06:23 -08:00
Łukasz Magiera
648cc40ec3
coreapi: fix import grouping after extracting iface
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-09 01:57:26 +01:00
Łukasz Magiera
7ed6b518b6
coreapi: update imports to updated interface
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-09 01:42:32 +01:00
Łukasz Magiera
1ff6349729
coreapi: move namesys options to coreapi
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-08 19:27:39 +01:00
Steven Allen
2c93eeffc6
gx: update go-libp2p-peer
...
Switch _back_ to the 0.4.18 style of peer IDs while we figure things out. See
https://github.com/libp2p/specs/issues/138 .
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-02-07 17:41:39 -08:00
Łukasz Magiera
ae1eb0d79d
block put --pin option
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-04 18:05:05 +01:00
Steven Allen
803e9a7e66
Merge pull request #5962 from ipfs/feat/coreapi-async-ls
...
Port `ipfs ls` to CoreAPI
2019-02-02 13:33:29 -08:00
Łukasz Magiera
6939b602dd
coreapi: mirror unixfs file types
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-02 17:29:22 +01:00
Łukasz Magiera
1fef9a51dd
coreapi ls: merge ResolveType and ResolveSize
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-02 17:13:28 +01:00
Łukasz Magiera
d1b6ccaae9
coreapi: stream only ls, handle storting in command
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-02 03:44:54 +01:00
Łukasz Magiera
73f1e2dbf0
ls: use CoreAPI
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-02-02 00:21:36 +01:00
Dominic Della Valle
8111214223
docs: duplicate default helptext
...
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2019-02-01 09:14:24 -05:00
Łukasz Magiera
7c2aa0e9a9
gx: update go-unixfs to propagate archive changes
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-30 20:58:32 +01:00
Łukasz Magiera
e71e700cc4
commands/get: move FileArchive here
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-30 17:43:04 +01:00
Łukasz Magiera
aa3e087e77
Use coreapi in ipfs get
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-30 17:43:04 +01:00
Steven Allen
e2ab620f81
cmds/pin: fix pin imports
...
* Name them. Unfortunately, This makes the *actual* package names clear. I know
this isn't "idiomatic go" but it's idiomatic go-ipfs.
* Remove the duplicate import.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-29 11:29:53 -08:00
Overbool
7a08cf9cf3
cmds/pin: modify test
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-01-29 11:29:48 -08:00
Overbool
99feecfdcc
cmds/pin: use coreapi/pin
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-01-29 11:29:48 -08:00
chenminjian
4e91469b90
refact(cmd/config): change string option to const
...
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2019-01-27 14:26:58 +08:00
Steven Allen
3c29855e65
commands: remove extra <<default>> text from help text
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-24 13:36:44 -08:00
Kejie Zhang
ab89503faa
clarification the document of --resolve flag in name.publish
...
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
2019-01-24 13:36:44 -08:00
Steven Allen
7c6ec8185a
commands: fix verbose flag for the active commands command
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-23 11:25:13 -08:00
Steven Allen
6240f57ed4
commands: fix verbose flag
...
Options are recorded using their *first* name.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-23 11:23:38 -08:00
Łukasz Magiera
53e55e3314
gx: update go-unixfs to 1.2.14 and go-bitswap to 1.1.21
...
(and everything else...)
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-23 11:01:38 -08:00
Łukasz Magiera
b2a5168468
Unixfs: enforce refs on files when using nocopy
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-23 05:17:46 -08:00
Łukasz Magiera
85eb8812fa
Port dag commansds to CoreAPI
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-22 21:01:19 +01:00
Steven Allen
e9953972ed
mfs: make sure to flush after mv and chcid
...
We need to call `FlushPath` as `Flush` doesn't call `WaitPub` internally. The
correct fix is to rework MFS such that Flush actually flushes but that's a
larger project.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-21 20:01:40 -08:00
Steven Allen
5b6f41a0cf
Merge pull request #5923 from da2x/patch-1
...
Clarify that chunker sizes are in bytes
2019-01-21 17:57:31 +00:00
Steven Allen
38a3938960
Merge pull request #5931 from chenminjian/refact/cmd/patch
...
refact(cmd/patch): change string to const
2019-01-21 17:57:11 +00:00
Steven Allen
21ac6c7429
Merge pull request #5932 from chenminjian/refact/cmd/object
...
refact(cmd/object): change option string to const
2019-01-21 17:56:53 +00:00
Steven Allen
19d8f624ed
base32: make GetEncoderFromPath more robust
...
Primarily, get rid of extractCidString and cidVer. Neither of these functions
did sane things when a path when a path didn't actually include a CID. For
example, "boo" would yield a base32 encoder.
Also:
* Avoid "optional" errors.
* Make it a pure function of the input path.
* Extract the multibase from *any* type of path of the form
/namespace/cid-like-thing/... This is a DWIM function.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-21 09:46:24 -08:00
chenminjian
d89410d17e
refact(cmd/object): change option string to const
...
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2019-01-19 17:05:02 +08:00
chenminjian
7f80793722
refact(cmd/patch): change string to const
...
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2019-01-19 16:52:47 +08:00
Kevin Atkinson
f31e6b6191
Change --force-cid-base to --upgrade-cidv0-in-output.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2019-01-17 15:54:43 -05:00
Kevin Atkinson
57457af7d2
Change --output-cidv1 to --force-cid-base.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2019-01-17 15:54:43 -05:00
Kevin Atkinson
8209ba6156
Don't use ParsePath in extractCidString.
...
ParsePath does not preserve the multibase.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2019-01-17 15:54:43 -05:00
Kevin Atkinson
b22275fb66
Add global --cid-base option and enable it for most commands.
...
This does it on ther server side for most commands.
This also adds a global --output-cidv1 option.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2019-01-17 15:54:32 -05:00
Kevin Atkinson
5512ad53c4
Gx update go-cidutil.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2019-01-17 14:49:47 -05:00
Łukasz Magiera
3b5c0712f9
ls: dummy value in place of size for dirs
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-17 18:04:16 +00:00
Łukasz Magiera
39c2e0126d
ls: skip size for directories
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-17 18:04:16 +00:00
Łukasz Magiera
e63c06c89d
ls: report real size by default
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-17 18:04:16 +00:00
Łukasz Magiera
6bb02a59c0
ls: option to report real file size
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-17 18:04:16 +00:00
Daniel Aleksandersen
745f82e0f9
Clarify that chunker sizes are in bytes
...
Clarify that the Rabin fingerprint chunker is in bytes, and recommend
using larger chunk sizes than shown in the provided examples.
People are getting confused over chunker sizes and incorrectly assuming
they're in kiB and not bytes.
License: MIT
Signed-off-by: Daniel Aleksandersen <code@daniel.priv.no>
2019-01-13 06:13:54 +01:00
Hector Sanjuan
ab270fbaa7
Bubble go-ipfs-cmds 2.0.10
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-01-10 21:31:11 +01:00
Steven Allen
489786a53f
files: update for MFS changes
...
1. Update to use the new `Open` function.
2. Use `Flush()` instead of `Sync()` as sync was removed as useless (this should
have been calling `Flush()` all along).
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-08 19:46:37 -08:00
Steven Allen
08cc5da55f
gx: update deps
...
Importantly:
* fixes a bunch of MFS bugs
* pulls in some bitswap improvements
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-08 19:19:34 -08:00
Łukasz Magiera
7b4ab36817
gx: update go-ipfs-config
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-04 02:37:06 +01:00
Łukasz Magiera
1f479aa54c
Move checkHelptextRecursive forward a bit
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-01-03 22:48:53 +01:00
Łukasz Magiera
24e317603a
coreapi/unixfs: Use path instead of raw hash in AddEvent
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-30 03:11:40 +01:00
Łukasz Magiera
b977f83f1c
gx: update progress bar
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-23 17:26:44 +01:00
Steven Allen
56b6277d26
fix config data race
...
This fixes a data-race in the config.
This does not fix https://github.com/ipfs/go-ipfs/issues/4942 as there's still a
logical race: parallel config updates clobber each other.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-20 10:07:37 -08:00
Steven Allen
5894291139
gx: update go-ipfs-config
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-20 10:07:32 -08:00
Łukasz Magiera
190728f04a
coreapi: update for always loaded privkey
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 16:41:16 +01:00
Łukasz Magiera
a39c29933a
commands: don't use -O as global offline
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 16:41:16 +01:00
Łukasz Magiera
2dceb09258
commands: deprecate --local for --offline
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 16:41:16 +01:00
Łukasz Magiera
2c2f9f2bed
coreapi: implement --local with Offline option
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 16:40:51 +01:00
Łukasz Magiera
3183b1cb8e
coreapi: Untangle from core.IpfsNode
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 16:40:09 +01:00
Łukasz Magiera
a2f15faa4c
files2.0: address review
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 13:52:20 +01:00
Łukasz Magiera
351ed26bd8
files2.0: common single-file helper
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 13:52:20 +01:00
Łukasz Magiera
eed806a58b
files2.0: refactored helpers
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 13:52:20 +01:00
Łukasz Magiera
b85ecb848a
files2.0: Use new type helpers
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 13:52:20 +01:00
Łukasz Magiera
5ff5e48fbe
files2.0: return the right error in dag put
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 13:52:20 +01:00
Łukasz Magiera
b10e718ab4
files2.0: no error from Entries
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 13:52:20 +01:00
Łukasz Magiera
adc7490755
files2.0: updates for file type split
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 13:52:20 +01:00
Łukasz Magiera
ce952a5641
files2.0: fix build errors
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 13:52:20 +01:00
Łukasz Magiera
0618fd77be
gx: update go-ipfs-files to 2.0
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-20 13:52:20 +01:00
Steven Allen
55c232fc72
commands: return a helpful error when the daemon is offline
...
fixes #3415
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-18 11:28:29 -08:00
Steven Allen
d0c27272ad
Merge pull request #5844 from ipfs/feat/always-load-key
...
startup: always load the private key
2018-12-13 15:48:50 -08:00
Steven Allen
2eafa3f3ca
startup: always load the private key
...
Loading this at the last minute means we need a bunch of special cases
in *every* command that needs routing, namesys, or even the public key.
If we ever have a case where we don't want to do this, we can add an option to
the (eventual) IPFS constructor. Handling this up-front is going to be
significantly less error prone.
Motivation: https://github.com/ipfs/go-ipfs/pull/5825/files#diff-fe35ea64d478c4f3fb767a3f618e5d01R863
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-13 11:48:55 -08:00
Dominic Della Valle
5a02b98702
add --dereference-args parameter
...
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-12-12 16:35:42 -08:00
Steven Allen
90926ca5c7
gx: update go-ipfs-cmds
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-12 16:35:42 -08:00
Steven Allen
cb57105dfa
Merge pull request #5834 from ipfs/feat/urlstore-pin
...
add pinning support to the urlstore
2018-12-12 10:39:17 -08:00
Steven Allen
e18328b5fe
Merge pull request #5836 from chenminjian/refact/cmd/cat
...
refact(cmd/cat): remove useless code
2018-12-11 09:38:51 -08:00
Steven Allen
25a0db4f69
add pinning support to the urlstore
...
fixes #5833
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-10 18:30:14 -08:00
Steven Allen
508f307c35
Merge pull request #5827 from ipfs/gx/update-peer-id
...
gx: update go-libp2p-peer
2018-12-10 11:57:16 -08:00
chenminjian
1c94a62c48
refact(cmd/cat): remove useless code
...
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-12-10 19:12:22 +08:00
Overbool
740110e72a
block: rm extra output
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-12-07 15:58:03 -08:00
Steven Allen
9dcec2b3e2
gx: update go-libp2p-peer
...
Reverts the changes that allowed small keys (ed25519 keys) to be inlined.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-12-07 15:37:23 -08:00
Łukasz Magiera
c0a1e80f36
p2p: report-peer-id option for listen
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-11-29 20:49:17 -08:00
Kevin Atkinson
feb4808975
Gx update go-merkledag and related deps.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-11-28 17:21:36 -05:00
Overbool
a7485994d7
cmds: rm old lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-27 20:43:41 -08:00
Steven Allen
cef645936d
gx: update go-ipfs-config
...
* AutoRelay options for #5785 .
* Badger truncate-by-default option for #5275 , #5625 .
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-26 17:42:13 -08:00
hannahhoward
f5ab6a3f5e
refactor(commands): cleanup makeDagNodeLinkResults
...
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-19 16:46:10 -08:00
hannahhoward
b0dc73c45f
fix(commands): Use post-run to remove flag
...
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 15:06:54 -08:00
hannahhoward
be4c4abcc2
chore(commands): Mark feature as experimental
...
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:55:08 -08:00
Łukasz Magiera
7391cfd421
fix(commands): reduce complexity w/ typed encoder
...
uses single flag to support state needed by PostRun
supports encoding=text
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:53:08 -08:00
hannahhoward
20b928094c
fix(commands): Add sharness tests for streaming
...
Also fixes issues discovered with sharness tests
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:52:29 -08:00
hannahhoward
5672ae6bbb
fix(commands): Refactor to use a PostRun
...
Removes flags on LSOutput
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:51:29 -08:00
hannahhoward
ef6e9cf283
feat(commands): --stream option for ls
...
Convert LS Command to use current cmds lib
Update LS Command to support streaming
Rebase fixes
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:30:42 -08:00
hannahhoward
0963c9cdcb
Update go-ipfs-delay and assoc deps
...
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-15 18:53:45 -08:00
Steven Allen
a88cd82a70
Merge pull request #5760 from overbool/refactor/cmds/encoder
...
cmds: use MakeTypedEncoder
2018-11-10 10:11:26 -08:00
Overbool
f4976e6b4e
cmds/bitswap: sort wantlist
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-10 12:19:15 +08:00
Overbool
51fa833fda
cmds: use MakeTypedEncoder
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-10 12:11:45 +08:00
Overbool
5002d59d8c
cmds/update: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-09 11:14:48 -08:00
Overbool
cd108a0f88
cmds/file: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-09 09:26:52 +08:00
Overbool
57b0c0f792
cmds: remove reduntant func
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-08 15:21:50 +08:00
Steven Allen
98f6b2f684
Merge pull request #5679 from overbool/refactor/commands/refs
...
commands/refs: use new cmds
2018-11-07 13:57:56 -08:00
Steven Allen
5c15857e33
pin: handle progress in post-run, everything else in the encoder
...
Otherwise, we break the HTTP API (slightly).
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-07 13:19:15 -08:00
Overbool
62ce03ed14
cmds/pin: use PostRun in pin add
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 13:19:15 -08:00
Overbool
52cd246c04
cmds/pin: use EmitOnce for single value
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 13:19:15 -08:00
Overbool
1e7149cd00
commands/pin: fix gofmt and block
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 13:19:15 -08:00
Overbool
6fc049b59f
commands/pin: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 13:19:15 -08:00
Steven Allen
901e9fb955
Merge pull request #5678 from overbool/refactor/commands/bootstrap
...
commands/boostrap: use new cmds
2018-11-07 11:56:09 -08:00
chenminjian
fcea632b3d
fix(cmd/add): progressbar output error when input is read from stdin
...
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2018-11-07 07:52:15 -08:00