1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-17 04:29:52 +08:00

47 Commits

Author SHA1 Message Date
15b181ffe2 return early from add PostRun if error is set 2015-02-19 13:52:30 -08:00
140c70d772 document some packages 2015-02-10 22:59:10 +00:00
1ad5b345b8 core/commands: add: Added -w/--wrap-with-directory option 2015-02-02 10:07:35 -08:00
5706471897 commands: Made PostRun signature match Run 2015-01-23 18:29:31 -08:00
3fc9bedb0b commands: Made Std{in|out|err} accessible in Request/Response 2015-01-23 18:29:31 -08:00
b77d1c21b6 core/commands: add: Don't show progress bar when using --quiet option 2015-01-23 18:29:31 -08:00
121dfb10b4 core/commands: Fixed progress bar line clear race condition in 'add' 2015-01-23 18:29:31 -08:00
2363cb63e6 core/commands: Fixed 'add' progress bar sometimes not clearing progress bar output line 2015-01-23 18:29:31 -08:00
c3ea164f64 core/commands: Added progress bars for 'add'
squash! core/commands: Added progress bars for 'add'

Use vendored progress bar lib in 'add'
2015-01-23 18:29:30 -08:00
7b4de230eb commands: Refactored Command#Run function signature to (req Request, res Response) 2015-01-23 18:29:29 -08:00
31ae178078 commands: Support outputting <-chan interface{} 2015-01-21 04:28:02 +00:00
b91db68056 update pinning to new semantics, and fix a couple bugs 2015-01-21 04:28:01 +00:00
920ddc7fc3 Merge pull request #553 from jbenet/serial-file
Serial File Opening
2015-01-13 23:30:08 -08:00
70adc21d08 core/commands: Enable stdin arguments for 'add' and 'cat', resolves #542 2015-01-13 22:51:10 -08:00
7a579bbf79 commands: Moved files code into 'commands/files' subpackage 2015-01-13 22:50:53 -08:00
6236ef7fdb core/commands: Made add command output a channel
core/commands: Don't use pointers for Type field
2015-01-06 15:55:16 -08:00
abd390b892 core/commands: Made add command show streamed output 2015-01-06 15:53:48 -08:00
fd40702f73 commands: Changed Marshaler to return a io.Reader instead of a []byte
core/commands: Refactored command marshalers
2015-01-06 15:53:42 -08:00
0395a7af1e ipfs add output not sorted, cmds files sorted
I made the commands lib dir listing sort the contents
so we get the same sequence of files from it repeatably.
2015-01-06 14:02:49 -08:00
d490a85706 Make sure ipfs add output is sorted by name
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-01-06 13:12:22 -08:00
65c6bd07bf feat(core/commands): expose commands to allow for the development of high-level interface
+ style: sort command list

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-05 20:56:26 -08:00
5bfdc2e2b7 Add --quiet option to ipfs add
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-30 14:23:08 +01:00
87853f2bde core/commands: Made 'add' use OptionRecursivePath 2014-11-19 00:36:03 -08:00
5aaa45db9a transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
ad3f3e003f removed old commands files
https://www.youtube.com/watch?v=kyFyAqLtHq8
2014-11-18 06:15:00 -08:00
ce223eef61 some small cleanup of logging 2014-11-01 16:07:56 -07:00
ae339a0320 remove dagwriter in favor of new importer function 2014-10-31 05:03:42 +00:00
b5fc3caea3 cmd/add: output file hash Fixed #239 2014-10-30 06:15:23 -07:00
71ac117546 Address concerns in PR 2014-10-30 06:23:31 +00:00
18ada93ec3 rewrite add command to use dagwriter, moved a pinner into the dagwriter for inline pinning 2014-10-30 04:40:48 +00:00
31b0ff0307 add testing for pins 2014-10-22 00:28:41 -07:00
b204c21d10 add plumbing output + logging
Fixes #157
Found #158
2014-10-13 02:40:39 -07:00
bb84c232e1 make add command use absolute paths and print properly, issue #151 2014-10-10 13:46:51 -07:00
093c8fb04d Rework package structure for unixfs and subpackage
cc @jbenet
2014-10-08 21:14:18 +00:00
77fccaa2f3 Obviated need for .ID.Pretty() all over the place. 2014-10-06 04:23:55 -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
ee1d1ac078 add: only show added once. 2014-10-04 03:56:12 -07:00
f923652d88 remove extra printf 2014-10-02 03:07:52 -07:00
728f17d3c9 cmd/ipfs/pin.go now uses MakeCommand
+ added recursive pinning func
2014-10-01 01:17:27 -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
9c221719f9 switch over to using a lock file for daemon connections 2014-09-30 03:20:15 -07:00
64ba4cd0df output + linting 2014-09-22 04:06:17 -07:00
da20887e76 ipfs add should output hash to user
for now, ipfs add output format:

    added <hash> <path>
    ...

(these commands will adhere to strict formats.)
2014-09-22 04:06:17 -07:00
74a0aa54ad fixed [%s] bug 2014-09-22 04:06:17 -07:00
b55a5078a8 refactor daemon code, moved commands to core/commands 2014-09-12 21:29:54 +00:00
b2a218816d initial hack at turning ipfs into a daemon, just implemented simple rpc at this point 2014-09-09 05:11:56 +00:00