Commit Graph

4802 Commits

Author SHA1 Message Date
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
Michael Muré
f9af496ae8 Add a new line in the output of ipfs log level
License: MIT
Signed-off-by: Michael Muré <mure.michael@gmail.com>
2015-09-27 19:08:23 +02:00
Juan Benet
0020918465 Merge pull request #1759 from rht/cleanup-coreunix
Cleanup coreunix cat
2015-09-27 10:49:22 -04:00
rht
a7f43de5f2 Cleanup coreunix cat
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-09-27 17:13:34 +07:00
Juan Benet
ce20cf9954 Merge pull request #1755 from sroerick/patch-1
added docker file permission instructions.
2015-09-27 04:11:02 -04:00
Roerick Sweeney
4a0725fe2e added docker file permission instructions again
I screwed up my initial commit, so here goes again. That's what i get for using the github gui...

I added the instructions to make the ipfs_data and ipfs_staging globally readable, which prevents permission errors.

It may be better to limit permissions in some way, to prevent potential security risks.

License: MIT
Signed-off-by: sroerick sweeney@roerick.me
2015-09-27 02:06:53 -06:00
Juan Benet
a26ad22434 Merge pull request #1757 from ipfs/shell-quote
ipfs-test-lib: add shellquote()
2015-09-27 03:29:37 -04:00
Christian Couder
1bd182055b ipfs-test-lib: add shellquote()
This function can be usefull in many places.

See for example:

https://github.com/ipfs/go-ipfs/pull/1742

Git has `git rev-parse --sq-quote` that does the same thing.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-09-27 09:11:25 +02:00
Juan Benet
08e06764c8 Merge pull request #1742 from ipfs/test/gz
Sharness: add test for compression level
2015-09-26 18:36:36 -04:00
sroerick
279328c26b added docker file permission instructions. 2015-09-25 19:59:32 -06:00
Juan Benet
7244c0443a Merge pull request #1743 from ipfs/dht-key-escape
allow for dht keys to be escaped
2015-09-25 19:54:05 -04:00
Juan Benet
4ac2c46c6a Merge pull request #1752 from ipfs/feat/stat-count
allow bitswap stat to return total number of bytes wasted
2015-09-25 18:51:31 -04:00
Juan Benet
d3b873ccca Merge pull request #1753 from ipfs/fix/api-file
write correct address to api file
2015-09-25 18:43:41 -04:00
Jeromy
c3e72377b2 write correct address to api file
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-25 15:34:54 -07:00
Jeromy
0c7421643d allow bitswap stat to output wasted bytes
bitswap stat can now track bytes that are wasted by receiving duplicate
blocks.

ps, gitcop smells

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-25 14:40:46 -07:00
Juan Benet
5b9811371c Merge pull request #1749 from mjanczyk/master
Fix #1661 IPFS crashes on windows after first run
2015-09-25 16:07:37 -04:00
Juan Benet
7ba85c6ee0 Merge pull request #1732 from WeMeetAgain/fix-http-api-content-type
remove hard-coded json content-type for streaming http output
2015-09-25 16:07:05 -04:00
Marcin Janczyk
20908b3072 Detect connection refused errors during API test on Windows
The first run does not try to connect to API, as an address is not
yet saved in configuration. The second run did not recognize
corrently a refused connection.

Fixes #1661.

License: MIT
Signed-off-by: Marcin Janczyk <marcinjanczyk@gmail.com>
2015-09-25 08:37:10 +02:00
Cayman Nava
9634b25b63 remove hard-coded json content-type for streaming http output
There was a stale assumption that streaming output from a channel would
always be json.
This commit removes that code, allowing Content-Type to appropriately be
set like other, non-channel-streaming commands.

License: MIT
Signed-off-by: Cayman Nava <caymannava@gmail.com>
2015-09-24 19:13:29 -07:00
Juan Benet
ce11ed5e23 Merge pull request #1745 from ipfs/doc/patch-data
document the set-data and append-data commands in patch
2015-09-24 17:39:51 -04:00
Jeromy
2492f0cb38 document the set-data and append-data commands in patch
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-24 12:43:37 -07:00
Jeromy
d01ee1111f better parsing logic for dht keys containing prefixes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-24 09:27:00 -07:00
rht
43dbd1cdb9 Sharness: add test for compression level
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-09-23 19:08:26 +07:00
Juan Benet
9c6ec296e3 Merge pull request #1704 from klauspost/use-compression-level
Fix gzip compression level not being set.
2015-09-23 04:19:54 -07:00
Richard Littauer
e812abbc66 Merge pull request #1734 from ipfs/feature/contribute-md
Added a Contribute file
2015-09-21 14:10:03 -04:00
Richard Littauer
3501aff032 Added a Contribute file
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2015-09-21 14:07:58 -04:00
Juan Benet
c6166e5aa0 Merge pull request #1622 from ipfs/feat/rm-worker
dont need blockservice workers anymore
2015-09-16 01:52:58 -04:00
Jeromy
63f72a5155 remove context from HasBlock, use bitswap process instead
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-15 17:53:42 -07:00
Jeromy
47b85c7bc3 dont need blockservice workers anymore
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-15 17:53:26 -07:00
Juan Benet
889603f11f Merge pull request #1709 from ipfs/godep-update
Godep update
2015-09-15 20:48:02 -04:00
Jeromy
35a5ca0ef5 update go-datastore to latest
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-15 17:15:29 -07:00
Jeromy
973c5fa0a4 update go-peerstream to newest version
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-15 16:09:23 -07:00
Juan Benet
c77a96fef8 Merge pull request #1703 from Luzifer/signals
Use exec to start IPFS daemon
2015-09-15 18:20:53 -04:00
Juan Benet
46e888bdfc Merge pull request #1701 from ipfs/feat/extract-logging
extract logging
2015-09-15 13:05:31 -04:00
klauspost
4b81d9e85e Fix gzip compression level not being set.
If "compression-level" is set, the compression is set to gzip.Nocompression.

License: MIT
Signed-off-by: Klaus Post <klauspost@gmail.com>
2015-09-15 12:12:11 +02:00
Knut Ahlers
1cdafc7146 Use exec to start IPFS daemon
This incorporates feedback from @RX14 in #1685 and might fix #1537 as the ipfs daemon would get the stop signal from the docker daemon... Maybe that way it stops in a cleaner manner...

License: MIT
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2015-09-15 11:30:20 +02:00
Juan Benet
df861afccc Merge pull request #1672 from ipfs/feat/unwant
implement unwant command to remove blocks from wantlist
2015-09-15 00:57:57 -04:00
Jeromy
e5a2896c0e extract logging
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-14 17:35:50 -07:00
Jeromy
6c02259a5f add a basic test for unwant
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-14 15:26:09 -07:00
Juan Benet
ae1e45234d Merge pull request #1699 from Luzifer/notify_dockerhub
Fix: Use the right repo to encrypt secrets.
2015-09-14 13:54:59 -04:00
Knut Ahlers
5649c7eb4d Fix: Use the right repo to encrypt secrets.
refs #1698

License: MIT
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2015-09-14 19:44:28 +02:00
Juan Benet
495827b70d Merge pull request #1698 from Luzifer/notify_dockerhub
Added dockerhub trigger
2015-09-14 11:13:41 -04:00
Knut Ahlers
8b6d2b4c69 Added dockerhub trigger
License: MIT
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2015-09-14 17:10:12 +02:00
Juan Benet
a56c9b7888 Merge pull request #1696 from ipfs/gardening
Remove dead jenkins script, update AUTHORS
2015-09-13 23:42:09 -04:00
Lars Gierth
d5c7a36c98 docs: update authors list
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-09-14 01:49:11 +02:00
Lars Gierth
6658775e1a Remove dead jenkins script
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-09-14 01:48:56 +02:00
Juan Benet
d2d397ac7b Merge pull request #1695 from ipfs/fix/ipns-fuse-tests
dont use coremock for fuse tests
2015-09-13 19:08:43 -04:00
Juan Benet
e2f60c786f Merge pull request #1694 from rht/fix/tar
Fix t0090 tar&gz unexpected EOF error
2015-09-13 19:06:52 -04:00
Jeromy
192ee64338 dont use coremock for fuse tests
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-13 12:37:34 -07:00