Matt Bell
4bd2fbc806
commands/cli: Ignore stdin on Windows
2014-11-19 04:30:29 -08:00
Matt Bell
7b09b7bdaf
Merge pull request #364 from jbenet/pin-ls
...
Added 'pin ls' Command
2014-11-19 03:28:27 -08:00
Matt Bell
5461d76957
core/commands: Better syntax for 'pin ls' option value handling
2014-11-19 03:23:21 -08:00
Matt Bell
928f20b4bd
core/commands: pin ls: Default type to 'direct'
2014-11-19 01:44:51 -08:00
Matt Bell
69ce2940a8
commands/cli: Fixed helptext option type
2014-11-19 00:54:59 -08:00
Matt Bell
9de01007d0
core/commands: pin ls: Accept 'type' option to specify type of pinned keys to list
2014-11-19 00:53:57 -08:00
Matt Bell
e6091be0c7
pin: Return copies of pinned keys, of each type (direct/indirect/recursive)
2014-11-19 00:53:23 -08:00
Matt Bell
ae6f00d766
commands: Fixed tests
2014-11-19 00:36:42 -08:00
Matt Bell
4c1a5f6816
core/commands: Restored 'pin'/'refs' option names
2014-11-19 00:36:30 -08:00
Matt Bell
87853f2bde
core/commands: Made 'add' use OptionRecursivePath
2014-11-19 00:36:03 -08:00
Matt Bell
761392d8de
commands/cli: Only allow recursive paths if -r option definition is OptionRecursivePath
2014-11-19 00:26:53 -08:00
Matt Bell
aa84f69231
commands: Added a 'Definition()' method to OptionValue to get a reference to the option definiton
2014-11-19 00:26:02 -08:00
Matt Bell
bbf3a1f4d4
commands: Changed Option to an interface
2014-11-19 00:24:55 -08:00
Matt Bell
277ba26120
commands: Gave global options exported names
2014-11-19 00:01:03 -08:00
Matt Bell
49dc13e5dd
core/commands: Added plaintext marshaler for 'pin ls'
2014-11-18 23:20:38 -08:00
Matt Bell
db53de806c
core/commands: Made 'refs' output u.Keys instead of strings
2014-11-18 23:20:20 -08:00
Matt Bell
477c246c6c
core/commands: Fixed 'refs' option name collision
2014-11-18 23:09:53 -08:00
Matt Bell
edb8eeaecf
core/commands: Created a general key list output type and plaintext marshaler
2014-11-18 23:08:56 -08:00
Matt Bell
961e4504f1
core/commands: Fixed pin flag name (conflicted with global -r/--recursive flag)
2014-11-18 23:03:41 -08:00
Matt Bell
afc7b6f48d
core/commands: Added a 'pin ls' command
2014-11-18 23:02:33 -08:00
Matt Bell
90e5c7ffa8
pin: Added a Pinner#Set function to retrieve the set of pinned keys
2014-11-18 23:02:22 -08:00
Juan Batiz-Benet
91fe0d9534
Merge pull request #361 from jbenet/feat/transition-cmds
...
Transition Commands
2014-11-18 09:04:01 -08:00
Juan Batiz-Benet
d124a6719e
skip for now
2014-11-18 08:50:08 -08:00
Juan Batiz-Benet
d1ab80224d
test: hack around travis being slow
...
this is a hack around travis key-gen being really slow.
One option would be to add the --key-bits option to daemon
as well. Another option would be to find a better way to
wait for the output, rather than waiting n seconds.
cc @chriscool thoughts?
2014-11-18 08:33:47 -08:00
Juan Batiz-Benet
3e96f4810b
test: added daemon --init test
2014-11-18 08:19:25 -08:00
Juan Batiz-Benet
a7d1fd42d8
updating daemon addr output
2014-11-18 08:19:25 -08:00
Brian Tiger Chow
458afe3da9
fix(Dockerfile) must specify both ports on one line
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-18 08:03:41 -08:00
Brian Tiger Chow
9374f90763
feat(Dockerfile) expose API port
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-18 08:02:18 -08:00
Brian Tiger Chow
63225d8fb3
feat(Dockerfile) add default command
...
@jbenet
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-18 07:49:01 -08:00
Matt Bell
2855a6eed7
commands/cli: Allow option blobs before command path
2014-11-18 06:56:45 -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
e24b09f82d
test: comment out extra output in add_and_cat
2014-11-18 06:21:07 -08:00
Juan Batiz-Benet
bd962b6c32
test: lower key size for mount tests
2014-11-18 06:18:32 -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
dc65e86e22
makefile: revert back to cmd/ipfs
2014-11-18 06:15:00 -08:00
Juan Batiz-Benet
2b32e698d0
remove ipfs2 from gitignore
2014-11-18 06:15:00 -08:00
Juan Batiz-Benet
607e4d3e52
sharness tests back to cmd/ipfs
2014-11-18 06:14:59 -08:00
Juan Batiz-Benet
9ae420abb8
SizeSplitter fix: keep-reading until chunk full
...
if the underlying reader is buffered with a smaller buffer
it would force the chunk sizes to come out smaller than
intended.
cc @whyrusleeping @mappum
2014-11-18 06:13:07 -08:00
Juan Batiz-Benet
f43954fcd1
ensure node constructed is online for daemon
2014-11-18 05:20:04 -08:00
Juan Batiz-Benet
d3c9c5978e
remove daemon node constructor
2014-11-18 03:47:28 -08:00
Matt Bell
7a4491ada3
Added --mount flag to mount when running 'ipfs daemon'
2014-11-18 03:31:32 -08:00
Matt Bell
105f232157
Merge pull request #357 from jbenet/multifile
...
Multipart File Transfer
2014-11-18 02:20:29 -08:00
Matt Bell
a0bd29d5be
core/commands2: Fixed swarm command for new arguments API
2014-11-18 02:16:30 -08:00
Matt Bell
0709621a2c
core/commands2: Updated id command for new argument API
2014-11-18 02:13:57 -08:00
Matt Bell
8968b98cf3
commands: Added tests for Request#SetOptions
2014-11-18 02:13:57 -08:00
Matt Bell
c19bdf18b2
commands: Added Request#SetOptions
2014-11-18 02:13:57 -08:00
Matt Bell
57c48adfcf
commands/http: Made MultiFileReader thread safe
2014-11-18 02:13:57 -08:00
Matt Bell
6681c50371
commands/cli: Decomposed 'parseArgs'
2014-11-18 02:13:57 -08:00
Matt Bell
c14bd98f7a
commands/http: Added MultiFileReader test
2014-11-18 02:13:57 -08:00