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
Peter Borzov
ecd6f3b00c
Add Updates.Check field to Config
2014-10-09 19:57:58 -07:00
Juan Batiz-Benet
ab83c52431
Merge branch 'master' into ipns
...
Conflicts:
cmd/ipfs/ipfs.go
2014-10-09 03:46:35 -07:00
Juan Batiz-Benet
ffe2bdceef
init SetupLoggers
...
this is useful so that loggers are all setup during tests
2014-10-08 02:50:42 -07:00
Juan Batiz-Benet
091f6f8516
added getConfig
2014-10-05 17:46:44 -07:00
Siraj Ravel
a2c2c48773
Implement ipfs bootstrap command.
...
This set of commits implements the bootstrap commands,
following from the description in #117
2014-10-05 17:18:42 -07:00
Juan Batiz-Benet
0c8ae7674e
loggers: set level
2014-10-04 03:53:21 -07:00