Commit Graph

3926 Commits

Author SHA1 Message Date
Tommi Virtanen
5cb8d80bb6 LevelDB is no longer "the" datastore, adjust identifiers 2015-04-20 02:21:49 -07:00
Juan Batiz-Benet
7eb4a92aba 0-to-1 fsrepo migration 2015-04-20 02:20:31 -07:00
Juan Batiz-Benet
c79dddd3d3 core: resolve error + bounds check
- handle error on "/ipns/"
- bounds-check, otherwise might cause a panic
2015-04-20 01:49:22 -07:00
Juan Batiz-Benet
928581c9e7 Merge pull request #1071 from ipfs/add-err-fix
cmds/add: silent error fix
2015-04-20 01:48:54 -07:00
Juan Batiz-Benet
c75a2938a9 Merge pull request #1080 from gatesvp/iss750
Iss750
2015-04-20 01:27:30 -07:00
Juan Batiz-Benet
218aeeb77e cmds/add: silent error fix 2015-04-20 01:18:42 -07:00
gatesvp
31ff954539 Move IPNS resolutions into the core library
Move IPNS resolutions into the core library via the pathresolver.go
file. Fix the CLI commands to leverage this core component.
2015-04-20 01:04:30 -07:00
Juan Batiz-Benet
7bba80041c Merge pull request #1098 from ipfs/rm-debugerror
remove debugerrors
2015-04-20 00:55:40 -07:00
Juan Batiz-Benet
140cd1fd1b remove debugerrors
We now consider debugerrors harmful: we've run into cases where
debugerror.Wrap() hid valuable error information (err == io.EOF?).
I've removed them from the main code, but left them in some tests.
Go errors are lacking, but unfortunately, this isn't the solution.

It is possible that debugerros.New or debugerrors.Errorf should
remain still (i.e. only remove debugerrors.Wrap) but we don't use
these errors often enough to keep.
2015-04-20 00:35:35 -07:00
Juan Batiz-Benet
b483fdc948 Merge pull request #1010 from ipfs/fix/pin-bug
fix pinning
2015-04-20 00:21:05 -07:00
Jeromy
ef56f4f83b functions dont need to be called functions 2015-04-19 23:40:25 -07:00
Jeromy
0a6b880bee fix for #1008 and other pinning fixes
This commit adds a new set of sharness tests for pinning, and addresses
bugs that were pointed out by said tests.

test/sharness: added more pinning tests

Pinning is currently broken. See issue #1051. This commit introduces
a few more pinning tests. These are by no means exhaustive, but
definitely surface the present problems going on. I believe these
tests are correct, but not sure. Pushing them as failing so that
pinning is fixed in this PR.

make pinning and merkledag.Get take contexts

improve 'add' commands usage of pinning

FIXUP: fix 'pin lists look good'

ipfs-pin-stat simple script to help check pinning

This is a simple shell script to help check pinning.

We ought to strive towards making adding commands this easy.
The http api is great and powerful, but our setup right now
gets in the way. Perhaps we can clean up that area.

updated t0081-repo-pinning

- fixed a couple bugs with the tests
- made it a bit clearer (still a lot going on)
- the remaining tests are correct and highlight a problem with
  pinning. Namely, that recursive pinning is buggy. At least:
  towards the end of the test, $HASH_DIR4 and $HASH_FILE4 should
  be pinned indirectly, but they're not. And thus get gc-ed out.
  There may be other problems too.

cc @whyrusleeping

fix grep params for context deadline check

fix bugs in pin and pin tests

check for block local before checking recursive pin
2015-04-19 23:40:25 -07:00
Juan Batiz-Benet
d23647ed39 Merge pull request #947 from hosh/hosh/fuse-docs
DOCS: Updated FUSE docs
2015-04-19 15:42:28 -07:00
Juan Batiz-Benet
c67fc2a286 Merge pull request #1015 from ipfs/merkledag-link-manipulation
Add additional link manipulation functions
2015-04-19 15:39:54 -07:00
Juan Batiz-Benet
c0c4fd3842 Merge pull request #1085 from ipfs/bloomfilter-hamming-distance
Add hamming distance calculation to bloom filters
2015-04-19 15:23:48 -07:00
Juan Batiz-Benet
ff34efba75 re-vendored hamming lib with license 2015-04-19 13:59:56 -07:00
Juan Batiz-Benet
e817852424 Merge pull request #1091 from ipfs/bitswap-perf
add more bitswap task workers
2015-04-19 13:29:51 -07:00
Jeromy Johnson
43eeab9549 change env var for bitswap
changed IPFS_TASK_WORKERS to IPFS_BITSWAP_TASK_WORKERS
2015-04-19 13:10:43 -07:00
Jeromy
16e04356b9 address comments from CR 2015-04-19 11:19:51 -07:00
Jeromy
3629d7d548 make number of workers tuneable by an env var 2015-04-17 15:57:50 -07:00
Jeromy
3178dfe78b add more bitswap task workers 2015-04-17 12:43:31 -07:00
Juan Batiz-Benet
a97e9e70c7 Merge pull request #1087 from ipfs/bitswap-perf
increase window size for yamux streams
2015-04-17 01:33:52 -07:00
Jeromy
30ee01f19d increase window size for yamux streams 2015-04-16 20:56:40 -07:00
Kristoffer Ström
20383472c7 Add additional link manipulation functions
// AddRawLink adds a link to this node
AddRawLink(name string, lnk *Link) error

// Return a copy of the link with given name
GetNodeLink(name string) (*Link, error)
2015-04-15 17:22:52 +02:00
Kristoffer Ström
2c3f9f2419 Add hamming distance calculation to bloom filters 2015-04-15 17:13:47 +02:00
Juan Batiz-Benet
240633414e Merge pull request #1079 from ipfs/chriscool-readme-fix-todo
README: alpha version has been released
2015-04-14 09:21:14 -07:00
Christian Couder
89961d9d9f README: alpha version has been released 2015-04-14 15:57:40 +02:00
Juan Batiz-Benet
e225e9f255 Merge pull request #1074 from ipfs/fix/warning-logs
move log messages out of warning level
2015-04-14 00:46:57 -07:00
Juan Batiz-Benet
7c9bfa056e Merge pull request #1073 from ipfs/secio-err-echo
secio: better error detection
2015-04-13 22:12:12 -07:00
Juan Batiz-Benet
127c03255a secio: better error detection
The same keys + nonces in secio were being observed. As described in
https://github.com/ipfs/go-ipfs/issues/1016 -- the handshake must
be talking to itself. This can happen in an outgoing TCP dial with
REUSEPORT on to the same address.
2015-04-13 21:52:56 -07:00
Jeromy
e186e740de move log messages out of warning level 2015-04-13 19:48:55 -07:00
Juan Batiz-Benet
695a15e78d Merge pull request #1069 from mlovci/patch-1
Fixed broken http link in README.md
2015-04-13 15:20:11 -07:00
Michael Lovci
aaa2a20730 Fixed broken link
Markdown didn't have "http://" so the link returned 404
2015-04-13 19:15:34 -03:00
Juan Batiz-Benet
5c934cca34 Merge pull request #1068 from mlovci/master
Fix hub.docker.com URL
2015-04-13 15:11:38 -07:00
Michael Lovci
e7115ba71d undo URL problems 2015-04-13 18:57:12 -03:00
Michael Lovci
2329ca117c Formatting bug 2015-04-13 18:56:19 -03:00
Juan Batiz-Benet
ef1ceeab40 Merge pull request #1067 from mlovci/master
Added documentation for docker usage.
2015-04-13 14:02:11 -07:00
Michael Lovci
94c67bf7ff Formatting README.md for readibility 2015-04-13 17:42:27 -03:00
Michael Lovci
686bf81444 Changed docker hub source URL 2015-04-13 17:34:37 -03:00
Michael Lovci
97217c92a5 Added documentation for docker usage. #1052 2015-04-13 12:03:15 -03:00
Juan Batiz-Benet
ed06488e55 Merge pull request #1056 from ipfs/fix/listen_err
log listeners dying as at least a warning
2015-04-12 19:38:49 -07:00
Juan Batiz-Benet
730b00bf56 Merge pull request #1064 from ipfs/fix/interupt-error
fix ugly error message when killing commands
2015-04-12 15:35:37 -07:00
Juan Batiz-Benet
97e1c95370 Merge pull request #1063 from AtnNn/publish-path
Publish by path
2015-04-12 15:00:18 -07:00
Etienne Laurin
233c39ff62 publish by path 2015-04-12 21:51:58 +00:00
Jeromy
f74e71f965 fix ugly error message when killing commands 2015-04-12 14:49:45 -07:00
Juan Batiz-Benet
264ada5131 Merge pull request #1061 from ipfs/update-goprocess
updated goprocess to deal with memory leak
2015-04-12 14:30:53 -07:00
Juan Batiz-Benet
78bb5f4937 Merge pull request #1062 from ipfs/bugfix-add-error
bugfix: add was not setting error
2015-04-12 08:02:47 -07:00
Juan Batiz-Benet
69db1b4ec5 bugfix: add was not setting error 2015-04-12 07:53:04 -07:00
Juan Batiz-Benet
dbef4efd38 updated goprocess to deal with memory leak 2015-04-12 04:40:22 -07:00
Juan Batiz-Benet
11a85c7d89 Merge pull request #1058 from ipfs/gateway-head
corehttp: added support for HEAD requests
2015-04-12 02:45:52 -07:00