Commit Graph

63 Commits

Author SHA1 Message Date
Jeromy
ce223eef61 some small cleanup of logging 2014-11-01 16:07:56 -07:00
Jeromy
ae339a0320 remove dagwriter in favor of new importer function 2014-10-31 05:03:42 +00:00
Brian Tiger Chow
cea398b8a7 fix(all) log.Debug -> log.Debugf 2014-10-30 06:35:29 -07:00
Juan Batiz-Benet
b5fc3caea3 cmd/add: output file hash Fixed #239 2014-10-30 06:15:23 -07:00
Juan Batiz-Benet
70e1f9b6bc make vendor
cc @whyrusleeping
2014-10-30 05:43:14 -07:00
Jeromy
71ac117546 Address concerns in PR 2014-10-30 06:23:31 +00:00
Jeromy
18ada93ec3 rewrite add command to use dagwriter, moved a pinner into the dagwriter for inline pinning 2014-10-30 04:40:48 +00:00
Jeromy
87407a99b9 add context to blockservice Get 2014-10-25 12:38:32 -07:00
Juan Batiz-Benet
184c25430b go-vet friendly codebase
- distinguish log.Error and log.Errorf functions
- Initialize structs with field names
- A bit of unreachable code (defers)
2014-10-25 03:46:39 -07:00
Henry
4f42a26836 fixed --force flag for shutdown after update 2014-10-22 12:42:13 +02:00
Henry
3e40788188 updateApply: force shutdown check on daemon (TODO: force flag in cli) 2014-10-22 11:25:30 +02:00
Henry
cb73ea7ba4 removed duplicate logic 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
Jeromy
3ee3c44d7c flush! 2014-10-22 00:28:42 -07:00
Jeromy
31b0ff0307 add testing for pins 2014-10-22 00:28:41 -07:00
Juan Batiz-Benet
9ca87fbb93 peer.Peer is now an interface
![](http://m.memegen.com/77n7dk.jpg)
2014-10-20 03:26:46 -07:00
Juan Batiz-Benet
9e3bfa28bb Merge pull request #185 from cryptix/cmdObjects
object plumbing commands
2014-10-19 16:58:47 -07:00
Henry
468494e5e5 break with ErrObjectTooLarge 2014-10-19 17:07:03 +02:00
Henry
bc38bdf512 limit raw input to 512 kilobytes 2014-10-19 16:57:12 +02:00
Henry
2276b55c57 no links, no error 2014-10-19 16:52:45 +02:00
Jeromy
4189d50d77 fix bug in diagnostics, and add more peers to closer peer responses 2014-10-18 04:28:25 -07:00
Henry
e735addbb2 object plumbing commands 2014-10-18 04:35:12 +02:00
Henry
e4da27a2a5 implemented ipfs log command 2014-10-15 13:34:38 +02:00
Henry
3455846b35 add log command 2014-10-15 13:18:00 +02:00
Henry
98d9df544f remove utils.PErr() 2014-10-15 13:17:04 +02:00
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
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
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
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
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
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
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
f923652d88 remove extra printf 2014-10-02 03:07:52 -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