1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00

7567 Commits

Author SHA1 Message Date
07d2b645d8 wrap-desc: Wrap help descriptions under 80 chars
Wraps the description sections under 80 characters.
Updated commit to adhere to requested changes.

License: MIT
Signed-off-by: Richard Pajerski II <devedge@outlook.com>
2017-09-13 01:37:21 -04:00
3b60666d25 Merge pull request #4073 from icidasset/master
Expose Content-Range header
2017-08-05 12:24:55 -07:00
542d63461e Merge pull request #4050 from jon-choi/master
README.md: Notes on where to start reading code
2017-08-01 00:07:00 -07:00
fbdb896105 Merge pull request #4114 from ipfs/fix/add-pipe-error-test
sharness: fix the 'useful error message when adding a named pipe' test
2017-08-01 00:05:13 -07:00
39197ff8d3 sharness: fix the 'useful error message when adding a named pipe' test
We were removing the file before testing, ignoring the error from stat, and then
grepping for `Error: Unrecognized file type for named-pipe: ` (because nothing
was sent to stdout).

This fix:

1. Changes our stat command to output failed to stdout on failure to ensure that
bugs like this *can't* happen.
2. Checks to make sure stat actually succeeds.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-31 18:31:40 -07:00
1ea1e38d53 Merge pull request #4111 from ipfs/fix/4102
gx: update go-libp2p-swarm
2017-07-31 17:52:03 -07:00
38a9be5a0a gx: update go-libp2p-swarm
fixes #4102 (fixed in go-libp2p-swarm)

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-31 14:04:40 -07:00
f686b4c88a Merge pull request #3948 from ipfs/feat/addresses-announce
core: make announced swarm addresses configurable
2017-07-31 11:32:59 -07:00
952f658ada core: make announced swarm addresses configurable
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-07-31 13:03:09 +02:00
8ad3b11b91 Merge pull request #4103 from ipfs/fix/4098
sharness: use test profile
2017-07-30 22:52:37 -07:00
0ada88637b sharness: use test profile
This:

* Disables mdns and fixes #4098 (iptb nodes already have mdns disabled by
  default).
* Only listens on localhost (although iptb nodes still listen on all).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-30 20:22:41 -07:00
ef365d0a07 Merge pull request #4106 from ipfs/gx/update-mplex
gx: update deps
2017-07-30 20:21:36 -07:00
5f3c01a7c1 gx: update deps
This should hopefully fix a lot of our CI problems.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-29 22:14:05 -07:00
02dc2604b3 Merge pull request #4082 from te0d/feat/commands/add-size
ipfs add: added size to response of `ipfs add` command
2017-07-29 14:49:20 -07:00
9825e33917 Merge pull request #4089 from ipfs/fix/plugins/go-test
plugin: generate dummy main function in plugin-main shims
2017-07-28 20:04:46 -07:00
a8c5c04a18 Merge pull request #4094 from ipfs/gx/update-libp2p-stuff
gx: update deps
2017-07-28 18:28:39 -07:00
0aca2a37e6 sharness: fix #4003 test case
1. Use printf to reliably expand escape sequences by default.
2. grep needs to exit after the first match as we're using HTTP/1.1 (the remote
side will not close the connection after sending the response).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-28 17:21:04 -07:00
4ef73ee25d bitswap: serialize connect/disconnect notifications over one channel.
Otherwise, we could end up receiving a disconnect notification before a connect
notification (and think we have a connection that we don't have).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-27 18:48:19 -07:00
28be1d4c58 gx: update deps
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-27 18:48:16 -07:00
f96f6af98f ipfs add: added test case to verify presence of size
Added test case which greps the `ipfs add` api call,
checking that it outputs the added item's size.

License: MIT
Signed-off-by: Tom O'Donnell <todonnell91@gmail.com>
2017-07-27 08:58:41 -04:00
c59fdccd9f plugins: generate dummy main function for plugins to fix go#20312
https://github.com/golang/go/issues/20312

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-26 17:09:27 +02:00
1cc387976b make: add generated plugin-main shims to CLEAN
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-26 17:07:54 +02:00
181dd0061c Merge pull request #4053 from Quantomicus/bugfix
Fixes #4003
2017-07-23 12:22:58 -07:00
2f260ca553 Merge pull request #4081 from ipfs/fix/2478/316432988
remove `-f` flags from calls to init
2017-07-22 23:04:54 -07:00
0a01ffb87f ipfs add: added size to response of ipfs add command
The `ipfs add` command was modified to include the added
node's size as a string. The size is included in the
dagnode info sent over the output channel.

License: MIT
Signed-off-by: Tom O'Donnell <todonnel91@gmail.com>
2017-07-20 13:19:31 -04:00
c854d2a8ce Merge pull request #4067 from ipfs/gx/update-cbor
gx: update ipldcbor
2017-07-19 13:39:33 -07:00
87f02e53a7 remove -f flags from calls to init
It doesn't mean anything anymore.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-19 11:46:55 -07:00
20ad44af1c core/http/gateway: Expose Content-Range header
The `Content-Range` header is necessary for extracting (only)
the metadata of audio files.

License: MIT
Signed-off-by: Steven Vandevelde <icid.asset@gmail.com>
2017-07-19 13:28:33 +02:00
e8f6486a9c gx: update ipldcbor
I previously optimized the IPLD cbor decoder to *not* encode and then re-decode
objects when constructing them with `WrapObject`. Unfortunately, we rely on this
to canonicalize the object before computing the tree/links.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-17 13:09:08 -07:00
48dcd67dfe Add sharness test
License: MIT
Signed-off-by: Mateja Milosevic <minima38123@gmail.com>
2017-07-17 20:48:16 +02:00
4c3487017c Merge pull request #4072 from ipfs/fix/dag-put-order
fix determination of 'root' node in dag put
2017-07-16 13:40:38 -07:00
19e1e0916f Merge pull request #4071 from ipfs/feat/deadc0de
remove some dead code
2017-07-16 03:19:04 -07:00
7f89e09d1e fix determination of 'root' node in dag put
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-16 03:14:33 -07:00
88ad00360e Merge pull request #4070 from ipfs/feat/plugin/louder
plugin: make the info about non-executable file in plugins dir and Error log
2017-07-16 02:36:11 -07:00
f07056f146 plugin: add small comment warning
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-16 11:30:15 +02:00
3f00b589d7 plugin: include empty version of preload.go
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-16 11:28:02 +02:00
fe3a4c1772 remove some dead code
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-16 02:27:46 -07:00
3aa370afe1 plugin: remove debug error log
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-16 11:18:38 +02:00
b0d4eac41d plugin: make the info about non-executable file in plugins dir and Error log
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-16 11:04:25 +02:00
71bb41771c Merge pull request #4033 from ipfs/feat/git-plugin
plugin: create plugin API and loader, add ipld-git plugin
2017-07-16 02:02:42 -07:00
c0ee7d68fd misc: small code style edit
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-16 10:26:34 +02:00
f16d94226a Merge pull request #4069 from ipfs/fix/bitswap-stream-hang
Only open a message sender when we have messages to send
2017-07-15 23:28:26 -07:00
39e9328e47 ensure testnet peers get evenly connected mesh
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-15 22:37:50 -07:00
a93b44b226 Only open a message sender when we have messages to send
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-15 20:18:17 -07:00
049bca6d09 bandaid it instead
License: MIT
Signed-off-by: Mateja Milosevic <minima38123@gmail.com>
2017-07-14 20:09:55 +02:00
3e8e03939f fix typo
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-14 16:46:22 +02:00
b5ea00e6b4 sharness: add debug output for TEST_NO_PLUGIN
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-14 13:23:14 +02:00
2df61862ac coverage: disable plugin tests during sharness coverage collection
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-14 12:18:56 +02:00
36cbfa416d coverage: add dependency on DEPS_GO for coverage
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-14 11:45:53 +02:00
fb618a28e7 plugin: fix typos
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-14 10:05:53 +02:00