Juan Benet
9cfa23ee37
Merge pull request #1815 from ipfs/update/msgio
...
update go-msgio dependency
2015-10-09 12:28:03 -07:00
Jeromy
8e79770b4a
update go-msgio dependency
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-09 08:58:32 -07:00
Juan Benet
b415e0618b
Merge pull request #1797 from rht/fix/cat
...
Add context to coreunix.Cat argument
2015-10-08 02:59:52 -07:00
Juan Benet
bb8e231be1
Merge pull request #1799 from ipfs/prometheus-http
...
daemon: instrument the gateway and api HTTP handlers
2015-10-05 01:35:45 -04:00
Lars Gierth
dd20f48454
daemon: instrument the gateway and api HTTP handlers
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-10-05 03:53:49 +02:00
rht
6ae0973e1f
Add context to coreunix.Cat argument
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-04 23:10:43 +07:00
Juan Benet
e0f04176cd
Merge pull request #1796 from ipfs/mocknet-fix
...
mocknet: conn close idempotent with process.
2015-10-04 10:57:11 -04:00
Juan Batiz-Benet
a7576c98be
mocknet: conn close idempotent with process.
...
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-10-04 10:15:45 -04:00
Juan Benet
f70846fe89
Merge pull request #1792 from ipfs/fix-test-cmp-args
...
Fix test cmp args
2015-10-04 05:59:25 -04:00
Christian Couder
e499ee4470
sharness: swap test_*cmp arguments
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-04 11:39:22 +02:00
Christian Couder
bf8adc6c69
t0044: fail when 'ipfs add' fails
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-04 11:39:22 +02:00
Christian Couder
7b81e4e885
t0220: use test_must_be_empty()
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-04 11:39:22 +02:00
Christian Couder
93aa8d0fb3
t0220: check if 'ipfs bitswap' fails
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-04 11:39:22 +02:00
Juan Benet
d9d9798876
Merge pull request #1697 from rht/fix/tar
...
Decompose gz writer from DagArchive
2015-10-04 05:23:24 -04:00
rht
ff27c03da0
Decompose maybeGzwriter
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-04 15:46:46 +07:00
Juan Batiz-Benet
26cdd9957f
fix vendor path.
...
We need to have a test case that fails when any dep path is not
vendored. (until we use gx fully that is, and vendor everything
with it)
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-10-04 02:59:25 -04:00
Juan Benet
d4938c9b0c
Merge pull request #1777 from rht/test/add
...
Add trickle and chunker test
2015-10-03 19:40:31 -04:00
Juan Benet
979bcc8108
Merge pull request #1772 from ipfs/shell-quote
...
Shell quote
2015-10-03 19:34:43 -04:00
Juan Benet
d4ca23d349
Merge pull request #1785 from ipfs/improve-t0100
...
t0100: swap test_cmp arguments
2015-10-03 19:34:16 -04:00
Juan Benet
3e8f7bd3ff
Merge pull request #1786 from ipfs/improve-t0120
...
Improve t0120
2015-10-03 19:34:09 -04:00
Christian Couder
69c2340e06
t0120: add missing &&
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-04 00:08:16 +02:00
Christian Couder
9b316e8c66
t0120: swap test_cmp arguments
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-04 00:06:17 +02:00
Christian Couder
3c3a9c974a
t0100: swap test_cmp arguments
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-04 00:02:17 +02:00
Juan Benet
47a353de6a
Merge pull request #1781 from ipfs/improve-t0240
...
Improve t0240
2015-10-03 18:00:22 -04:00
Juan Benet
513b75a889
Merge pull request #1783 from ipfs/improve-t0051
...
t0051: swap test_cmp arguments
2015-10-03 17:58:50 -04:00
Juan Benet
3eea954a78
Merge pull request #1784 from ipfs/improve-t0081
...
t0081: swap test_cmp arguments
2015-10-03 17:58:31 -04:00
Juan Benet
1b795013ca
Merge pull request #1773 from ipfs/feat/no-symlink
...
replace imports with absolute path instead of using symlink
2015-10-03 17:56:34 -04:00
Juan Benet
0e382c9548
Merge pull request #1780 from ipfs/dev-notes
...
add some notes on how to hack on go-ipfs
2015-10-03 17:55:56 -04:00
Christian Couder
5686762055
t0081: swap test_cmp arguments
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 23:49:01 +02:00
Christian Couder
088aa1a623
ipfs-test-lib: clarify and simplify shellquote()
...
Let's first add a comment to explain why the wrapper printf()
is needed.
Then let's replace the last instructions by quotes inside the
wrapper printf() first argument, and let's also put there the
eventual space so that we can remove the printf on the above
line.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 23:35:44 +02:00
Jeromy
8f0623255d
replace imports with absolute path instead of using symlink
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-03 14:30:50 -07:00
Christian Couder
8f102d2cbd
t0051: swap test_cmp arguments
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 23:26:20 +02:00
Christian Couder
880f378932
t0240: swap 'resolve' and 'expected'
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 22:46:10 +02:00
Christian Couder
0f7f0495a6
t0240: use test_seq instead of seq
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 22:42:41 +02:00
Christian Couder
e6890e1b63
t0240: improve ipfsi()
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 22:33:12 +02:00
Jeromy
9f4c5e9d0a
add some notes on how to hack on go-ipfs
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-03 14:17:49 -04:00
Christian Couder
4cab9fe37e
ipfs-test-lib: fix shellquote() on Mac OS
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 16:06:40 +02:00
Christian Couder
d352b0421b
Add t0015-basic-sh-functions.sh
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 12:27:01 +02:00
rht
32d9bd76f3
sharness: add trickle and chunker test
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-03 09:03:09 +07:00
rht
220b9d22ae
Move test add cat offline into t0040
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-03 08:48:22 +07:00
Juan Benet
7e69146933
Merge pull request #1775 from ipfs/fix/ipns-old-record
...
fix publish fail on prexisting bad record
2015-10-02 18:08:56 -04:00
Jeromy
b34d41e01e
fix publish fail on prexisting bad record
...
dont error out if prexisting record is bad, just grab its sequence number
and continue on with the publish.
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-02 14:59:31 -07:00
Juan Benet
5b2d2ebdd6
Merge pull request #1739 from ipfs/ipns/patches
...
Ipns/patches
2015-10-01 15:55:36 -04:00
Jeromy
3b9ad30005
Addressing comments from CR
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-30 22:50:50 -07:00
Jeromy
e5512b4115
make publish more configurable and add test for repub
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-30 11:03:44 -07:00
Jeromy
e202c6592f
vendor in iptb and kingpin
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-30 11:03:02 -07:00
Jeromy
815a031f59
Implement ipns republisher
...
This commit adds a very basic process that will periodically go through
a list of given ids and republish the values for their ipns entries.
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-29 09:47:47 -07:00
Jeromy
235a9ec5fc
Fix dht queries
...
Queries previously would sometimes only query three (alpha value) peers
before halting the operation. This PR changes the number of peers
grabbed from the routing table to start a query to K.
Dht nodes would also not respond with enough peers, as per the kademlia
paper, this has been changed to from 4 to 'K'.
The query mechanism itself also was flawed in that it would pull all the
peers it had yet to query out of the queue and 'start' the query for
them. The concurrency rate limiting was done inside the 'queryPeer'
method after the goroutine was spawned. This did not allow for peers
receiver from query replies to be properly queried in order of distance.
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-29 09:47:47 -07:00
Jeromy
cfcc3d6a1b
ipns record selection via sequence numbers
...
This commit adds a sequence number to the IpnsEntry protobuf
that is used to determine which among a set of entries for the same key
is the 'most correct'.
GetValues has been added to the routing interface to retrieve a set of
records from the dht, for the caller to select from.
GetValue (singular) will call GetValues, select the 'best' record, and
then update that record to peers we received outdated records from.
This will help keep the dht consistent.
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-29 09:47:41 -07:00
Juan Benet
81c64768c5
Merge pull request #1760 from MichaelMure/missing_new_line
...
Add a new line in the output of ipfs log level
2015-09-27 21:57:16 -04:00