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

110 Commits

Author SHA1 Message Date
338b037238 clean up and add inet.Network to bitswap
new Service interface
2014-10-10 20:43:04 -07:00
bb84c232e1 make add command use absolute paths and print properly, issue #151 2014-10-10 13:46:51 -07:00
a7b69500b1 address concerns in PR and make log stuff more fun 2014-10-10 13:18:20 -07:00
3732244837 actually start the diagnostics service 2014-10-10 13:18:20 -07:00
96af2a1f81 pretty output 2014-10-10 13:18:20 -07:00
808cf9dfc0 fail with error when running diagnostic in offline mode 2014-10-10 13:18:19 -07:00
d5f0476c1c implement diagnostics command 2014-10-10 13:18:19 -07:00
280c7e7e06 implement diagnostics service 2014-10-10 13:18:19 -07:00
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
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
dc6fdd39c5 use encoded (pretty) keys only on fs ds 2014-10-08 14:49:04 -07:00
093c8fb04d Rework package structure for unixfs and subpackage
cc @jbenet
2014-10-08 21:14:18 +00:00
2944360f5c New NameSystem interface
type NameSystem interface {
      Resolver
      Publisher
    }

should say it all.

cc @whyrusleeping
2014-10-08 04:14:52 -07:00
77fccaa2f3 Obviated need for .ID.Pretty() all over the place. 2014-10-06 04:23:55 -07:00
910a76e220 updated multiaddr use across codebase 2014-10-06 04:13:43 -07:00
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
16e42f82b0 fixed ipns file persistence bug 2014-10-04 22:42:03 +00:00
faaaa2298b Merge branch 'ipns' of github.com:jbenet/go-ipfs into ipns 2014-10-04 19:26:58 +00:00
25b36d1000 moved mock core node to core package 2014-10-04 19:13:56 +00:00
ee1d1ac078 add: only show added once. 2014-10-04 03:56:12 -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
2ce9415c69 + fs ds + thread safe 2014-10-03 14:45:21 -07:00
88d804e32a added core logging 2014-10-03 14:45:21 -07:00
f923652d88 remove extra printf 2014-10-02 03:07:52 -07:00
ba510cbd6d IpnsPublicher -> Publisher interface 2014-10-01 01:36:21 -07:00
b787c705e2 command output nit 2014-10-01 01:28:55 -07:00
1cfb0ffd05 command output nit 2014-10-01 01:28:20 -07:00
14a384d826 pin: add depth arg. 2014-10-01 01:26:48 -07:00
728f17d3c9 cmd/ipfs/pin.go now uses MakeCommand
+ added recursive pinning func
2014-10-01 01:17:27 -07:00
7cd9e4db3e remove merge issue (logger) 2014-10-01 00:45:36 -07:00
f085d594aa vendoring ipns things 2014-10-01 00:44:22 -07:00
6080944af9 writing files inside ipns works now! also implemented resolve cli command 2014-10-01 00:41:29 -07:00
7f5e13716d writes to ipns work if the top object is the written file (no directories yet!) 2014-10-01 00:39:57 -07:00
e61c59758b implement initial ipns filesystem interface as well as plumbing command for publishing 2014-10-01 00:39:57 -07:00
2aa2b8c6c7 add routing resolver test 2014-10-01 00:26:59 -07:00
4c0f18cbbd implement ipns publisher code 2014-10-01 00:26:59 -07:00
8ddfb57c59 some bugfixes and added logging 2014-10-01 00:26:59 -07:00
b5fd9492d7 fixes to make interface more usable 2014-10-01 00:25:52 -07:00
235a767492 implement namesys resolvers (thanks to bren2010 for dns and proquint) 2014-10-01 00:16:05 -07:00
c7af4a6fa2 Bugfix: !online -> online
Caused panic.
2014-09-30 11:34:28 -07:00
c054619827 do init id offline, only dont parse keys
(test was failing)
2014-09-30 03:31:24 -07:00
508a5b7a94 amendment to core context + cancels 2014-09-30 03:22:30 -07:00
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
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
9c221719f9 switch over to using a lock file for daemon connections 2014-09-30 03:20:15 -07:00
727b6bf9a3 udpated commands and RPC dialing to work with new configuration changes 2014-09-27 16:02:50 -07:00
e6b96b9c75 ammend tests with changes 2014-09-26 02:41:46 -07:00
53f0b117f5 update net with peerstore 2014-09-26 02:41:46 -07:00
303ebd894d config: changed language from Peers to Bootstrap 2014-09-24 05:31:25 -07:00