1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-27 16:07:42 +08:00

8965 Commits

Author SHA1 Message Date
4ba73b805d Merge pull request #4669 from ipfs/extract/posinfo
Extract posinfo package to github.com/ipfs/go-ipfs-posinfo
2018-02-07 12:49:29 -08:00
95daef4ed1 Merge pull request #4664 from ipfs/doc/golint-unixfs
Golint-ify unixfs module
2018-02-07 12:47:57 -08:00
12354cc652 Merge pull request #4665 from ipfs/doc/golint-merkledag
Golint: fix golint warnings in merkledag submodule
2018-02-07 12:40:02 -08:00
f0289e5ccc Merge pull request #4653 from ipfs/fix/4647
document make targets
2018-02-07 12:38:53 -08:00
69497a6144 golint: merkledag_test: reorder imports
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-07 19:27:45 +01:00
5abb3c6025 document test_go_test make target
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-07 09:25:55 -08:00
bb061d615c Extract posinfo package to github.com/ipfs/go-ipfs-posinfo
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-07 13:39:53 +01:00
f4f450d774 Golint: remove extra // in comment
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-07 12:33:58 +01:00
3ec869fee7 Golint: improve unixfs/dagreader.go comments
Per @whys suggestions

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-07 10:07:19 +01:00
d04de00f17 Golint: improve comments in merkledag/errservice.go
Per @kevina's comments

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-07 09:58:43 +01:00
2743dd246f Golint: merkledag: let NewDagService return *dagService
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-07 00:35:35 +01:00
91a9b86442 fix t0086-repo-verify.sh on FreeBSD
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-06 20:35:17 +01:00
576872076c unixfs/mod: use errors.New() for all defined errors
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 19:19:30 +01:00
79baf42e1e Golint: improve io.Find documentation
per @stebalien's comment

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 19:17:59 +01:00
8bb45fda8e Golint: make BufDagReader public
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 19:14:48 +01:00
2d138b056e Golint: fix golint warnings in merkledag submodule
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 17:45:09 +01:00
ca4271b782 Golint: unixfs/io
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 13:50:02 +01:00
f074292e48 Golint: unixfs/mod unixfs/test
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 13:50:02 +01:00
16934b9c68 Golint: unixfs/hamt
Note, stuttering required renaming of HamtShard to Shard.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 13:50:02 +01:00
694ab67952 Golint: unixfs/archive
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 12:43:13 +01:00
16a54a8561 Golint: unixfs main module
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 12:05:41 +01:00
ffcdb4eec9 fix type error in ulimit_test.go on FreeBSD
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-05 21:07:20 +01:00
b37f856513 Merge pull request #4651 from djdv/doc/typo
Fix typo in template
2018-02-05 12:02:17 -08:00
56509a7a7a Merge pull request #4575 from ipfs/feat/coreapi/pin
coreapi: Pin API
2018-02-04 17:49:28 -08:00
242c98f44f coreapi: update after rebase
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-04 15:29:50 +01:00
5ea9a3cde2 coreapi: pin tests
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-04 15:29:50 +01:00
c8cfed5c84 coreapi: implement pin api
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-04 15:29:50 +01:00
064c194b4f coreapi: pin draft
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-04 15:29:50 +01:00
0e8fc8ffc8 remove useless make target
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-04 15:11:09 +01:00
30b8fa06bb document make targets
fixes #4647

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-02-04 15:11:09 +01:00
bd32e73dbd Fix typo in template
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-02-04 05:32:25 -05:00
52301ce841 Merge pull request #4578 from ipfs/feat/datastore-gc
Make repo gc call CollectGarbage on datastore
2018-02-03 23:38:08 -08:00
038ed8f666 blockservice: add BlockedFetched/Added/Removed events
... and remove a few log lines that don't seem terribly useful.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2018-02-04 04:28:57 +01:00
864c960aa6 Merge pull request #4632 from ipfs/fix/windows-tests
Fix go test on Windows
2018-02-03 18:16:46 -08:00
30d4eaa067 address code review
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2018-02-04 01:58:09 +01:00
189c905f40 fix linting
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2018-02-04 01:52:49 +01:00
eeb15db140 Move files.go out of its own directory.
It is a single file so putting it in its own package is a bit of an
overkill.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-02-04 01:52:49 +01:00
cac995e704 cleaning
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2018-02-04 01:52:49 +01:00
8fd6fdb385 add tests for ipfs files stat --with-local
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2018-02-04 01:51:37 +01:00
69b8383e1c add a --with-local option to ipfs files stat
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2018-02-04 01:51:37 +01:00
d716a93fae ipfs files stat: use go-ipfs-cmds
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2018-02-04 01:51:37 +01:00
53c42fc4d3 ipfs files: use go-ipfs-cmds
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2018-02-04 01:51:37 +01:00
d7aa2f7da3 expose vlogFileSize in badgerds config
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-04 01:16:06 +01:00
04e43b855b make repo gc call CollectGarbage on datastore
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-04 01:16:06 +01:00
dcfcfc5e8e "fix" routing/mock tests on windows
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-04 01:12:53 +01:00
2b6641dbd0 disable perm check in serialize_test.go/TestConfig on windows
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-04 01:10:43 +01:00
f1c4df8999 fix pin test on windows
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-04 01:10:43 +01:00
d399cdfec9 disable some tests on windows
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-04 01:10:43 +01:00
6d28f8f85c fix test data on windows
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-04 01:10:43 +01:00
d58da74746 Merge pull request #4548 from ipfs/feat/coreapi/block
coreapi: Block API
2018-02-03 15:38:11 -08:00