Commit Graph

1738 Commits

Author SHA1 Message Date
Ł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