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
Jeromy
02975bde9d
bitswap: add a deadline to sendmsg calls
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-29 15:22:05 -08:00
Jeromy Johnson
66315b8e4f
Merge pull request #3435 from ipfs/fix/errorf-bitswap
...
fix formatting on error call
2016-11-29 14:56:34 -08:00
Jeromy
13f6528e30
merkledag: respond with correct cid to Cid() method
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-29 14:46:50 -08:00
Jeromy
cd6d2d24f4
merkledag: retain cid types when roundtripping through a ProtoNode
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-29 11:32:41 -08:00
Kevin Atkinson
1c7e2b2456
ds-help: avoid unnecessary allocs when posssible and make use of RawKey
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-11-29 12:49:21 -05:00
Jeromy Johnson
f81cccc3fc
Merge pull request #3438 from ipfs/deps/datastore-bubble
...
bubble up go-datastore deps
2016-11-29 09:03:50 -08:00
Jeromy
53d47669da
bubble up go-datastore deps
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-28 22:29:38 -08:00
Jeromy Johnson
16d4bb6e57
Merge pull request #3439 from ipfs/deps/remove-go-key
...
completely remove go-key dep
2016-11-28 22:21:13 -08:00
Jeromy
f0f88adea0
completely remove go-key dep
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-28 21:42:32 -08:00
Jeromy
3899469448
fix formatting on error call
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-28 13:42:47 -08:00
Jeromy Johnson
4e8015d74a
Merge pull request #3408 from ipfs/feat/bitswap-cleanup
...
cleanup bitswap and handle message send failure slightly better
2016-11-27 11:23:44 -08:00
Jeromy Johnson
4511a4a482
Merge pull request #3421 from ipfs/feat/test/go-fmt
...
Add check if go code is formatted
2016-11-25 10:51:24 -08:00
Jeromy Johnson
0980bf6d8b
Merge pull request #3416 from keks/feat/instaflush
...
Send empty struct to pubsub cmd output to flush
2016-11-24 22:53:46 -08:00
Jeromy Johnson
af518f83a8
Merge pull request #3422 from slothbag/cmd_help
...
Add dag and stat to command help info
2016-11-24 22:50:36 -08:00
Jeromy Johnson
38d009d851
Merge pull request #3420 from ipfs/fix/pin-ls
...
Issue #3419 : Do not recursively resolve DAG just to obtain a CID
2016-11-24 22:49:51 -08:00
slothbag
decad63123
Add dag and stat
...
License: MIT
Signed-off-by: slothbag <slothbag>
2016-11-25 13:33:51 +11:00
Jakub Sztandera
21c7ec8c35
Add test_go_fmt to makefile
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-24 22:14:59 +01:00
Jakub Sztandera
1d67c93c3a
Remove trailing new-line from pbdagreader.go
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-24 20:05:01 +01:00
Hector Sanjuan
5d20ddc957
Lowercase error messages
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-11-24 19:36:26 +01:00
Hector Sanjuan
ac054f3d8f
Issue #3419 : Do not recursively resolve DAG just to obtain a CID
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2016-11-24 17:10:52 +01:00
Kevin Atkinson
ba383eda00
"block rm": make channel large enough to avoid blocking
...
Make the channel for the output of RmBlocks large enough to hold any
result to avoid blocking while holding the GCLock.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-11-23 18:04:12 -05:00
Jan Winkelmann
7ad2f527a5
Send empty struct to pubsub cmd output to flush
...
So the HTTP headers get sent
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2016-11-23 19:32:23 +01:00
Jeromy Johnson
ccb46fa9b6
Merge pull request #3402 from keks/feat/newfloodsub
...
use floodsub version 0.8.1
2016-11-23 09:37:54 -08:00
Jan Winkelmann
05265f176b
use floodsub version 0.8.1
...
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2016-11-23 12:43:59 +01:00
Jeromy Johnson
0fcb92f3a1
Merge pull request #3403 from ipfs/feat/dg-reader-cleanup
...
Fix panic in dagreader with raw nodes
2016-11-22 11:30:08 -08:00