Steven Allen
ba680b10da
make sure the repo size is greater than the size of the symlink
...
Before, we'd check to make sure the repo, when checked through a symlink, is at
least as large as the repo *before* we checked it through the symlink. However,
this assumes that the repo can't shrink.
Really, this test exists to ensure we measure the repo size itself instead of
the size of the symlink; this commit changes the test to reflect this.
This test fails when 54d7e03303 is reverted.
fixes #4408
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-01 09:56:03 -08:00
Whyrusleeping
a81025f891
Merge pull request #4434 from ipfs/kevina/test-symlink-test-fail
...
Increase verboseness of t0088-repo-stat-symlink.sh test.
2017-11-28 11:22:35 -08:00
Kevin Atkinson
d2696ed498
Increase verboseness of t0088-repo-stat-symlink.sh test.
...
Top help track down random test failures.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-11-28 13:45:27 -05:00
Whyrusleeping
96b87238fe
Merge pull request #4425 from ipfs/fix/windows-build-deps
...
fix builds on windows
2017-11-25 10:58:29 -08:00
Jeromy
971bb01e1b
fix builds on windows
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-11-24 10:37:02 -08:00
Whyrusleeping
b7824ba3ee
Merge pull request #4415 from ipfs/cleanup/dead-cmds-code
...
Delete some now unused commands lib code
2017-11-22 15:09:55 -08:00
Whyrusleeping
9032848e83
Merge pull request #4419 from ipfs/fix/update-cmds
...
update go-ipfs-cmds to 0.4.11
2017-11-22 13:46:52 -08:00
keks
8e5fbe9aa1
update go-ipfs-cmds to 0.4.11
...
to include @frist's uuid logging
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-22 19:06:00 +01:00
Whyrusleeping
e1f433e3a8
Merge pull request #4402 from keks/fix/pubsub-flush
...
core/commands/pubsub.go: flush output before iterating over received messages
2017-11-21 21:30:15 -08:00
Whyrusleeping
1f2247c6bd
Merge pull request #4413 from ipfs/fix/cmd-goroutine-leaks
...
Fix some goroutine leaks in commands
2017-11-21 21:26:44 -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
2997f48a67
fix goroutine leaks in repo commands
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-11-21 16:17:27 -08:00
Steven Allen
016b005333
fix goroutine leaks in DHT commands
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-11-21 15:39:37 -08:00
Whyrusleeping
e0f38fa33b
Merge pull request #4406 from ipfs/fix/4405
...
Fix two race conditions (and possibly go routine leaks) in commands
2017-11-21 15:23:39 -08:00
Whyrusleeping
33c82070f2
Merge pull request #4407 from ipfs/fix/4394
...
fix deadlock in bitswap sessions
2017-11-21 15:21:25 -08:00
Whyrusleeping
586dd6565d
Merge pull request #4411 from ipfs/feat/objput-quiet
...
object: --quiet flag to put
2017-11-21 15:01:36 -08:00
Łukasz Magiera
697afddbcc
object: --quiet flag to put
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-11-21 19:41:00 +01:00
keks
f3a92617f8
core/commands/pubsub.go: flush output before iterating over received messages
...
License: MIT
Signed-off-by: keks <keks@cryposcope.co>
2017-11-21 10:00:58 -08:00
Whyrusleeping
b18b1e90c2
Merge pull request #4403 from ipfs/feat/secio-update
...
Update all the things.
2017-11-21 08:51:23 -08:00
Whyrusleeping
d4c54d6858
Merge pull request #4401 from leerspace/docs/config-announce
...
updating Addresses section
2017-11-21 08:49:32 -08:00
Steven Allen
a94755dbc5
fix deadlock in bitswap sessions
...
This deadlock would happen when calling SessionsForBlock (holding
bitswap.sessLk) while the session's main loop was trying to deregister the
session (taking bitswap.sessLk).
I've also defensively added selects on contexts for two other channel writes
just in case.
fixes #4394
...well, it fixes *a* deadlock showing up in that issue, there may be more.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-11-20 22:28:32 -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
218b29959e
Merge pull request #4042 from asymmetric/fix/default-false
...
remove all instances of `Default(false)`
2017-11-20 21:32:07 -08:00
Steven Allen
d89a4b6960
fix concurrent SetError in add command
...
I believe this also fixes a potential go routine leak (on race).
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-11-20 20:35:04 -08:00
Steven Allen
65489c1744
fix concurrent SetError in pin command
...
(segfault)
Also, buffer the response channel. I believe we had a go routine leak here
before.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-11-20 20:34:58 -08:00
Whyrusleeping
a62eb62d2d
Merge pull request #4400 from djdv/gx-winmount
...
Fix orphaned gx dependency
2017-11-20 16:57:54 -08:00
John Reed
42a0c14f2a
adding detail on Announce
...
Clarifying that the Announce array is only used when non-empty
and will override the default inferred announce addresses.
License: MIT
Signed-off-by: John Reed <john@re2d.xyz>
2017-11-20 09:48:19 -06:00
Lorenzo Manacorda
57f544a79c
remove all instances of Default(false)
...
Boolean options always default to false.
License: MIT
Signed-off-by: Lorenzo Manacorda <lorenzo@mailbox.org>
2017-11-20 16:10:15 +01:00
Dominic Della Valle
d15fa176cd
Fix orphaned gx dependency
...
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2017-11-20 00:13:35 -05:00
John Reed
8391abb06b
updating Addresses section
...
config.md: updating the Addresses section
Adding documentation on Announce and NoAnnounce.
Fixing typo in API default value.
License: MIT
Signed-off-by: John Reed <john@re2d.xyz>
2017-11-19 20:31:25 -06:00
Whyrusleeping
225159bcd8
Merge pull request #4372 from ipfs/feat/use-sys
...
switch from syscall to golang.org/x/sys
2017-11-18 15:39:53 -08:00
Whyrusleeping
b967ec4f44
Merge pull request #4365 from adamliesko/fix/cmd/path-parsing-trailing-slash
...
core: get cmd outPath remove trailing slash - fixes #3729
2017-11-18 14:24:13 -08:00
Steven Allen
63342578d3
switch from syscall to golang.org/x/sys
...
(mostly)
syscall has been frozen and mostly deprecated. We can't *entirely* switch but
this brings us closer.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-11-18 12:11:14 -08:00
adamliesko
a09d974652
core: get cmd outPath removes trailing slash - fixes #3729
...
When using path with trailing slashes, ipfs get command had issues
with trying to store content into '.' folder (as the file part of the path
was empty). Now, it correctly stores the file into desired folder,
thanks to the removal of trailing slash by introducing a
getOutPath function in get command, which does proper parsing
Of the output path.
BEFORE:
$ .pfs get /ipns/multiformats.io/
Saving file(s) to .
NOW:
$ ./ipfs get /ipns/multiformats.io/
Saving file(s) to multiformats.io
License: MIT
Signed-off-by: adamliesko <adamliesko@gmail.com>
2017-11-18 20:04:18 +01:00
Whyrusleeping
bd0ed9ea5d
Merge pull request #4381 from massino/patch-1
...
Remove reference to "this PR" in code
2017-11-18 10:35:03 -08:00
Whyrusleeping
b0e4406676
Merge pull request #4368 from ipfs/fix/plugin-typo
...
small typo in git plugin
2017-11-18 10:27:47 -08:00
Whyrusleeping
b01e48a758
Merge pull request #4392 from ipfs/feat/log/uuid
...
Feat/log/uuid
2017-11-18 10:25:23 -08:00
Whyrusleeping
d511a00ef7
Merge pull request #4390 from leerspace/docs/update-using-ipfs
...
adding how to download IPFS with IPFS
2017-11-18 10:24:12 -08:00
Whyrusleeping
c18e13bd74
Merge pull request #4388 from lanzafame/3066
...
docs: correct StorageMax config desc
2017-11-18 10:19:50 -08:00
Whyrusleeping
83df6769ac
Merge pull request #3856 from ipfs/feat/commands2.0
...
Extract and rework commands package
2017-11-18 10:10:50 -08:00
Jeromy
b08a674acb
bump version to 0.4.14-dev
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-11-18 08:41:27 -08:00
keks
d95a87cf57
update to go-ipfs-cmds 0.4.9
...
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-17 15:22:42 +01:00
keks
0d9d21875c
compatible to js-ipfs-api
...
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-17 15:22:42 +01: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
Whyrusleeping
cc01b7f188
Merge pull request #4395 from ipfs/release-0.4.13
...
Ipfs v0.4.13
2017-11-16 15:51:27 -06:00
Jeromy
a0a174ed55
Ipfs v0.4.13
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-11-16 09:58:42 -08: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
1c3e590c88
Add event logging around path resolution
...
License: MIT
Signed-off-by: Forrest Weston <forrest@protocol.ai>
2017-11-14 18:02:26 -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