Commit Graph

6825 Commits

Author SHA1 Message Date
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 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
Kevin Atkinson
24aa42d85d blockstore.AllKeyChan: avoid channels by using the new NextSync method
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-11-30 17:50:19 -05:00
Jeromy Johnson
f8635ba01f Merge pull request #3407 from ipfs/kevina/dskey-minalloc
ds-help: avoid unnecessary allocs when posssible and make use of RawKey
2016-11-30 14:48:14 -08:00
Jeromy Johnson
8a1aa982e4 Merge pull request #3449 from Zanadar/test/flags-test
Add test for flags package
2016-11-30 14:16:01 -08:00
Jeromy Johnson
5e4ca03afd Merge pull request #3448 from ipfs/feat/wlist-resend-delay
bitswap: increase wantlist resend delay to one minute
2016-11-30 14:03:52 -08:00
Jeromy Johnson
e855047ec8 Merge pull request #3418 from ipfs/kevina/rmblock-noblock
"block rm": make channel large enough to avoid blocking
2016-11-30 10:52:32 -08:00
Jeromy
1cd7e58c80 ulimit: handle freebsd ulimit code separately from the rest of the unixes
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-30 10:27:22 -08:00
Zander Mackie
4e05f07a4e Add test for flags.
License: MIT
Signed-off-by: Zander Mackie <zmackie@gmail.com>
2016-11-30 09:18:53 -05:00
Jeromy
5e251e9d43 bitswap: increase wantlist resend delay to one minute
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-29 19:28:33 -08:00