Commit Graph

11097 Commits

Author SHA1 Message Date
Steven Allen
1cc8c3a17e fix(swarm): catch cases where we fail to resolve an address to a peer
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-18 19:13:53 -07:00
Steven Allen
f1b6888081 fix(swarm): use the go fork/join idiom
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-18 19:13:49 -07:00
Steven Allen
291614848f fix(swarm): feed through context
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-18 19:13:43 -07:00
Overbool
597bf2a481 fix(swarm): collect maddr by channel
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-03-18 18:52:16 -07:00
Overbool
309cf70570 fix(swarm): add dnsaddr support in swarm connect
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2019-03-18 18:51:20 -07:00
Łukasz Magiera
79b15d7b68 gomod: update go-mfs
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2019-03-18 17:59:02 +01:00
Steven Allen
221d1b13ab
Merge pull request #6085 from ipfs/fix/thread-safe-mem-datastore
make in-memory datastore thread-safe
2019-03-16 12:44:35 -07:00
Steven Allen
417bd243e2 test resolve recursion
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-16 12:42:50 -07:00
Steven Allen
65d093c585
Merge pull request #6090 from ipfs/gx/update-go-ipfs-cmds
gx: update go-ipfs-cmds
2019-03-16 11:58:38 -07:00
Erik Ingenito
09cc62ebdf Additional provider tests
License: MIT
Signed-off-by: Erik Ingenito <erik@carbonfive.com>
2019-03-16 09:53:53 -07:00
Erik Ingenito
906d2bd093 Don't do extra work in provider queue loop
License: MIT
Signed-off-by: Erik Ingenito <erik@carbonfive.com>
2019-03-16 09:53:34 -07:00
Steven Allen
868fe8813a gx: update go-ipfs-cmds
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-15 23:13:52 -07:00
Steven Allen
1d825ddba2
Merge pull request #6088 from ipfs/gx/update-go-bitswap
deps: update go-bitswap
2019-03-15 21:05:01 -07:00
Erik Ingenito
6c1eca959e Make queue operation more clear
License: MIT
Signed-off-by: Erik Ingenito <erik@carbonfive.com>
2019-03-15 20:45:59 -07:00
Steven Allen
426c4c7d7a deps: update go-bitswap
Pull in the performance improvements.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-15 19:49:07 -07:00
Steven Allen
1c7a5d1901 resolve: succeed on recursion limit when not recursing
Otherwise, non-recursive resolution is pretty much useless.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-15 19:25:39 -07:00
Steven Allen
fded3bc08c resolve: recurse by default
This is what users expect.

fixes #5635
fixes #5585
fixes #4181
fixes #4293
fixes #6086

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-15 19:25:27 -07:00
Erik Ingenito
7fcafb6615 Gofmt
License: MIT
Signed-off-by: Erik Ingenito <erik@carbonfive.com>
2019-03-15 16:47:33 -07:00
Steven Allen
3c383bcc8b make in-memory datastore thread-safe
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-15 15:43:03 -07:00
Erik Ingenito
1595253b7b Remove locking entirely
License: MIT
Signed-off-by: Erik Ingenito <erik@carbonfive.com>
2019-03-15 14:19:19 -07:00
Erik Ingenito
5d4f3fbdec Cleanup, fix broken restart, and more tests.
License: MIT
Signed-off-by: Erik Ingenito <erik@carbonfive.com>
2019-03-15 11:23:37 -07:00
Steven Allen
ac8544d1ae
Merge pull request #6084 from andrew/ci-readme-badges
Update package table to remove broken jenkins links
2019-03-15 09:25:00 -07:00
Andrew Nesbitt
8774909009 Update package table to remove broken jenkins links
License: MIT
Signed-off-by: Andrew Nesbitt <andrewnez@gmail.com>
2019-03-15 14:05:33 +00:00
Erik Ingenito
7d07347ed7 Provider tests
License: MIT
Signed-off-by: Erik Ingenito <erik@carbonfive.com>
2019-03-14 16:55:30 -07:00
Erik Ingenito
8337035466 Provider queue updates to address deadlocks
License: MIT
Signed-off-by: Erik Ingenito <erik@carbonfive.com>
2019-03-14 16:54:55 -07:00
Steven Allen
e922edd474
Merge pull request #6078 from ipfs/fix/maketarball-gomod
mk: fix maketarball to work with gomod
2019-03-13 16:12:34 -07:00
Jakub Sztandera
a6053d631a mk: fix maketarball to work with gomod
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-13 23:05:48 +01:00
Michael Avila
dde397ebc1
Refactor per code climate rules
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-03-11 09:55:13 -07:00
Michael Avila
bfcea27d39
Use offlineProvider when --offline
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-03-08 16:44:28 -08:00
Michael Avila
d786a69e72
Remove timeout from provide context
This is being removed because it appears that the provide announcements
go out regardless of the timeout.

License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-03-08 15:49:25 -08:00
Michael Avila
a9b6534687
Provide root node immediately when add and pin add
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-03-08 14:27:43 -08:00
Steven Allen
245c40b8fd
Merge pull request #6051 from ipfs/feat/nicer-ls
fix ls command to use the new coreinterface types
2019-03-07 11:31:37 -08:00
Steven Allen
f24ba4d324
Merge pull request #6063 from ipfs/feat/remove-install-unsupported
mk: remove install_unsupported, leave a note
2019-03-07 11:31:19 -08:00
Jakub Sztandera
8c7837962d mk: deprecate install_unsupported, leave a notice
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-07 20:16:15 +01:00
Steven Allen
c6d85c2a7d ls: resolve symlinks
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-07 11:10:34 -08:00
Steven Allen
81621396a0 fix ls command to use the new coreinterface types
See: https://github.com/ipfs/interface-go-ipfs-core/pull/14

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-07 11:10:34 -08:00
Steven Allen
3d8728a40e dep: update interface-go-ipfs-core
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-07 11:10:24 -08:00
Steven Allen
3702368fe3
Merge pull request #6060 from ipfs/feat/git-dirty
mk: change git-hash command to include information about modifications
2019-03-06 15:49:54 -08:00
Jakub Sztandera
c8c0c48e2d mk: change git-hash command to include information about modifications
With this command we will get hash information as well as information if
build was made using uncommited files.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-07 00:42:19 +01:00
Steven Allen
cc315dc77f
Merge pull request #6059 from ipfs/fix/make-build
mk: fix make install by not setting GOBIN
2019-03-06 13:31:23 -08:00
Jakub Sztandera
061128d1d3 mk: fix make install by not setting GOBIN
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-06 22:21:14 +01:00
Steven Allen
e375224c3c
Merge pull request #6057 from ipfs/feat/requie-go1.11.4
go: require Golang 1.11.4
2019-03-06 08:06:59 -08:00
Jakub Sztandera
3589eb989e go: require Golang 1.11.4
mod.sum generation had a fix in this version which probably is the
reason for #6056

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-06 13:27:52 +01:00
Steven Allen
918dcbe911
Merge pull request #6049 from ipfs/fix/yamux-window-size
yamux: increase yamux window size to 8MiB.
2019-03-05 11:20:44 -08:00
Steven Allen
fdc1b76b23
Merge pull request #6038 from ipfs/feat/gomod-yey
Introduce go modules [yey]
2019-03-05 09:47:49 -08:00
Jakub Sztandera
c21b7f91bc mk: remove json-to-junit program
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:38:47 +01:00
Jakub Sztandera
76f7a7694d gomod/mk: set GO111MODULE in Makefile
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:37:44 +01:00
Jakub Sztandera
e575c93dcd misc: add collect-profiles.sh script, update gitignore
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:58 +01:00
Jakub Sztandera
d2a2e1493d circleci: run try-build target on ci
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:58 +01:00
Jakub Sztandera
44d828876b travis: remove TravisCI, if someone wants to fix it, be my guest
Having a red status check only means that it is ok to see red there.
This shouldn't be the norm as it makes us ignore status checks.
It is the same case with random test failures.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:58 +01:00