Commit Graph

9522 Commits

Author SHA1 Message Date
Overbool
488db7d2f2 commands/p2p: use cmds.EmitOnce in single value
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 12:06:26 -07:00
Overbool
7292c1da23 commands/p2p: use new cmds lib
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 12:06:26 -07:00
Steven Allen
a98a7155e5
Merge pull request #5671 from overbool/refactor/commands/dht
commands/dht: use new cmds lib
2018-11-02 12:05:47 -07:00
Overbool
4a2c3cb3cf commands/dht: use res.Emit directly
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:14:14 -07:00
Overbool
7e7a04e21f commands/dht: use new cmds lib
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:14:14 -07:00
Steven Allen
6926812ba7
Merge pull request #5666 from overbool/refactor/commands/object
commands/object: use new cmds
2018-11-02 11:13:56 -07:00
Overbool
e1d1f68f08 commands/object: use cmds.EmitOnce in single value
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:06:32 -07:00
Overbool
0fe7bdfce9 commands/object: add comment
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:06:32 -07:00
Overbool
df58a2d617 commands/object: fix object diff option error
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:06:32 -07:00
Overbool
677c953dc4 commands/object: use new cmds
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 11:06:32 -07:00
Steven Allen
f337acd895
Merge pull request #5665 from overbool/refactor/commands/files
commands/files: use new cmds
2018-11-02 10:57:14 -07:00
Overbool
f37553f065 commands/files: use cmds.EmitOnce in single value
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 09:46:14 -07:00
Overbool
546d3bed5a commands/files: can't get flush option
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 09:46:14 -07:00
Overbool
efa280c531 commands/files: use MakeTypedEncoder
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 09:46:14 -07:00
Overbool
b80589f98e commands/files: use new cmds
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 09:46:14 -07:00
Steven Allen
8736202417
Merge pull request #5712 from overbool/feat/cmds/add-config-helper
cmds/env: add a config path helper
2018-11-02 09:37:59 -07:00
Overbool
bf15999c02 cmds/env: add a config path helper
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-02 10:10:28 +08:00
Steven Allen
1c463819ec bump version to 0.4.19-dev
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-01 18:40:10 -07:00
Steven Allen
aefc746f34 release 0.4.18
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-01 18:32:17 -07:00
Steven Allen
71b73c20df
Merge pull request #5713 from ipfs/feat/release-0.4.18
release 0.4.18
2018-11-01 18:27:34 -07:00
Steven Allen
b6f784814b bump version to 0.4.18
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-01 12:54:27 -07:00
Steven Allen
2f2af8478d CHANGELOG: whyrusleeping CR
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-01 12:54:24 -07:00
Steven Allen
7ecbd21171
Merge pull request #5702 from ipfs/feat/release-0.4.18-rc2
prepare for RC2
2018-10-31 17:15:35 -07:00
Steven Allen
bfad30d588 CHANGELOG: fix typo
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-31 17:15:13 -07:00
Łukasz Magiera
a912eb56d6 CHANGELOG: section on ipld paths
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-11-01 00:22:18 +01:00
Steven Allen
c4a00b5ff9 CHANGELOG: more updates
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-31 08:32:34 -07:00
Steven Allen
2d0e194ef3 release: update version to 0.4.18-rc2
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-31 08:31:08 -07:00
Steven Allen
fb1694902c CHANGELOG: note that we can publish IPNS records for /ipld paths
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-31 08:30:48 -07:00
Steven Allen
fbeeda2f94 CHANGELOG: update for RC2
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-31 08:30:48 -07:00
Steven Allen
f3e6cc6cf3 CHANGELOG: correct grammar of introduction
(and hedge it a bit; the alpha was probably larger)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-31 08:30:48 -07:00
Steven Allen
0d56a486c0
Merge pull request #5706 from ipfs/fix/4132
fix prometheus concurrent map write bug
2018-10-31 08:00:57 -07:00
Steven Allen
f0bf99361e
Merge pull request #5708 from ipfs/fix/log-ndjson
re-format log output as ndjson
2018-10-31 05:14:36 -07:00
Steven Allen
bf69017e25 metrics: we're now recording latency seconds, not microseconds
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-31 05:12:35 -07:00
Steven Allen
16d70eac32 add a todo to remember to remove log reformatting
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-31 04:53:57 -07:00
Steven Allen
68ac5170f1 re-format log output as ndjson
Apparently, js-ipfs-api expects this. Really, I'm not sure why js-ipfs-api even
cares about this endpoint but that's a different issue.

The real fix is to change back to ndjson in go-log but that would force us to
update every package (not good when we're trying to push out a release like
this).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 17:26:49 -07:00
Steven Allen
4674f19913 fix prometheus concurrent map write bug
fixes #4132

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 15:38:49 -07:00
Steven Allen
d5c8fa50c8
Merge pull request #5705 from ipfs/fix/resolve-non-terminal
error on resolving non-terminal paths
2018-10-30 13:13:34 -07:00
Steven Allen
126d996f60 resolve: restore error message
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 13:02:55 -07:00
Steven Allen
37f33812ae error on resolving non-terminal paths
This isn't the *correct* fix but it (mostly) restores the previous behavior.

Note 1: It *also* fixes resolution of `/ipld` paths by avoiding `path.FromCid`.
Note 2: This does not preserve the error. That was a DagCBOR specific error that
has nothing to do with the issue.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 12:34:32 -07:00
Steven Allen
b6e1d38741
Merge pull request #5701 from ipfs/fix/cat-error-message
gx: update go-path
2018-10-30 12:10:54 -07:00
Steven Allen
d98351720a fix expected error message in gateway test
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 10:36:16 -07:00
Steven Allen
af53380e8c gx: update go-path
fixes the changed path cat error causing the js-ipfs-api tests to fail

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 09:27:41 -07:00
Steven Allen
018265940c
Merge pull request #5626 from ipfs/feat/impoter-batching
Explicitally use BufferedDAG after removing Batch from importers
2018-10-30 09:24:57 -07:00
Steven Allen
24be45ef0e
Merge pull request #5700 from ipfs/fix/is-dir-err
coreapi: fix errisdir
2018-10-30 09:23:20 -07:00
Steven Allen
e37b252c0c coreapi: fix errisdir
JavaScript expects this to be "this dag node is a directory". I'm almost of a
mind to say "don't parse errors" but, well, we don't give any better
alternatives.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 08:48:49 -07:00
Steven Allen
8543e27e0d
Merge pull request #5699 from ipfs/fix/pin-ls-output
Fix pin ls output when hash is specified
2018-10-30 07:52:19 -07:00
Łukasz Magiera
08d6e7844a fix pin ls output when hash is specified
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-10-30 15:26:18 +01:00
Steven Allen
3d28165c94
Merge pull request #5698 from ipfs/fix/libp2p-ping
ping: switch to the ping service enabled in the libp2p constructor
2018-10-30 07:22:59 -07:00
Steven Allen
545c8807df
Merge pull request #5697 from ipfs/fix/commands-stuff
commands: fix a bunch of tiny commands-lib issues
2018-10-30 07:05:02 -07:00
Steven Allen
cc0d6d7338 ping: switch to the ping service enabled in the libp2p constructor
We now configure the ping service in go-libp2p by default. Instead of creating a
new (duplicate) ping service, we can now just (a) rely on this to handle
incoming pings and (b) use the "Ping" function to ping peers.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-10-30 06:57:41 -07:00