Commit Graph

178 Commits

Author SHA1 Message Date
Brian Tiger Chow
8d6f2ed0bc chore(main) move logging statement to more appropriate place
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-27 17:06:20 -08:00
Brian Tiger Chow
9e6177ef2e log(main) add log event for executing pre-command hooks
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-25 06:16:39 -08:00
Brian Tiger Chow
b5dc686fda feat(main) create root context
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-25 06:16:39 -08:00
Matt Bell
706ebe8d24 daemon: Set allowed API origins in API_ORIGIN environment variable 2014-11-25 06:12:35 -08:00
Brian Tiger Chow
90ed148209 fix(eventlog) apply settings upon initialization
This commit applies the logging settings to the logging system upon
initialization `ipfs init` and `ipfs daemon --init`.

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-24 16:05:51 -08:00
Brian Tiger Chow
4d497f1c6e refactor(repo) mv ConfigureLogger to repo package
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

Conflicts:
	cmd/ipfs/main.go
2014-11-24 16:05:51 -08:00
Brian Tiger Chow
2c38487eb0 fix(eventlog) configure logging if repo is initialized
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-24 16:05:51 -08:00
Christian Couder
8b8b6ce9e2 Remove dot and slash before files in cmd/ipfs/.gitignore
It looks like files are not ignored when they are listed
starting with ./ in a .gitignore file.

At least this is true for me on Linux for the "ipfs"
binary in "cmd/ipfs/.gitignore".

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-22 21:55:12 +01:00
Jeromy
34da5f039c log formatting (info -> infof) 2014-11-21 03:54:26 +00:00
Juan Batiz-Benet
a1dcbbad80 init: note about addrs 2014-11-20 09:15:48 -08:00
Juan Batiz-Benet
1a5cb300cb config: swarm is list of addrs 2014-11-20 09:14:48 -08:00
Juan Batiz-Benet
43452fdeb7 updated multiaddr + multiaddr-net
I broke out multiaddr/net to its own package so
that multiaddr parsing could remain lean. multiaddr-net
will vendor special implementations of protocols (like utp)
2014-11-20 00:58:48 -08:00
Juan Batiz-Benet
a7d1fd42d8 updating daemon addr output 2014-11-18 08:19:25 -08:00
Brian Tiger Chow
e12edd2053 fix(daemon) ensure IPFS is initialized before starting the daemon
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-18 06:42:44 -08: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
Juan Batiz-Benet
e290b54d9e Merge pull request #351 from jbenet/mount-fixes
Mount, Daemon, and Signal Handler Fixes
2014-11-16 02:40:31 -08:00
Juan Batiz-Benet
4ac6db9a24 ipfs1/mount: text + unmounting 2014-11-16 02:35:13 -08:00
Juan Batiz-Benet
13c390b0b5 fix ipfs1 mount so it will compile 2014-11-16 02:30:29 -08:00
Jeromy
ab805f3382 add in a default file hash and cleaned up init functiona bit 2014-11-15 17:50:05 -08:00
Brian Tiger Chow
67bc9cc89d feat(init) display peer id in init command
use case:

Just configured and installed a node.

benefits:

1) reduces friction when setting up a new node

2) reveals useful details about the workings of the system. It's the
user's first encounter with her node's identity. The tour can build on
the user's knowledge.

```
ipfs (maybebtc-november) λ. ipfs init -f
initializing ipfs node at /Users/btc/.go-ipfs
generating key pair
peer identity: QmcRbn41Vc2CvbpLYfN36mAWusErKWvAAHbq92LPra2gFT
```
2014-11-05 10:15:17 -08:00
Juan Batiz-Benet
c6b74207bc config/init: init Version with CheckPeriod #265 2014-11-04 19:15:25 -08:00
Juan Batiz-Benet
866c2c8915 updates + config: moved location of current version number 2014-11-04 18:58:15 -08:00
Juan Batiz-Benet
3eb43d1cb4 mount: darwin osx fuse check fix
committed my test case accidentally :(
2014-11-01 22:38:13 -07:00
Juan Batiz-Benet
7972f3a7ee fixed osx fuse checks 2014-11-01 22:38:12 -07:00
Jeromy
c7ef55a450 move OSX specific calls to build tagged files 2014-10-31 19:46:42 +00:00
Juan Batiz-Benet
ca1bf26744 check osxfuse version. Fixes #202. 2014-10-31 10:10:12 -07: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
0ee4b3ec77 tour list: left justify 2014-10-26 10:03:38 -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
4f42a26836 fixed --force flag for shutdown after update 2014-10-22 12:42:13 +02: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
7ddf3836d0 implemented manual check and update (with signature verification) 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
65385b37ea fix rm flags 2014-10-22 00:28:41 -07:00
Jeromy
6f750572cd add lock to pinner and rework cli 2014-10-22 00:28:41 -07: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
e989d6febe move IDFromPubKey to peer pkg 2014-10-18 04:28:26 -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