Commit Graph

12021 Commits

Author SHA1 Message Date
Steven Allen
29400bc4f6 chore(dep): update go-libp2p-swarm
Fixes a concurrent map access issue: #6418. The fix for this somehow didn't make
it into 0.4.22 either.
2020-01-27 19:21:55 -08:00
Steven Allen
3788453022
Merge pull request #6845 from ipfs/doc/notify-on-rc
doc(release): document how RCs should be communicated
2020-01-22 10:31:40 -08:00
Steven Allen
57727c25c3 doc(release): document how RCs should be communicated 2020-01-22 08:17:12 -08:00
Steven Allen
c0cd452926 release: bump to v0.4.23-rc2 2020-01-21 14:46:24 -08:00
Steven Allen
e4933904bd
Merge pull request #6844 from ipfs/chore/webui-2.7.2
chore: webui 2.7.2 for v0.4.23
2020-01-21 14:39:58 -08:00
Steven Allen
a932ab19a4 chore(dep): update go-libp2p-kad-dht
fixes a memory leak in the metrics system
2020-01-21 14:34:20 -08:00
Henrique Dias
b2777eebbf
feat: webui 2.7.2
https://github.com/ipfs-shipyard/ipfs-webui/releases/tag/v2.7.2

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-01-21 22:49:36 +01:00
Steven Allen
627b62da36 fix(build): instruct users to use GOTAGS, not GOFLAGS
GOFLAGS will _override_ all the flags. If we just want to set a tag e.g., enable
OpenSSL, we should set GOTAGS=openssl.

fixes https://github.com/ipfs/go-ipfs/issues/6622#issuecomment-576713181
2020-01-21 08:16:29 -08:00
Steven Allen
52c8c37f1c fix(docker): fix maintainer email 2020-01-21 08:08:00 -08:00
Steven Allen
1c8f0faef1
Merge pull request #6838 from ipfs/doc/webui-release-notes
doc(release): move WebUI from manual tests to automated tests section
2020-01-20 15:36:24 -08:00
Steven Allen
864485b234 doc(release): move WebUI from manual tests to automated tests section
We no longer need to manually test the webui on release.
2020-01-17 18:17:16 -08:00
Steven Allen
c81bcc075f release: bump to v0.4.23 2020-01-17 16:08:59 -08:00
Steven Allen
b7af0178ac test(ci): use go 1.13 for api tests 2020-01-17 16:08:59 -08:00
Steven Allen
b54bdf310e test(ci): update node for webui tests
Co-Authored-By: Hugo Dias <hugomrdias@gmail.com>
2020-01-17 16:08:59 -08:00
Marcin Rataj
2155b73037 test: E2E tests against ipfs-webui HEAD
This adds interop/regression tests against ipfs-webui repo.

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-01-17 16:08:59 -08:00
Steven Allen
d0a6b37924 ci: wait 30 seconds for the api tests daemon to start
This was failing in CI.
2020-01-17 16:08:59 -08:00
Steven Allen
eb2ed1c121 test(interop): explicitly install http client 2020-01-17 16:08:59 -08:00
Steven Allen
e8a64c9f56 test(interop): allow weak keys 2020-01-17 16:08:59 -08:00
Steven Allen
5a1686931f ci: parallelize interop tests 2020-01-17 16:08:59 -08:00
Steven Allen
2ea07b6c75 ci: send interop results to stdout and junit 2020-01-17 16:08:59 -08:00
Steven Allen
c9adad27ab ci: spit out junit reports from the interop tests 2020-01-17 16:08:59 -08:00
Steven Allen
7591a8d549 ci: use executors
Also, use environment variables where appropriate.
2020-01-17 16:08:59 -08:00
Steven Allen
f54016b2ec chore(dep): update go-bitswap
* tag peers based on usefulness
* finish connecting to providers
2020-01-17 16:08:59 -08:00
Steven Allen
1045a31e1d fix: use pre-defined relays for autorelay
Unfortunately, we don't currently have any way to pick out good relays from bad.
That means we keep searching, trying bad relays, searching some more, trying
_the same relays_, etc. until we randomly find 3 good stable relays. In
practice, this means we just keep searching forever and keep thrashing the DHT.

see https://github.com/libp2p/go-libp2p/issues/694
2020-01-17 16:08:59 -08:00
Steven Allen
557c627e0a chore(dep): update libp2p deps
fixes https://github.com/ipfs/go-ipfs/issues/6197
related to https://github.com/libp2p/go-libp2p/issues/732
2020-01-17 16:08:59 -08:00
Steven Allen
cef8c3c1a4 test: handle murmur3 rename 2020-01-17 16:08:57 -08:00
Steven Allen
5bbf20d3f4 test: handle id -> identity rename
"identity" is the official name
2020-01-17 14:45:35 -08:00
Steven Allen
85f0125450 chore(dep): update go-cid/go-multihash
* fix a bunch of bugs
2020-01-17 13:11:43 -08:00
Steven Allen
15cdea84c5 chore(dep): update xerrors to fix go 1.13 build error 2020-01-17 13:11:43 -08:00
Steven Allen
d87686bdac fix: update bbloom to fix race conditions 2020-01-17 13:11:43 -08:00
Marcin Rataj
455e498355 fix: limit SW registration to content root
Introduces hardening proposed in:
https://github.com/ipfs/go-ipfs/issues/4025#issuecomment-342250616

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-01-17 13:11:43 -08:00
hucg
9aa2f07f1f fix issue 6760, adding with hash-only, high CPU usage. 2020-01-17 13:11:36 -08:00
Steven Allen
745708b85e fix(coreapi/add): close the fake repo used when adding with hash-only
fixes #6744
2020-01-17 13:11:04 -08:00
hucg
6ded0ba0f8 fix bug 6748
ipfs add whit only hash, don't need to announce cid to other peer
2020-01-17 13:11:04 -08:00
Steven Allen
456137b3fa fix(pin): wait till after fetching to remove direct pin
Otherwise, we could abort while fetching the graph and stay in a state where the
direct pin is removed.

fixes #4650
2020-01-17 13:11:04 -08:00
Steven Allen
c69e347be0 pin: fix pin update X Y where X==Y
We were pining Y then removing the pin for X. When X == Y, we'd remove the new
pin.

fixes #6648
2020-01-17 13:11:04 -08:00
Steven Allen
36c0cbf4e1 namesys: set the correct cache TTL on publish
fixes https://github.com/ipfs/go-ipfs/issues/6656#issuecomment-534252128
2020-01-17 13:11:01 -08:00
Steven Allen
721c1abe4c build: fix golangci again
The patches that required the replace directives have been merged upstream.
Unfortunately, those branches have now been deleted, breaking the build.

GAH!
2020-01-17 12:23:14 -08:00
Steven Allen
71133b6765 make: move all test deps to a separate module
1. This means those deps don't get pulled in unless we actually need to test.
2. It means we can cordon all the golangci-lint module replace hacks off into a
   separate package.
2020-01-17 12:23:14 -08:00
Steven Allen
6131b7f145 fix: close peerstore on stop
fixes #6627
2020-01-17 12:23:12 -08:00
Steven Allen
fb12025c97
Merge pull request #6834 from ipfs/fix/static-autorelay
fix: use pre-defined relays for autorelay
2020-01-17 10:30:43 -08:00
Steven Allen
589f450823
Merge pull request #6835 from ipfs/fix/sharness-typo
test(sharness): fix typo
2020-01-17 10:30:05 -08:00
Steven Allen
39bf95bb09
Merge pull request #6825 from ipfs/test/webui-e2e-interop
test: E2E tests against ipfs-webui HEAD
2020-01-17 10:29:30 -08:00
Steven Allen
3385367bdc test(sharness): fix typo 2020-01-17 10:27:36 -08:00
Steven Allen
182b75177b
test(ci): update node for webui tests
Co-Authored-By: Hugo Dias <hugomrdias@gmail.com>
2020-01-17 09:56:54 -08:00
Marcin Rataj
692af948ac test: E2E tests against ipfs-webui HEAD
This adds interop/regression tests against ipfs-webui repo.

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-01-17 16:11:51 +01:00
Steven Allen
98d2fef6ec fix: use pre-defined relays for autorelay
Unfortunately, we don't currently have any way to pick out good relays from bad.
That means we keep searching, trying bad relays, searching some more, trying
_the same relays_, etc. until we randomly find 3 good stable relays. In
practice, this means we just keep searching forever and keep thrashing the DHT.

see https://github.com/libp2p/go-libp2p/issues/694
2020-01-17 06:28:23 -08:00
Steven Allen
77298e1e90 build: fix build when we don't have a full git tree
When building with docker, we don't have a _full_ git repo.
2020-01-16 18:24:37 -08:00
Steven Allen
f513d52425
Merge pull request #6833 from ipfs/fix/mkrelease
mkreleaslog: improve edge-cases
2020-01-16 16:21:17 -08:00
Steven Allen
399546a320 fix(mkreleaselog): continue even if we fail to fetch a dep
We might as well generate as much of the changelog as we can.
2020-01-16 15:42:49 -08:00