Commit Graph

7542 Commits

Author SHA1 Message Date
Jeromy Johnson
181dd0061c Merge pull request #4053 from Quantomicus/bugfix
Fixes #4003
2017-07-23 12:22:58 -07:00
Jeromy Johnson
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
Jeromy Johnson
c854d2a8ce Merge pull request #4067 from ipfs/gx/update-cbor
gx: update ipldcbor
2017-07-19 13:39:33 -07:00
Steven Allen
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
Steven Allen
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
Quantomic
48dcd67dfe Add sharness test
License: MIT
Signed-off-by: Mateja Milosevic <minima38123@gmail.com>
2017-07-17 20:48:16 +02:00
Jeromy Johnson
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
Jeromy Johnson
19e1e0916f Merge pull request #4071 from ipfs/feat/deadc0de
remove some dead code
2017-07-16 03:19:04 -07:00
Jeromy
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
Jeromy Johnson
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
Jakub Sztandera
f07056f146
plugin: add small comment warning
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-16 11:30:15 +02:00
Jakub Sztandera
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
Jeromy
fe3a4c1772 remove some dead code
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-16 02:27:46 -07:00
Jakub Sztandera
3aa370afe1
plugin: remove debug error log
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-16 11:18:38 +02:00
Jakub Sztandera
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
Jeromy Johnson
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
Jakub Sztandera
c0ee7d68fd
misc: small code style edit
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-16 10:26:34 +02:00
Jeromy Johnson
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
Jeromy
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
Jeromy
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
Quantomic
049bca6d09 bandaid it instead
License: MIT
Signed-off-by: Mateja Milosevic <minima38123@gmail.com>
2017-07-14 20:09:55 +02:00
Jakub Sztandera
3e8e03939f
fix typo
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-14 16:46:22 +02:00
Jakub Sztandera
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
Jakub Sztandera
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
Jakub Sztandera
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
Jakub Sztandera
fb618a28e7
plugin: fix typos
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-14 10:05:53 +02:00
Jakub Sztandera
6da6e7756e
plugin: fix plugin loading
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-13 23:02:13 +02:00
Jakub Sztandera
b135a1fa86
misc: add go fmt to main packages of plugins
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-13 22:05:31 +02:00
Jakub Sztandera
be5ee0b280
Disable ipldgit preload
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-13 22:03:33 +02:00
Jakub Sztandera
314d2c3113
misc: make codecov really happy
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-13 21:59:01 +02:00
Jakub Sztandera
e293de17eb
plugin: fix error when plugins dir does not exist
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-13 21:57:40 +02:00
Jakub Sztandera
c569b0be8a
plugin: make the plugin preload work again
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-13 21:16:04 +02:00
Jakub Sztandera
b0679728f0
make codeclimate more happy
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-13 08:49:11 +02:00
Jakub Sztandera
42b0ba345f
fixup plugin loading
they have to be a main package

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-13 08:42:21 +02:00
Łukasz Magiera
f947931af9 git: add git plugin tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-12 23:38:32 +02:00
Jakub Sztandera
d6657edf59
make codeclimate a bit more happy
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-12 23:08:41 +02:00
Jakub Sztandera
cfad460827
git: make gitPlugin struct private
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-12 23:03:15 +02:00
Jakub Sztandera
04b26fe089
make: fix buildmode=plugin and pkgdir problems
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-12 23:01:45 +02:00
Jakub Sztandera
2c71cf0fd7
test: add git plugin test stub
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-12 21:53:59 +02:00
Jakub Sztandera
d2cc708650
make(sharness): add plugins as part of sharness build
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-12 21:53:59 +02:00
Jakub Sztandera
d6f280ecec
make: fix megacheck being run on help print
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-12 21:53:59 +02:00
Jakub Sztandera
285a4d8e10
test: add TEST_NO_PLUGIN and PLUGIN prereq
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-12 21:53:59 +02:00
Jeromy
7203c43b60
plugin: create plugin API and loader, add ipld-git plugin
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-12 21:53:59 +02:00
Jeromy Johnson
06c567d175 Merge pull request #4060 from ipfs/feat/pluggable-ipld-decoding
Change IPFS to use the new pluggable Block to IPLD decoding framework.
2017-07-11 22:13:47 -07:00
Jeromy Johnson
636a71eb72 Merge pull request #4061 from ipfs/deps/fix-gx-deps
gx: import and fix gx deps
2017-07-11 22:12:39 -07:00
Steven Allen
b27eacd666 gx: import and fix gx deps
Someday, someone will have time to fix
https://github.com/whyrusleeping/gx-go/issues/17

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-11 20:50:29 -07:00
Steven Allen
35984c2c88 Change IPFS to use the new pluggable Block to IPLD decoding framework.
Later, we should:

1. Pull the other node formats out of IPFS (at least the raw one).
2. Pull out the decoder registration/management into a `go-ipld` library.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-11 20:35:16 -07:00
Jeromy Johnson
e8477b50c9 Merge pull request #4059 from ipfs/deps/multihash-id-bubble
update go-multihash and bubble up changes
2017-07-11 20:05:12 -07:00
Jeromy
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
Jeromy Johnson
5ba22a0c74 Merge pull request #4054 from ipfs/fix/session-close-hang
fix closing and removal of sessions
2017-07-11 10:14:14 -07:00