Commit Graph

10437 Commits

Author SHA1 Message Date
Jeromy Johnson
19353df374 Merge pull request #3477 from ipfs/test/multiple-different
Add multiple small tests
2016-12-07 11:35:34 -08:00
Jeromy Johnson
f43811a750 Merge pull request #3476 from ipfs/docs/bitswap-proto
update message.proto
2016-12-07 10:38:36 -08:00
David Dias
38703a8a7f update message.proto
Add some comments so that I don't forget about these

License: MIT
Signed-off-by: David Dias <daviddias.p@gmail.com>
2016-12-07 09:08:24 -08:00
Jakub Sztandera
a3c38917e2
test: add memkeystore test
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-07 09:02:23 +01:00
Jakub Sztandera
84a9208bce
test: add test for nonexistant key
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-07 08:59:54 +01:00
Jakub Sztandera
cc61e5bb1a
test: Bloom filter, basic filter test
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-07 08:23:59 +01:00
Jeromy Johnson
24d35f3c66 Merge pull request #3474 from ipfs/feat/codecov/skip-ci
Do not require CI to pass for coverage
2016-12-06 17:11:54 -08:00
Jakub Sztandera
70e02cf766
Do not require CI to pass for coverage
If travis fail (or is cancelled) or random build failure happens, or
js-ipfs-api test is down for a long time we still want the coverage.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-07 01:24:18 +01:00
Jeromy
2e1467cfe0 update experimental go-multiplex to 0.2.6
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-06 15:39:22 -08:00
Jeromy Johnson
60371a5b4c Merge pull request #3472 from ipfs/feat/keystore
basic keystore implementation
2016-12-06 15:10:00 -08:00
Jeromy Johnson
90d6ab0ed1 Merge pull request #3473 from ipfs/feat/cover/maybe-better
Switch coverage to codecov from coveralls
2016-12-06 15:09:16 -08:00
Jakub Sztandera
ff63184e1a
Ignore travis and teamcity in codecov
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-06 23:50:10 +01:00
Jakub Sztandera
935e01e6b5
Run circle-ci in parallel
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-06 23:50:10 +01:00
Jakub Sztandera
c7b455210e
Add codecov.yml
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-06 23:50:10 +01:00
Jakub Sztandera
2fc9cc547a
Some progress with coverage
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-06 23:50:10 +01:00
Jeromy
c307b5494a add convenience method for getting keys including self
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-06 13:25:12 -08:00
Jeromy
e8b20b9283 address comments and add some tests
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-06 11:20:18 -08:00
Jeromy Johnson
6bcca84efb Merge pull request #3413 from ipfs/feat/fuse/osx-semver
fuse: Parse OSX fuse version properly
2016-12-06 10:51:51 -08:00
Jakub Sztandera
bae44adec4
Copy hidden files on CircleCi
As otherwise we loose .git directory which is required for Coveralls to
report Coverage properly.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-06 18:26:42 +01:00
Jakub Sztandera
650eeee7cc
Rework tags and flags passing in Makefile
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-06 17:34:07 +01:00
Jeromy
805b504043 basic keystore implementation
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-05 23:18:48 -08:00
Jakub Sztandera
018a5d594d
Add issue number to the OSXFUSE 3+ message
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-06 00:22:00 +01:00
Jakub Sztandera
53a35a8f50
Fail nicelly on OSXFUSE 3.0.0+
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-05 19:42:49 +01:00
Jakub Sztandera
e76b14aef0
fuse: Parse OSX fuse version properly
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-05 18:59:58 +01:00
Jeromy Johnson
c12f9777c5 Merge pull request #3445 from ipfs/feat/bitswap-sendmsg-deadline
bitswap: add a deadline to sendmsg calls
2016-12-05 09:17:28 -08:00
Jeromy Johnson
f8eca5e13e Merge pull request #3466 from ipfs/feat/cover/ignore-commands
Do not include core/commands in coverage report
2016-12-04 23:30:47 -08:00
Jeromy Johnson
0c413de87f Merge pull request #3432 from keks/feat/pubsub-sharness
add sharness test for pubsub
2016-12-04 21:29:45 -08:00
Jeromy Johnson
a1d2d47a9d Merge pull request #3447 from ipfs/feat/multiplex-experiment
add option to enable go-multiplex experiment
2016-12-04 17:02:49 -08:00
Jeromy Johnson
0814a9979a Merge pull request #3443 from ipfs/feat/retain-cid-type
merkledag: retain cid types when roundtripping through a ProtoNode
2016-12-04 16:30:23 -08:00
Jeromy
10ddd40f7b add option to enable go-multiplex experiment
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-04 16:29:03 -08:00
Jeromy Johnson
cdd5285f16 Merge pull request #3464 from ipfs/kevina/add-cmd-fixes
Revert Add Defaults to `ipfs add` / Fix default logic of `--progress` option
2016-12-04 16:11:21 -08:00
Jakub Sztandera
0310992078
Exclude cmd from coverage
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-05 00:23:13 +01:00
Jakub Sztandera
8218dcb0c8
Do not include core/commands in coverage report
It is covered by sharness

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-04 23:56:09 +01:00
Kevin Atkinson
e92c4445f1 add cmd: clean up default logic of --progress option
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-12-04 00:11:32 -05:00
Kevin Atkinson
0b8e032785 add cmd: use .Default(true) for pin option.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-12-04 00:11:25 -05:00
Kevin Atkinson
aa97a09ba1 Revert "Merge pull request #2657 from ipfs/feature/add-defaults-to-add"
In addition to removing the .Default option in the "add" options this
also fixes the --progress option so --progress=false work again.

This reverts commit da4a4ac0bc, reversing
changes made to 518f7e06a1.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-12-04 00:10:50 -05:00
Jan Winkelmann
993e7816f8 pubsub sharness tests after chriscool feedback
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2016-12-04 03:22:51 +01:00
Jan Winkelmann
1b3158f860 add sharness test for pubsub
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2016-12-04 03:22:49 +01:00
Jeromy Johnson
4f38c88cb8 Merge pull request #3460 from ipfs/feat/test/coveralls
Report coverage to coveralls
2016-12-02 17:31:05 -08:00
Jeromy Johnson
433d0b5fa7 Merge pull request #3461 from ipfs/fix/bitswap-message-marshal
bitswap: add wantlist fullness to protobuf messages
2016-12-02 16:39:22 -08:00
Jeromy
6f8dd03e07 bitswap: add wantlist fullness to protobuf messages
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-02 14:15:24 -08:00
Jakub Sztandera
6696b01c47
Enable parallel builds on CircleCI
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-02 23:10:52 +01:00
Jakub Sztandera
56e50178cc
Fix PHONY name in Makefile
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-02 22:43:50 +01:00
Jakub Sztandera
36708cc04a
Run coveralls if COVERALLS_TOKEN is set
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-02 22:31:04 +01:00
Jeromy Johnson
ac16ac5825 Merge pull request #3458 from mib-kd743naq/master
Switch unixfs.Metadata.MimeType to optional
2016-12-02 11:02:39 -08:00
Mib Kd743naq
8ee4280f7b Switch unixfs.Metadata.MimeType to optional
*** THIS IS A BREAKING CHANGE *** as per [1]: "Required is forever"

Nevertheless this seems like a good idea at this time: there are no known
producers ( nor consumers ) of MetaData nodes, and the current requirement
of MimeType has an extremely narrow application scope.

This change could very well be rejected in lieu of implementing a new type
of node ( e.g. TheRealMetadata ) in the DataType enum.

Based on https://github.com/ipfs/go-ipfs/issues/3451#issuecomment-264246718

License: MIT
Signed-off-by: Mib Kd743naq <mib.kd743naq@gmail.com>

[1] https://developers.google.com/protocol-buffers/docs/proto#specifying-field-rules
2016-12-02 06:43:15 +01:00
Mib Kd743naq
a7abc9cdcc Fix bad formatting introduced by e855047ec
License: MIT
Signed-off-by: Mib Kd743naq <mib.kd743naq@gmail.com>
2016-12-02 05:25:27 +01:00
Jeromy Johnson
a542dea5de Merge pull request #3386 from ipfs/kevina/nextsync
Use NextSync method in Datastore
2016-12-01 10:35:22 -08:00
Jeromy Johnson
a933b288b3 Merge pull request #3450 from ipfs/fix/freebsd-build
ulimit: handle freebsd ulimit code separately from the rest of the un…
2016-12-01 10:22:28 -08:00
Kevin Atkinson
aaaab9508c blockstore.AllKeyChan: fix/cleanup error handling
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-11-30 18:21:24 -05:00