Commit Graph

85 Commits

Author SHA1 Message Date
keks
8e5fbe9aa1 update go-ipfs-cmds to 0.4.11
to include @frist's uuid logging

License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-22 19:06:00 +01:00
Steven Allen
76e1da02a8 gx: massive update
Note: This commit is technically broken. However, I need to make a bunch of
cmds changes to make this work and I'd rather not bundle both changes into a
single commit.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-11-20 22:20:27 -08:00
keks
d95a87cf57 update to go-ipfs-cmds 0.4.9
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-17 15:22:42 +01:00
keks
0d9d21875c compatible to js-ipfs-api
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-17 15:22:42 +01:00
Jan Winkelmann
f287524949 cmd: use go-ipfs-cmds
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-17 15:22:41 +01:00
zramsay
c5df8f0796 apply the megacheck tool to improve code quality
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-05-31 16:56:11 -04:00
Jakub Sztandera
d1b5a4bce1 Require diag command to run on daemon
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-25 14:04:43 +02:00
Jakub Sztandera
86425ef8f8 Make ipfs config edit run on client
Fixes #2649

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-17 16:02:48 +02:00
michael
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
Jeromy
f3f776067a remove old update code
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:22:55 -08:00
Jeromy
11104d401e system diagnostics command
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-18 19:50:15 -07:00
rht
8cad2d2c89 Move 'tour' to core/commands
Side effect: this makes 'tour' accessible through the HTTP API
2015-05-26 21:04:03 +07:00
rht
ac7edddb94 Run 'gofmt -s -w' on these files 2015-05-19 06:11:15 +07:00
Ho-Sheng Hsiao
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
Juan Batiz-Benet
5aaa45db9a transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
Juan Batiz-Benet
ad3f3e003f removed old commands files
https://www.youtube.com/watch?v=kyFyAqLtHq8
2014-11-18 06:15:00 -08:00
Brian Tiger Chow
7510ef2081 feat(cmd/ipfs1) add mem profiling in debug mode
TODO add memory profiling to ipfs2
2014-10-29 18:24:32 -07:00
Brian Tiger Chow
1e847059bc style(cmd/ipfs/pprof) move defer close to initialization 2014-10-29 18:24:32 -07:00
Juan Batiz-Benet
6f7bab389e tour: command 2014-10-26 08:32:08 -07:00
Juan Batiz-Benet
d8eb8b1191 ipfs cmd help now shows update
+ reorder of plumbing
2014-10-22 15:22:01 -07:00
Henry
0a0c38fb91 using @jbenet's industrial lipstick to clean this up 2014-10-22 11:25:30 +02:00
Henry
0115d1e0de respect cfg.Version.Check 2014-10-22 11:25:30 +02:00
Henry
cb73ea7ba4 removed duplicate logic 2014-10-22 11:25:30 +02:00
Henry
81f84d6cea updated error messages and explicit import names 2014-10-22 11:25:30 +02:00
Henry
8d41021b89 check AutoUpdate settings and apply 2014-10-22 11:25:30 +02:00
Henry
5fa3053e19 added command stubs 2014-10-22 11:24:34 +02:00
Henry
2806260f5c use inconshreveable's go-update to check for updates 2014-10-22 11:24:34 +02:00
Jeromy
31b0ff0307 add testing for pins 2014-10-22 00:28:41 -07:00
Juan Batiz-Benet
9e3bfa28bb Merge pull request #185 from cryptix/cmdObjects
object plumbing commands
2014-10-19 16:58:47 -07:00
Juan Batiz-Benet
d2671afd66 command help spacing 2014-10-18 04:28:23 -07:00
Henry
02659c68b6 fix IPFS_DEBUG (was set after SetupLogging) 2014-10-18 12:03:47 +02:00
Henry
e735addbb2 object plumbing commands 2014-10-18 04:35:12 +02:00
Henry
0631a39492 cleaned up SetupLogging() 2014-10-15 14:23:54 +02:00
Henry
ea76b66b7f output these errors directly to the user 2014-10-15 14:00:03 +02:00
Henry
3455846b35 add log command 2014-10-15 13:18:00 +02:00
Henry
c98b0e83b4 use log.Error() config.PathRoot() and CmdIpfs.Dispatch() err 2014-10-15 13:18:00 +02:00
Henry
a269e46017 fix setupCmdContext() for subcommands (fixes #163) 2014-10-14 10:49:01 +02:00
Henry
08bb6f149f templates for block commands (updates #138) 2014-10-13 20:31:14 +02:00
Jeromy
26574b5345 add net-diag to help message 2014-10-10 13:18:20 -07:00
Jeromy
5c14df0a13 turn logging back off for @jbenet's sanity 2014-10-10 13:18:19 -07:00
Jeromy
77cec59083 actually put diagCmd into the super command so it can be run 2014-10-10 13:18:19 -07:00
Jeromy
280c7e7e06 implement diagnostics service 2014-10-10 13:18:19 -07:00
Juan Batiz-Benet
7652f86c6f fixed a parsing bug on Version.CheckPeriod
And refactored a few names/comments
2014-10-09 20:31:26 -07:00
Peter Borzov
b60f0d582f Limit update checks to once per configurable time period to avoid HTTP request time delay 2014-10-09 19:59:47 -07:00
Peter Borzov
8b90071478 Clean up error/warning messages for consistency 2014-10-09 19:59:32 -07:00
Peter Borzov
98ba0be060 Move versioning/updates stuff to a separate package 2014-10-09 19:59:15 -07:00
Peter Borzov
9f7dc48201 Add supported Version.Check values as consts 2014-10-09 19:58:51 -07:00
Peter Borzov
4c167a42e2 Rename config.Updates to config.Version 2014-10-09 19:58:51 -07:00
Peter Borzov
bd9142f042 Turn on update checker for local nodes 2014-10-09 19:58:19 -07:00
Peter Borzov
6f033dd7a1 Initialize Updates.check config setting 2014-10-09 19:57:59 -07:00