Commit Graph

7498 Commits

Author SHA1 Message Date
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
Jeromy
8be07cabd0 fix closing and removal of sessions
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-11 09:31:20 -07:00
Jeromy Johnson
4a77987557 Merge pull request #4036 from ipfs/doc/experimental
docs: add experimental-features.md
2017-07-09 06:54:46 -07:00
Jeromy Johnson
0784a852ac Merge pull request #3867 from ipfs/feat/bitswap-sessions
Bitswap sessions
2017-07-07 12:38:09 -07:00
Jeromy Johnson
867f9c137f Merge pull request #4044 from ipfs/docs/go1.8
docs: Require go 1.8
2017-07-07 12:32:10 -07:00
Jeromy Johnson
685ebc6394 Merge pull request #4049 from ipfs/version/0.4.11-dev
bump version to 0.4.11-dev
2017-07-07 12:27:49 -07:00
Jeromy
87f245419b bump version to 0.4.11-dev
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-07 12:20:10 -07:00
Jakub Sztandera
dd7589bdaf
bitswap: add few method comments
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-07 20:54:07 +02:00
Jeromy
3be5c913ee fix issue with sessions not receiving locally added blocks
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-07 11:40:41 -07:00
Łukasz Magiera
c2603538fe docs: Require go 1.8
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-07 20:02:42 +02:00
Jeromy Johnson
00573cb2c1 Merge pull request #4045 from ipfs/feat/test-profile
Add test init profile
2017-07-06 14:17:37 -07:00
Łukasz Magiera
962e1bbc45 Add test init profile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-06 22:41:47 +02:00
Jeromy
124afdbaaa extract bitswap metrics to separate struct for 64bit alignment
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-06 12:17:25 -07:00
Jeromy
eab2024e43 address CR
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-06 12:06:57 -07:00
Jeromy
1ffb44cd46 make NewSession in the blockservice be a function, not a method
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-05 12:31:34 -07:00
Jeromy
579fd46488 track broadcasted wantlist entries
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-05 10:51:51 -07:00
Jeromy
b1247d3323 WIP: wire sessions up through into FetchGraph
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-05 10:48:28 -07:00
Jeromy
b680f49363 fix wantlist removal accounting, add tests
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-05 10:47:23 -07:00
Jeromy
e43d1317bb rework how refcounted wantlists work
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-05 10:47:23 -07:00
Jeromy
bda8c3a687 implement bitswap sessions
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-05 10:47:22 -07:00
Jeromy
47479b672a track wantlists sent to peers individually
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-05 10:45:31 -07:00
Łukasz Magiera
12bdb94f65 docs: correct p2p command usage
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-05 18:32:02 +02:00
Jeromy Johnson
0b481a3e08 Merge pull request #4022 from hermanjunge/feat/block-put-add-cid-codecs
Add CID Codecs to block put
2017-07-05 08:53:08 -07:00
Jeromy Johnson
6ad24f6145 Merge pull request #4035 from Stebalien/fix/mount-publish-test
sharness: fix the error message in the mount-publish test case
2017-07-05 08:50:33 -07:00
Jeromy Johnson
0656374d1b Merge pull request #4037 from ipfs/fix/namesys/test-race
test: fix race in namesys tests
2017-07-05 08:39:29 -07:00
Jakub Sztandera
dc7acdd05c
test: fix race in namesys tests
Resolves #4018

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-07-05 15:05:20 +02:00
Herman Junge
f512a33998 ipfs block put: Add CID Codecs to "ipfs block put"
Adding codecs found in
Use the codec map implemented in https://github.com/ipfs/go-cid/pull/26

License: MIT
Signed-off-by: Herman Junge <chpdg42@gmail.com>
2017-07-05 00:34:07 -04:00
Lars Gierth
0660f1c46f docs: add experimental-features.md
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-07-05 01:58:13 +02:00
Steven Allen
cc844ba3db sharness: fix the error message in the mount-publish test case
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-04 16:54:12 -07:00
Jeromy Johnson
ba9435d850 Merge pull request #4001 from ipfs/feat/profile
Implement --profile option in ipfs init
2017-07-04 15:16:22 -07:00
Jeromy Johnson
a1f80823e0 Merge pull request #4030 from ipfs/gx/go-datastore-1.2.1
Update go-datastore to 1.2.2, go-cid to 0.7.16
2017-07-04 15:08:01 -07:00
Łukasz Magiera
a2fac218e2 Disable MDNS in server profile, move it out from init.go
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 22:36:02 +02:00
Łukasz Magiera
1b67e3aeb6 Add invalid profile test to init --profile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 22:36:02 +02:00
Łukasz Magiera
140de0a83d Add a bit of doc on init --profile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 22:36:02 +02:00
Łukasz Magiera
184c7a0126 Add sharness test for init --profile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 22:36:02 +02:00
Łukasz Magiera
49645f00cf Implement ipfs init --profile
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 22:36:02 +02:00
Jeromy Johnson
0f2b7a1b55 Merge pull request #4034 from ipfs/lgierth-patch-2
docs: add transports.md
2017-07-04 13:30:17 -07:00
Łukasz Magiera
2b827d6662 gx updates: Fix CI
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 21:43:52 +02:00
Lars Gierth
21e96e2ec4 docs: add transports.md
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-07-04 21:39:12 +02:00
Łukasz Magiera
8ab93aaeb2 Update go-datastore to 1.2.2, go-cid to 0.7.16
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 20:18:57 +02:00
Łukasz Magiera
ed1581ad71 Bump travis Go version to 1.8
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-03 21:09:13 +02:00
Łukasz Magiera
4b8a9a3f9f Update go-datastore to 1.2.1
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-03 20:17:03 +02:00