1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-05-20 16:36:46 +08:00

144 Commits

Author SHA1 Message Date
d39d9ed60b gc: address CR comments
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-20 14:46:02 -04:00
f66ca2ff24 gc: continue to use cmds.ChannelMarshaler
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-18 21:30:32 -04: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
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
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
b4eeff2d84 update go-multihash and bubble up deps
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-12 12:25:41 -08:00
9843e86258 Changed so only explicit ipfs cli commands are lowercased
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-10-27 22:55:13 -07:00
9aaa743a51 docs: decapitalize IPFS where possible
Tried to check all instances of IPFS and make sure they werent referring to the CLI tool. See #2910.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-10-27 22:54:36 -07:00
282bdc4816 cid: integrate cid into bitswap and blockstores
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-08 12:14:58 -07:00
1f9ec4e3ed update to libp2p 4.0.1 and propogate other changes
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-05 22:12:43 -07:00
dfc58c791d blockstore: rename RuntimeHashing to HashOnRead
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-29 21:53:40 +02:00
1d6a47bf93 Make all Taglines use imperative mood
License: MIT
Signed-off-by: Jesse Weinstein <jesse@wefu.org>
2016-08-04 16:45:59 -07:00
a3bd3bc364 Automatically download and run migrations if needed
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-19 06:50:00 -07:00
a98dff6275 make repo verify work with running daemon
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-06 22:12:31 -07:00
d13befe9ef add a test for repo verify, and make it return non-zero code on failure
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-05 14:58:48 -07:00
c53154cd2b add repo verify command
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-07-05 14:58:48 -07:00
7517bb393b fixing bad rebase
License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>
2016-06-03 13:20:32 -07:00
74e701d852 Add period to helptext
License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>
2016-06-03 13:05:45 -07:00
cd0a33c7c2 Adds repo version subcommand
Fixes #2571

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>
2016-06-03 13:05:45 -07:00
234afc8888 Adds repo version info to repo stat command
addresses #2571

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>
2016-06-03 13:03:40 -07:00
f52050de80 Added Default false to all remaining options
Specifically, to `repo`, `resolve`, `swarm`, and `version`. Part of #2484.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-12 12:02:47 -04:00
ae235caaec Added a period to repo fsck
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-04-28 17:07:46 -04:00
46bcdce15d commands: repo fsck (#2597)
* Adds repo fsck subcommand

Fixes #2457

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>

* Checks for error on file deletion

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>

* Checks if node is online

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>

* Update error checking

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Prevents command from running while daemon is running

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Add newline to command output message

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* removing superfluous error

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Adds sharness test for repo fsck command

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Ignore warning if file doesn't exist

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Updating message output

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* adding debug statements

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* update and add fsck sharness tests

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* updating comments

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Use printf in test

Using printf prevents a newline from being printed to the api test file. When
the newline was present, multiaddr threw errors  trying to parse the api address
to an integer since the newline character was present.

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* updating tests

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* removing commented code

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>
2016-04-27 13:28:53 -07:00
cd20618458 Small syntax changes to repo stat man
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-04-19 11:40:50 -04:00
c10e329b78 repo-stat
License: MIT
Signed-off-by: David Dias <daviddias.p@gmail.com>
2016-03-04 23:45:03 +00:00
288f7bc621 Humanize byte size
License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-03-02 08:08:22 +00:00
f988a54c1b repo stat: add Type
License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-03-02 08:07:56 +00:00
bb9904bde1 repo: add ipfs repo stat command
License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-03-02 08:07:56 +00:00
d7dab3afea Use gx vendored go-ipfs-utils where possible
For the rest of the packages in util, move them to thirdparty
and update the references. util is gone!

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-12 17:21:40 -08:00
28fe2e4f4c Capitalized beginning of line messages, added periods
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-01-24 22:39:34 +00:00
rht
21e39240ab Fix punc-caps issues of cli Tagline
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2016-01-22 02:36:17 +07:00
206739d10c allow channel marshaler to return errors from cmds.Response
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-04 14:12:19 -07:00
bb3a75aa08 remove context from context
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-20 20:53:06 -07:00
rht
3547f7ae33 Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
bf22aeec0a Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs
- Modified Godeps/Godeps.json by hand
- [TEST] Updated welcome docs hash to sharness
- [TEST] Updated contact doc
- [TEST] disabled breaking test (t0080-repo refs local)
2015-03-31 12:52:25 -07:00
d738a02428 rename GarbageCollectAsync method
corerepo package name provides sufficient context (even if renamed by
caller)
2015-01-24 01:32:28 -08:00
d5e4c6a0bf move core/repo to core/corerepo 2015-01-24 01:32:27 -08:00
7b4de230eb commands: Refactored Command#Run function signature to (req Request, res Response) 2015-01-23 18:29:29 -08:00
8e7d984751 updates from PR, tests tests tests! 2015-01-21 08:55:50 +00:00
4de881a185 move GC code into core/repo, and add sharness test 2015-01-21 04:28:02 +00:00
b91db68056 update pinning to new semantics, and fix a couple bugs 2015-01-21 04:28:01 +00:00
f0781d8119 initial implementation of repo-gc command 2015-01-21 04:28:01 +00:00