1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-15 19:37:28 +08:00

47 Commits

Author SHA1 Message Date
26574b5345 add net-diag to help message 2014-10-10 13:18:20 -07:00
5c14df0a13 turn logging back off for @jbenet's sanity 2014-10-10 13:18:19 -07:00
77cec59083 actually put diagCmd into the super command so it can be run 2014-10-10 13:18:19 -07:00
280c7e7e06 implement diagnostics service 2014-10-10 13:18:19 -07:00
7652f86c6f fixed a parsing bug on Version.CheckPeriod
And refactored a few names/comments
2014-10-09 20:31:26 -07:00
b60f0d582f Limit update checks to once per configurable time period to avoid HTTP request time delay 2014-10-09 19:59:47 -07:00
8b90071478 Clean up error/warning messages for consistency 2014-10-09 19:59:32 -07:00
98ba0be060 Move versioning/updates stuff to a separate package 2014-10-09 19:59:15 -07:00
9f7dc48201 Add supported Version.Check values as consts 2014-10-09 19:58:51 -07:00
4c167a42e2 Rename config.Updates to config.Version 2014-10-09 19:58:51 -07:00
bd9142f042 Turn on update checker for local nodes 2014-10-09 19:58:19 -07:00
6f033dd7a1 Initialize Updates.check config setting 2014-10-09 19:57:59 -07:00
ecd6f3b00c Add Updates.Check field to Config 2014-10-09 19:57:58 -07:00
ab83c52431 Merge branch 'master' into ipns
Conflicts:
	cmd/ipfs/ipfs.go
2014-10-09 03:46:35 -07:00
ffe2bdceef init SetupLoggers
this is useful so that loggers are all setup during tests
2014-10-08 02:50:42 -07:00
091f6f8516 added getConfig 2014-10-05 17:46:44 -07:00
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
0c8ae7674e loggers: set level 2014-10-04 03:53:21 -07:00
7e1cd59259 initialize loggers at ERROR 2014-10-04 03:36:30 -07:00
d872e0cce5 move publish and resolve under the 'name' subcommand 2014-10-02 22:30:50 +00:00
068c0375f9 bugfix: get to root cmd for config flag 2014-10-02 03:05:05 -07:00
7bf7afb7a9 logging on gen 2014-10-02 03:04:48 -07:00
2bd843123e added command context initialization 2014-10-02 02:49:36 -07:00
aa79f38580 cleanup logging setup.
- should not be on init, because need debug flag
2014-10-01 02:02:48 -07:00
6080944af9 writing files inside ipns works now! also implemented resolve cli command 2014-10-01 00:41:29 -07:00
375a38c5f7 add basic publish command, needs polish 2014-10-01 00:39:57 -07:00
a65e8600a3 catch ipns branch up to master and make all things compile 2014-10-01 00:37:53 -07:00
c41a9717fe make disconnects and reconnects work a little better 2014-10-01 00:26:59 -07:00
da1890e5ef add run command 2014-10-01 00:26:59 -07:00
8eb95faf50 moved http to server/http and implemented serve http subcommand 2014-09-30 22:59:53 +03:00
0427d1efa1 beginnings of an http gateway/api 2014-09-30 22:59:50 +03:00
e311ccbf43 respect the lock file, also cpu profile 2014-09-30 03:22:29 -07:00
e200c089fa Correct style. 2014-09-29 21:54:35 +02:00
7705dfb939 Refactor config file location, add IPFS_CONFIG_DIR
Removed config.Filename and replace it with config.GetConfigFilePath that
takes a configuration directory as argument instead. Makes code simpler.
ipfs.getConfigDir now also return the default configuration dir instead of
an empty string in some cases.
2014-09-29 21:54:35 +02:00
727b6bf9a3 udpated commands and RPC dialing to work with new configuration changes 2014-09-27 16:02:50 -07:00
7bc4fbfa5d turn logging on by default, also make Provide not fail when no peers connected 2014-09-22 19:22:04 -07:00
b053896e5f uncommenting global debug
let's keep this a turn-on for testing sort of thing.
(want the outputs of commands like `ipfs add` to be
usable as inputs to other programs/scripts).

maybe we should consider adding a --debug (not -d),
once we figure out adding flags that apply globally :)
@whyrusleeping
2014-09-22 04:06:17 -07:00
2607bee4d6 Change config flag to accept config dir instead of file path 2014-09-17 06:03:58 +00:00
9e4b8586a9 Add config flag to cmd line interface 2014-09-17 02:49:36 +00:00
7968b45e58 vendor dependencies with godep
dependencies are vendored into Godeps/_workspace and commit versions are
recorded in Godeps.json

update datastore to e89f0511
update go.crypto
2014-09-09 22:39:42 -07:00
aa5a34a6d1 add init command to generate crypto keys 2014-09-02 12:58:35 -07:00
c2cc4b1d70 a little cleanup, ipfs 'works' for basic file adds and cats 2014-08-29 17:22:40 -07:00
691d1b36bb integrate bitswap and blockservice into the core package 2014-08-29 11:34:50 -07:00
639d196a45 linted config 2014-07-31 02:35:17 -07:00
80323ebae8 config: redo to use other serialization functions 2014-07-31 02:32:03 -07:00
20bce47491 ipfs config cmd with git-style get/set
Adds "ipfs config" command designed in git style.
See specific config's values with:

        $ipfs config datastore.path
        ~/.go-ipfs/datastore

Assign a new value with:

        $ipfs config datastore.path ~/.go-ipfs/datastore

Open the config file in your default $EDITOR:

        ipfs config edit
2014-07-31 00:24:41 -07:00
6626e6791b cli -> cmd/ipfs 2014-07-22 02:30:32 -07:00