1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 09:59:13 +08:00

7469 Commits

Author SHA1 Message Date
0e2e627f71 Merge pull request #3776 from ipfs/fix/make-symlinked
make: fix build when symlinked into GOPATH
2017-03-11 12:34:27 -08:00
7a7545c06d Ipfs 0.4.7-rc1, Changelog and version bump
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-10 23:23:38 -08:00
b54df01dbe make: fix build when symlinked into GOPATH
In workspace setups that have the source tree symlinked into GOPATH,
the `go list `command wouldn't recognize that we're technically within GOPATH,
because `pwd` doesn't look like it.

For example

	/home/user/go/src/github.com/ipfs/go-ipfs
	=> /home/user/go/ipfs/go-ipfs

produces the import path

	_/home/user/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-random/random

which is not within GOPATH.

We get around this by using fully-qualified import paths instead:
starting in github.com/ipfs/go-ipfs/ instead of ./

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-03-11 04:15:09 +01:00
eecc766327 Merge pull request #3328 from djdv/win-driveroot-fix
add: [Windows] Drive root parse fix
2017-03-10 14:46:04 -08:00
56bbcc9f16 Merge pull request #3774 from ipfs/feat/docs/80-chars
Add 80 columns mans tests
2017-03-10 14:42:38 -08:00
05d35d19fd Merge pull request #3770 from ipfs/feat/add/superquiet
Add ipfs add --quieter
2017-03-10 14:41:07 -08:00
5489025210 test: add test for checking if commands mans lengths are shorter than 80
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-10 19:05:34 +01:00
2317ced4aa test: fix commands tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-10 19:05:34 +01:00
40cc4dc024 test: add test for ipfs add --quieter
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-10 14:21:54 +01:00
38fc8131bf feat: add quieter option to add
It disables all outputs apart from the last hash.
Useful for adding directories as you won't have to do `| tail -1`

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

DRY up

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-10 14:21:50 +01:00
1fb3b68f28 Merge pull request #3768 from ipfs/fix/cmd/get-empty-panic
fix: ipfs get panic with empty API call
2017-03-09 14:49:42 -08:00
66cc2f2e88 fix: ipfs get panic with empty API call
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-09 15:42:15 +01:00
0d6640434b Merge pull request #3765 from ipfs/test/filestore/more-decriptive
test: fix 'disk_usage' returning number smaller by factor of 512 on BSD and Darvin
2017-03-08 20:16:07 -08:00
74afd87986 Merge pull request #3760 from ipfs/fix/pin-add-api
fix pin add api break
2017-03-07 16:27:23 -08:00
eca0d1c734 Merge pull request #3757 from ipfs/fix/get-raw-leaves
make raw leaves work with 'ipfs get'
2017-03-07 15:40:18 -08:00
18a392a084 Merge pull request #3758 from ipfs/fix/ipfs-get-progress
Fix ipfs get progress bar
2017-03-07 15:39:29 -08:00
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
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
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
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
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
b29945e791 Windows root parse fix
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2017-03-07 09:10:53 -05:00
934a073732 Replace OS check
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2017-03-07 09:10:53 -05:00
6a7750d5c2 fix pin add api break
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-07 01:10:46 -08:00
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
169f7899ba fix progress bar on ipfs get
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 22:59:10 -08:00
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
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
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
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
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
401d156596 gc: refactor: CollectResult
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:14 -05:00
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
c709113257 gc: add sharness test script
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:09 -05:00
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
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
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
454085c810 test: small cleanup of t0010
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-06 20:24:43 +01:00
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
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
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
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
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
ea57c694e6 Merge pull request #3629 from ipfs/feat/filestore0
Implement basic filestore 'no-copy' functionality
2017-03-06 00:53:47 -08:00
332d760f12 Add more info to bitswap stat
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 09:47:53 +01:00
9ec4c25e31 Address CR feedback
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
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
8e1a03dd96 Refactor.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 00:37:24 -08:00
459a4b3d72 Move block verification into readDataObj.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 00:37:24 -08:00
8fce0c4161 validate data read from fsrefstore
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00