Henry
03e42d8ed4
added TODO about reading from io.Reader arg
2014-10-14 09:57:19 +02:00
Henry
a6630c804f
display key if BlockPut is successful
2014-10-14 00:39:29 +02:00
Henry
073ec11529
fixed BlockGet and cleaned up logging
2014-10-14 00:31:34 +02:00
Henry
08bb6f149f
templates for block commands (updates #138 )
2014-10-13 20:31:14 +02:00
Juan Batiz-Benet
b204c21d10
add plumbing output + logging
...
Fixes #157
Found #158
2014-10-13 02:40:39 -07:00
Juan Batiz-Benet
338b037238
clean up and add inet.Network to bitswap
...
new Service interface
2014-10-10 20:43:04 -07:00
Jeromy
bb84c232e1
make add command use absolute paths and print properly, issue #151
2014-10-10 13:46:51 -07:00
Jeromy
a7b69500b1
address concerns in PR and make log stuff more fun
2014-10-10 13:18:20 -07:00
Jeromy
3732244837
actually start the diagnostics service
2014-10-10 13:18:20 -07:00
Jeromy
96af2a1f81
pretty output
2014-10-10 13:18:20 -07:00
Jeromy
808cf9dfc0
fail with error when running diagnostic in offline mode
2014-10-10 13:18:19 -07:00
Jeromy
d5f0476c1c
implement diagnostics command
2014-10-10 13:18:19 -07:00
Jeromy
280c7e7e06
implement diagnostics service
2014-10-10 13:18:19 -07:00
Juan Batiz-Benet
972c0f7b4b
u.DOut -> log.Debug
...
and other logging switches. I kept the u.PErr and u.POut in cli
commands, as those do need to write raw output directly.
2014-10-09 04:50:22 -07:00
Juan Batiz-Benet
2fa43ce46c
ipfs name cmd improvements
...
- cleaned up cmd help
- ipfs name publish [<name>] <ref>
- ipfs name resolve [<name>]
- publish validates <ref>
- both validate n args
2014-10-09 03:39:47 -07:00
Juan Batiz-Benet
dc6fdd39c5
use encoded (pretty) keys only on fs ds
2014-10-08 14:49:04 -07:00
Jeromy
093c8fb04d
Rework package structure for unixfs and subpackage
...
cc @jbenet
2014-10-08 21:14:18 +00:00
Juan Batiz-Benet
2944360f5c
New NameSystem interface
...
type NameSystem interface {
Resolver
Publisher
}
should say it all.
cc @whyrusleeping
2014-10-08 04:14:52 -07:00
Juan Batiz-Benet
77fccaa2f3
Obviated need for .ID.Pretty() all over the place.
2014-10-06 04:23:55 -07:00
Juan Batiz-Benet
910a76e220
updated multiaddr use across codebase
2014-10-06 04:13:43 -07:00
Jeromy
5592030ed3
working on dag modification structures, factored out the data format into an importer subpackage and added more ipns tests
2014-10-06 03:42:59 +00:00
Jeromy
16e42f82b0
fixed ipns file persistence bug
2014-10-04 22:42:03 +00:00
Jeromy
faaaa2298b
Merge branch 'ipns' of github.com:jbenet/go-ipfs into ipns
2014-10-04 19:26:58 +00:00
Jeromy
25b36d1000
moved mock core node to core package
2014-10-04 19:13:56 +00:00
Juan Batiz-Benet
ee1d1ac078
add: only show added once.
2014-10-04 03:56:12 -07:00
Juan Batiz-Benet
0c8ae7674e
loggers: set level
2014-10-04 03:53:21 -07:00
Juan Batiz-Benet
7e1cd59259
initialize loggers at ERROR
2014-10-04 03:36:30 -07:00
Juan Batiz-Benet
2ce9415c69
+ fs ds + thread safe
2014-10-03 14:45:21 -07:00
Juan Batiz-Benet
88d804e32a
added core logging
2014-10-03 14:45:21 -07:00
Juan Batiz-Benet
f923652d88
remove extra printf
2014-10-02 03:07:52 -07:00
Juan Batiz-Benet
ba510cbd6d
IpnsPublicher -> Publisher interface
2014-10-01 01:36:21 -07:00
Juan Batiz-Benet
b787c705e2
command output nit
2014-10-01 01:28:55 -07:00
Juan Batiz-Benet
1cfb0ffd05
command output nit
2014-10-01 01:28:20 -07:00
Juan Batiz-Benet
14a384d826
pin: add depth arg.
2014-10-01 01:26:48 -07:00
Juan Batiz-Benet
728f17d3c9
cmd/ipfs/pin.go now uses MakeCommand
...
+ added recursive pinning func
2014-10-01 01:17:27 -07:00
Juan Batiz-Benet
7cd9e4db3e
remove merge issue (logger)
2014-10-01 00:45:36 -07:00
Juan Batiz-Benet
f085d594aa
vendoring ipns things
2014-10-01 00:44:22 -07:00
Jeromy
6080944af9
writing files inside ipns works now! also implemented resolve cli command
2014-10-01 00:41:29 -07:00
Jeromy
7f5e13716d
writes to ipns work if the top object is the written file (no directories yet!)
2014-10-01 00:39:57 -07:00
Jeromy
e61c59758b
implement initial ipns filesystem interface as well as plumbing command for publishing
2014-10-01 00:39:57 -07:00
Jeromy
2aa2b8c6c7
add routing resolver test
2014-10-01 00:26:59 -07:00
Jeromy
4c0f18cbbd
implement ipns publisher code
2014-10-01 00:26:59 -07:00
Jeromy
8ddfb57c59
some bugfixes and added logging
2014-10-01 00:26:59 -07:00
Jeromy
b5fd9492d7
fixes to make interface more usable
2014-10-01 00:25:52 -07:00
Jeromy
235a767492
implement namesys resolvers (thanks to bren2010 for dns and proquint)
2014-10-01 00:16:05 -07:00
Juan Batiz-Benet
c7af4a6fa2
Bugfix: !online -> online
...
Caused panic.
2014-09-30 11:34:28 -07:00
Juan Batiz-Benet
c054619827
do init id offline, only dont parse keys
...
(test was failing)
2014-09-30 03:31:24 -07:00
Brian Tiger Chow
508a5b7a94
amendment to core context + cancels
2014-09-30 03:22:30 -07:00
Juan Batiz-Benet
4b5e0291f8
core context + cancels
...
Erroring out in core setup should cancel the context
to ensure subsystems are shut down. This has to happen
all over the place we use contexts.
@perfmode @whyrusleeping
2014-09-30 03:22:30 -07:00
Juan Batiz-Benet
f2db4b77ac
don't load identity in offline mode (temp)
...
**For now**, we don't need to load/parse the private key
(which causes a signficant delay in commands) when doing
things entirely offline. This may change, and in that case
the private key should be loaded on demand.
2014-09-30 03:22:29 -07:00