Steven Allen
973dead066
remove dead code
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-15 10:31:43 -08:00
Steven Allen
dfe7ef4fcf
gx: update go-multihash
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 13:09:51 -08:00
Jeromy
68bb106980
Delete some now unused commands lib code
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-11-21 20:40:24 -08:00
Steven Allen
bcd25416d9
cmds: rename DefaultVal -> Default, Default -> WithDefault
...
Propagate change from cmdkit.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-11-20 22:20:49 -08:00
Steven Allen
76e1da02a8
gx: massive update
...
Note: This commit is technically broken. However, I need to make a bunch of
cmds changes to make this work and I'd rather not bundle both changes into a
single commit.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-11-20 22:20:27 -08:00
Whyrusleeping
b01e48a758
Merge pull request #4392 from ipfs/feat/log/uuid
...
Feat/log/uuid
2017-11-18 10:25:23 -08:00
Jan Winkelmann
f287524949
cmd: use go-ipfs-cmds
...
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-17 15:22:41 +01:00
Forrest Weston
f44cf00342
Add error message to event logs in path resolution
...
If an error occurs during an event add it to the events metadata
License: MIT
Signed-off-by: Forrest Weston <forrest@protocol.ai>
2017-11-15 12:27:22 -08:00
Forrest Weston
846c04b131
Added uuid loggable (requestId) to root context
...
Every log event resulting from a command will have a uuid associated with it
License: MIT
Signed-off-by: Forrest Weston <forrest@protocol.ai>
2017-11-14 18:02:15 -08:00
Łukasz Magiera
1a93abcd69
fix 'file already closed' in Go 1.9
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-20 23:23:55 +02:00
Jeromy
cccc6a94a3
update go-multihash and bubble up changes
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-11 19:27:43 -07:00
zramsay
096b3232d5
address PR comments; remove commented/dead code
...
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-06-01 12:13:04 -04:00
zramsay
c5df8f0796
apply the megacheck tool to improve code quality
...
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-05-31 16:56:11 -04:00
Jeromy
b15470d548
bubble up updates from go-multihash changes
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-20 20:28:04 +02:00
keks
8ee7aa5cab
commands: restore and test original error order
...
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2017-04-05 11:57:54 +02:00
Jeromy
4a86b7b6b9
fix hidden file detection on windows
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-24 12:21:43 -07:00
Jeromy Johnson
ff997c1f7a
Merge pull request #3824 from ipfs/fix/govet/some-error
...
fix: multiple govet warnings
2017-03-23 20:56:10 -07:00
Jeromy Johnson
ac69697bd9
Merge pull request #3042 from ipfs/feat/hamt-sharding
...
Implement unixfs sharding
2017-03-23 20:51:52 -07:00
Jakub Sztandera
6546aeade7
fix: multiple govet warnings
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-24 01:02:50 +01:00
Jeromy Johnson
2cc5ce45b8
Merge pull request #3777 from ipfs/fix/gateway-status-codes
...
Return 404 Not Found for failed path resolutions
2017-03-22 22:31:54 -07:00
Jeromy
bb09ffd756
implement an HAMT for unixfs directory sharding
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-21 20:19:22 -07:00
Jeromy Johnson
21072a5f81
Merge pull request #3712 from ipfs/kevina/more-robust-gc
...
More Robust GC
2017-03-21 17:16:37 -07:00
Giulitti Salvatore
3d21c2ff6e
test(commands): fix EOF failure with Multipart.Read
...
License: MIT
Signed-off-by: hoenirvili <hoenirvili@gmail.com>
2017-03-21 11:20:12 +02:00
Kevin Atkinson
f66ca2ff24
gc: continue to use cmds.ChannelMarshaler
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-18 21:30:32 -04:00
Lars Gierth
807ffb9141
commands/dns: return NotFound error for failed resolutions
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-03-17 04:16:36 +01:00
Dominic Della Valle
b29945e791
Windows root parse fix
...
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2017-03-07 09:10:53 -05:00
Dominic Della Valle
934a073732
Replace OS check
...
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2017-03-07 09:10:53 -05:00
Jeromy Johnson
cbf8a0cdb4
Merge pull request #3748 from ipfs/deps/update-dht
...
update go-libp2p-kad-dht with getclosestpeers fix
2017-03-06 11:21:38 -08:00
Jeromy
2884c84343
Implement basic filestore 'no-copy' functionality
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-06 00:37:24 -08:00
Jeromy
4e168dc323
update go-libp2p-kad-dht with getclosestpeers fix
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-05 23:06:04 -08:00
Jeromy
b4eeff2d84
update go-multihash and bubble up deps
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-12 12:25:41 -08:00
Jakub Sztandera
591e82618e
commands: fix opt.Description panic when desc was empty
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-20 22:55:47 +01:00
Jeromy Johnson
bbd7ad21ad
Merge pull request #3382 from keks/feat/command.run-docs
...
Add docs for `"commands".Command.Run`
2016-11-14 17:51:47 -08:00
Jan Winkelmann
1a3fa80fdb
Add docs for "commands".Command.Run
...
To clarify that if you want to access the request body after writing need to use
multipart requests.
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2016-11-14 22:32:41 +01:00
Jan Winkelmann
c6186982e8
revert commit breaking ipfs add for js-ipfs-api
...
Revert "http api: makes sure header is sent even when r is not ready yet. fixes #3304 (#3305 )"
This reverts commit 68d8a298c5 .
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2016-11-07 23:24:05 +01:00
Kevin Atkinson
73f9a90cbf
Create a FilestoreNode object to carry PosInfo
...
When doing a filestore add, we wrap whatever nodes we create in a
FilestoreNode object and add the PosInfo to it so that the filestore
will be able to extract information as needed.
Edited by whyrusleeping
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-10-24 16:30:45 -04:00
keks
68d8a298c5
http api: makes sure header is sent even when r is not ready yet. fixes #3304 ( #3305 )
...
* http api: send header even when r is not ready yet. fixes #3304
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
* http api: check flush error and only flush once per iteration
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
* http api: f.Flush is not in fact returning anything
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
* api http: remove pointless Flush
License: MIT
Signed-off-by: Jan Winkelmann <j-winkelmann@tuhh.de>
2016-10-18 15:46:07 -07:00
Kevin Atkinson
8570a5293b
cli: refactor to expose argument parsing functionality
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-10-16 03:35:39 -04:00
Jeromy
1f9ec4e3ed
update to libp2p 4.0.1 and propogate other changes
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-05 22:12:43 -07:00
Kevin Atkinson
6ae4edc65a
Don't drop error in readStreamedJson.
...
Better fix than #3230 to make sure errors from addAllAndPin make it to
the client.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-09-29 22:55:49 -04:00
Jeromy
5457a85cef
Merge branch 'version/0.4.3-rc4'
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-20 19:10:10 -07:00
Jeromy Johnson
ade598eead
Merge pull request #3135 from ipfs/kevina/2839directfix
...
Directly Fix #2839
2016-08-31 19:34:21 -07:00
Kevin Atkinson
10a692f9a2
Fix "ipfs add -r ." to always add the contents of the current directory.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-27 16:48:03 -04:00
Kevin Atkinson
88e4b110ba
Revert "Resolve symlink if it is directly referenced in cli ( #2897 )"
...
This reverts commit fe7b01f14e .
Conflicts:
commands/cli/parse.go
Revert "Merge pull request #3023 from ipfs/feature/eval-symlink-windows"
This reverts commit 16c5a89dd4 , reversing
changes made to 8c77ff8188 .
Conflicts:
commands/cli/parse.go
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-27 14:36:28 -04:00
Jakub Sztandera
0883aa5b44
cli: Fix stdin help text being show multiple times
...
Also remove '\n' from msgStdinInfo as we use Fprintln.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-27 19:02:54 +02:00
Jeromy Johnson
594ae64f15
Merge pull request #3129 from ipfs/feat/default-rename
...
commands: replace <default> keyword with <<default>>
2016-08-26 09:41:14 -07:00
Jakub Sztandera
7e5393c4db
commands: replace <default> keyword with <<default>>
...
This way if we use <default> in description (we use thigns like <hash>
already), it won't conflict and modify the description in unwanted way.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-26 18:20:17 +02:00
Jeromy
05b197df2d
update deps for libp2p 3.4.0
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-25 19:02:55 -07:00
Jeromy
8a75a8cf08
commands: fix panic when stdin is empty for string args
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-07 09:24:17 -07:00
Jeromy
068c6d2211
commands/cli: fix reading from stdin message
...
Only print "Reading from /dev/stdin" message when we actually read from
stdin (and not in other cases such as ipfs add --help).
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-03 09:04:41 -07:00