23a27b9c67
fix test that didn't respect cmds.Single
...
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
e8ad094448
add TODO
...
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
feef5c3415
cmds: use Executors
...
- some fixes for cmds1.0
- reinsert plugin loading code, pretty print wrapper
TODO:
if plugin loading fails it only calls log.Warning.
returning an error would be better but that would have
to happen after PreRun, which is not possible atm.
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
84101c8a2a
go test passes, sharness fails
...
pass API path to cmds, fix options in add.
License: MIT
Signed-off-by: keks <keks@cryptoscope.com>
2018-01-21 11:11:47 -08:00
9965861b86
fmt
...
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
c1d6230bc0
check api version in corehttp
...
- add comments, trim api path prefix
- corehttp: add option to set HTTP header "Server"
- daemon: use new corehttp options
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
bd9576fa57
start adopting cmds3.0 - lots of errors!
...
- move go-ipfs-cmds/legacy to go-ipfs/commands/legacy
- update cmds,cmdkit; go test ./... ok
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2018-01-21 11:11:47 -08:00
2140aa9578
Merge pull request #4587 from lgarron/is-adds
...
Fix typo in error.go: "is adds" -> "adds".
2018-01-17 19:28:24 -08:00
dd4e25c11b
Fix typo in an error.go comment: "is adds" -> "adds".
...
License: MIT
Signed-off-by: Lucas Garron <code@garron.net>
2018-01-17 15:25:54 -08:00
0f68fcf608
Merge pull request #4332 from ipfs/docs/transfer-debug
...
add a document to help troubleshoot data transfers
2018-01-12 10:04:55 -08:00
47386553d6
note on what 'manual connection' implies
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-01-12 10:04:30 -08:00
4fbcd1baea
formatting fix, add example and pointer to relay
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-01-12 10:02:46 -08:00
b768fb118b
Merge pull request #4553 from ipfs/fix/4085
...
implement an ipfs cat --length flag
2018-01-12 09:52:59 -08:00
32928d2458
Merge pull request #4573 from ipfs/fix/4572
...
fix outdated warning about private key in 'config show'
2018-01-10 09:16:57 -08:00
8a9a76f193
fix outdated warning about private key in 'config show'
...
We now omit it.
fixes #4572
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-09 19:24:27 -08:00
429ab63691
Merge pull request #4564 from ipfs/fix/circle-cache
...
fix circleci cache directory list
2018-01-09 10:55:44 -08:00
a7d710eea0
Merge pull request #4562 from ipfs/fix/addr-pinlock
...
fix defered unlock of pin lock in AddR
2018-01-09 10:55:02 -08:00
afda55bd16
fix circleci cache directory list
...
environment variable expansion doesn't work in the cache_directories section.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-08 12:58:19 -08:00
bf5fd74a8e
fix defered unlock of pin lock in AddR
...
This wasn't causing any problems because this function is actually dead
code (but possibly useful?).
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-07 22:33:51 -08:00
3e0f7cb600
fix add-and-cat sharness test on osx
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-06 15:52:39 -08:00
c1a488f55c
Merge pull request #4552 from eocarragain/commands-docs
...
Fix typos and inconsistencies in commands documentation
2018-01-05 21:48:43 -08:00
6a82a4a62f
Merge pull request #4547 from epheph/master
...
Allow install.sh to be run without being the script dir
2018-01-05 21:45:12 -08:00
089496b918
test the ipfs cat --length flag
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-05 18:30:10 -08:00
153bb68130
implement an ipfs cat --length flag
...
fixes #4085
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-05 18:30:05 -08:00
c144a71052
fix misleading LongDescription in NameCmd and PublishCmd
...
License: MIT
Signed-off-by: Eoghan Ó Carragáin <eoghan.ocarragain@gmail.com>
2018-01-06 00:53:35 +00:00
0201a67529
fix typos in FilesMkdirCmd ShortDescription
...
License: MIT
Signed-off-by: Eoghan Ó Carragáin <eoghan.ocarragain@gmail.com>
2018-01-06 00:49:50 +00:00
bc3a7619ae
fix bug with spaces in directory name
...
License: MIT
Signed-off-by: Scott Bigelow <epheph@gmail.com>
2018-01-05 10:38:46 -08:00
2ab6d3d67d
Merge pull request #4546 from ipfs/fix/4542
...
various ping fixes
2018-01-05 10:24:35 -08:00
55d224a81b
Changing command substitution format
...
License: MIT
Signed-off-by: Scott Bigelow <epheph@gmail.com>
2018-01-04 16:50:06 -08:00
77e27b2bc3
put ping sharness test cmds on separate lines
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-04 16:28:14 -08:00
a2eb40c423
Allow install.sh to be run without being the script dir
...
License: MIT
Signed-off-by: Scott Bigelow <epheph@gmail.com>
2018-01-04 15:35:18 -08:00
3af720696c
Merge pull request #4477 from ipfs/feat/coreapi/name
...
RFC: coreapi.Name,Key
2018-01-04 15:08:55 -08:00
ac551f1dfd
ping: add sharness tests
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-04 10:45:46 -08:00
fd736680b5
ping: better peer addr parsing error
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-04 10:45:36 -08:00
28a610a13a
ping: return an error when ping count <= 0
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-04 10:42:42 -08:00
aa95dcbdf2
ping: add a useful error message when pinging self
...
We don't allow dialing self for many (very good) reasons.
fixes #4542
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-04 10:42:38 -08:00
59a8e658dd
Merge pull request #4525 from ipfs/fix/dagreader-mem
...
clear out memory after reads from the dagreader
2018-01-04 10:11:43 -08:00
f4fd369d86
Merge pull request #4195 from ipfs/feat/config-patch
...
config: command to apply profile after init
2018-01-02 14:02:31 -08:00
dea8c4d70b
test promised don't get allocated where not wanted
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-01-02 13:35:02 -08:00
f013a768ec
Merge pull request #4538 from ipfs/feat/command/cat-offset
...
Add offset option to cat command
2018-01-02 12:11:48 -08:00
2109cbc172
coreapi: Name tests
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-02 21:01:03 +01:00
1a0d6ec2ba
Merge pull request #4509 from ipfs/fix/mfs-flush-free-mem
...
Ensure that flush on the mfs root flushes its directory
2018-01-02 11:41:29 -08:00
8a8c9b507b
Add sharness tests for cat offset command
...
License: MIT
Signed-off-by: ForrestWeston <forrest@protocol.ai>
2018-01-02 11:12:15 -08:00
f0c772a4f3
Add offset option to cat command
...
Allow an offset option to be passed to cat command
License: MIT
Signed-off-by: ForrestWeston <forrest@protocol.ai>
2018-01-02 11:12:08 -08:00
9d201b07c6
Merge pull request #4537 from ipfs/lgierth-patch-1
...
docs: add badgerds to experimental-features ToC
2018-01-02 10:37:30 -08:00
6cb375e828
docs: add badgerds to experimental-features ToC
2018-01-02 02:29:02 +01:00
396c34b4e1
coreapi: key tests
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-01 19:00:56 +01:00
8df2d1a92e
coreapi: name/key review suggestions
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-01 17:38:12 +01:00
587dc187c6
coreapi: Documentation for Name/Key
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-01 17:38:12 +01:00
1c73d48e5b
coreapi: name/key functional options
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-01-01 17:35:37 +01:00