Commit Graph

7954 Commits

Author SHA1 Message Date
Jeromy Johnson
18a392a084 Merge pull request #3758 from ipfs/fix/ipfs-get-progress
Fix ipfs get progress bar
2017-03-07 15:39:29 -08:00
Jeromy Johnson
88af4b717d Merge pull request #3756 from ipfs/fix/limit-mdag-batch-objs
Limit number of objects in mdag batch to prevent too many fds issue
2017-03-07 15:39:10 -08:00
Jakub Sztandera
bd5b48d0ea
test: added issue number to regression test
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-08 00:12:52 +01:00
Jakub Sztandera
e2ececa4fa
test: fix sharness disk_usage util
on bsd based systems du returns block count not bytes

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-08 00:07:18 +01:00
Jakub Sztandera
afc0e77320
test: skip not necessary var assigment
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-08 00:07:18 +01:00
Jakub Sztandera
0ccb4e82f8
test: make the repo size check error message better
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-08 00:07:18 +01:00
Dominic Della Valle
b29945e791 Windows root parse fix
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2017-03-07 09:10:53 -05:00
Dominic Della Valle
934a073732 Replace OS check
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2017-03-07 09:10:53 -05:00
Jeromy
6a7750d5c2 fix pin add api break
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-07 01:10:46 -08:00
Kevin Atkinson
c83bbafbbc gc: stream all errors including the last
and report "encountered errors during gc run" as the response error

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-07 03:02:28 -05:00
Jeromy
169f7899ba fix progress bar on ipfs get
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 22:59:10 -08:00
Jeromy
b1588c7162 make raw leaves work with 'ipfs get'
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 20:12:05 -08:00
Jeromy
31af335dc0 merkledag: limit number of objects in a batch to prevent out of fd issues
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 19:27:53 -08:00
Jeromy Johnson
e3d483fc7c Merge pull request #3751 from ipfs/feat/sharness/small-clean-p1
test: small cleanup of t0010
2017-03-06 16:43:06 -08:00
Jeromy Johnson
60b94a2c4f Merge pull request #3750 from ipfs/fix/sharness/filestore/format
test: small cleanup to the filestore sharness test
2017-03-06 12:37:28 -08:00
Kevin Atkinson
f338520aa8 gc: add option to stream errors
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:14 -05:00
Kevin Atkinson
401d156596 gc: refactor: CollectResult
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:14 -05:00
Kevin Atkinson
96f8c17b0f gc: return Result instead of two channels
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:14 -05:00
Kevin Atkinson
c709113257 gc: add sharness test script
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:09 -05:00
Kevin Atkinson
d7fa05a707 gc: join multiple errors with "; " instead of a newline
otherwise the daemon will only display the first error

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:09 -05:00
Kevin Atkinson
f1938f3cbd gc: output all errors to a channel
Errors from ColoredSet are now reported as encountered and errors
encountered when deleting blocks are no longer ignored.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>

gc: report errors from ColoredSet as encountered

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:09 -05:00
Kevin Atkinson
70eccb03e0 gc: collect all errors during ColoredSet phase
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:24:47 -05:00
Jakub Sztandera
454085c810
test: small cleanup of t0010
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-06 20:24:43 +01:00
Jeromy Johnson
cbf8a0cdb4 Merge pull request #3748 from ipfs/deps/update-dht
update go-libp2p-kad-dht with getclosestpeers fix
2017-03-06 11:21:38 -08:00
Jakub Sztandera
5a5a65381f
test: small cleanup to the filestore sharness test
you can use the test_debug by calling tests with
`debug=t verbose=t make test/sharness/t0000-xxx.sh

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-06 20:03:36 +01:00
Jeromy Johnson
459ceadc0a Merge pull request #3749 from ipfs/fix/filestore/enabled-check
fix: filestore silently being skipped on add if it wasn't enabled
2017-03-06 10:34:53 -08:00
Jakub Sztandera
ffeef8c9cb
fix: filestore silently being skipped on add if it wasn't enabled
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-06 19:16:01 +01:00
Jeromy Johnson
7c707b062a Merge pull request #3635 from ipfs/feat/bitswap-tx-stats
Add more info to bitswap stat
2017-03-06 00:54:03 -08:00
Jeromy Johnson
ea57c694e6 Merge pull request #3629 from ipfs/feat/filestore0
Implement basic filestore 'no-copy' functionality
2017-03-06 00:53:47 -08:00
Jeromy
332d760f12
Add more info to bitswap stat
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 09:47:53 +01:00
Jeromy
9ec4c25e31 Address CR feedback
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Kevin Atkinson
8082af7988 Use buffered channels in AllKeysChan to increase performance.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 00:37:24 -08:00
Kevin Atkinson
8e1a03dd96 Refactor.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 00:37:24 -08:00
Kevin Atkinson
459a4b3d72 Move block verification into readDataObj.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 00:37:24 -08:00
Jeromy
8fce0c4161 validate data read from fsrefstore
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Jeromy
c18ec9824e add test for deletes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Jeromy
36feaa4b10 fix delete logic
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Jeromy
62d23c0648 skip putting blocks we already have
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Jeromy
e12adeca2b use proper batching for filestore puts
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Jeromy
2884c84343 Implement basic filestore 'no-copy' functionality
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-06 00:37:24 -08:00
Jeromy
4e168dc323 update go-libp2p-kad-dht with getclosestpeers fix
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-05 23:06:04 -08:00
kpcyrd
3c96b09ae7 docker: Automatically fix permissions
This patch is delaying the point where permissions are dropped into the `start_ipfs` script. This way, instead of exiting on permission issues, we can fix them on our own inside the script, then drop privileges and continue doing ipfs specific stuff with the correct user.

I've removed the `chmod 0777` step from the readme since it's not needed anymore.

License: MIT
Signed-off-by: kpcyrd <git@rxv.cc>
2017-03-03 21:10:02 +01:00
Jeromy Johnson
e72deea516 Merge pull request #3742 from ipfs/feat/arch-install
readme: add Arch install instruction
2017-03-02 23:21:35 -08:00
Jakub Sztandera
773f771b5d
readme: add toc of pkg managers
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-02 19:04:04 +01:00
Jakub Sztandera
ad6396e5af
readme: add Arch install instruction
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-02 18:59:41 +01:00
Jeromy Johnson
5ff552cd12 Merge pull request #3700 from ipfs/kevina/enumerate-children-refactor
Refactor EnumerateChildren to avoid need for bestEffort paramater.
2017-03-02 09:22:59 -08:00
Jeromy Johnson
82b021c791 Merge pull request #3728 from ipfs/fix/mount/resolve-name
fix: ipfs mount crashing if there was no name published before
2017-03-02 09:18:39 -08:00
Jeromy Johnson
d2f41e22fe Merge pull request #3725 from ipfs/feat/better-muxer
feat: remove broken spdy multiplexer and enable multiplex by default as second option
2017-03-02 09:15:16 -08:00
Jeromy Johnson
d373e93e4d Merge pull request #3615 from ipfs/feat/metrics/perf
Add multiple performance metrics
2017-03-02 09:14:21 -08:00
Kevin Atkinson
e4bbd246ec Add some documentation on the intended purpose of GetLinks.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-02 05:21:47 -05:00