1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-05-21 08:56:37 +08:00

29 Commits

Author SHA1 Message Date
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