Commit Graph

13852 Commits

Author SHA1 Message Date
Marcin Rataj
a9fdf26eeb fix(ci): work around bifrost-infra/issues/2300
https://github.com/protocol/bifrost-infra/issues/2300#issuecomment-1398946009
2023-01-23 12:05:11 +01:00
Jorropo
486c4b5256 fix: ensure connmgr is smaller then autoscalled ressource limits
Fixes #9545
2023-01-23 12:05:02 +01:00
Jorropo
5bbc5212ee fix: typo in ensureConnMgrMakeSenseVsResourcesMgr 2023-01-23 12:04:56 +01:00
Jorropo
0ae3285a76 docs: clarify browser descriptions for webtransport 2023-01-23 12:04:50 +01:00
galargh
37059b82f7 fix: update saxon download path 2023-01-23 12:04:43 +01:00
Jorropo
c4cc21dcca fix: refuse to start if connmgr is smaller than ressource limits and not using none connmgr
Fixes: #9548
2023-01-23 12:04:35 +01:00
Marcin Rataj
7bcca5fcd4 fix: User-Agent sent to HTTP routers
See https://github.com/ipfs/go-libipfs/issues/17
and https://github.com/ipfs/go-libipfs/pull/31
2023-01-23 12:04:25 +01:00
Gus Eggert
02d4a0100f test: port gateway sharness tests to Go tests 2023-01-23 12:04:18 +01:00
galargh
a7b23d8a49 fix: do not download saxon in parallel 2023-01-23 12:04:05 +01:00
Piotr Galar
b11a8a960f Merge pull request #9546 from ipfs/docker-image
fix: docker image publishing and experimental gh workflow
2023-01-23 12:03:28 +01:00
galargh
bfdaf2ffbf fix: docker image publishing 2023-01-23 12:03:02 +01:00
Antonio Navarro Perez
89cdd8264f docs: improve docs/README (#9539)
Avoid confusion about what kind of documentation we have on this folder.
2023-01-23 12:02:37 +01:00
Marcin Rataj
8b2d21c235 chore: switch actions to master 2023-01-23 12:02:19 +01:00
Piotr Galar
d889a07671 test: port CircleCI to GH Actions and improve sharness reporting (#9355)
Closes https://github.com/ipfs/kubo/issues/8991
Part of https://github.com/ipfs/kubo/issues/8804
2023-01-23 12:01:58 +01:00
Henrique Dias
4ddeda55c0 chore: migrate from go-ipfs-files to go-libipfs/files (#9535) 2023-01-23 12:01:20 +01:00
Antonio Navarro Perez
2759a229c7 fix: stats dht command when Routing.Type=auto (#9538)
Fixes default auto mode, but Routing.Type=custom needs more work.
Continued in https://github.com/ipfs/kubo/issues/9482
2023-01-23 12:01:02 +01:00
Jorropo
5138e7ba07 fix: hint people to changing from RSA peer ids 2023-01-23 12:00:42 +01:00
Marcin Rataj
b333740468 fix(gateway): JSON when Accept is a list
Block/CAR responses always had single explicit type, and we did not bother
with implementing/testing lists.

With the introduction of JSON people may start passing a list.
This is the most basic fix which will return on the first matching
type (in order). This does not implements weights (can be added in
future, if needed).

Closes #9520
2023-01-23 12:00:22 +01:00
Marcin Rataj
b22aae76a4 fix(test): retry flaky t0125-twonode.sh
This makes is clear why test failed, and what were values.

Fixes flaky test: It will re-run flaky advanced test until bitswap stats
match expected value (something team has been doing anyway for the past
year).

It also adds /quic-v1 and /webtransport tests
2023-01-23 11:59:59 +01:00
Antonio Navarro Perez
1f3e1d1120 docs: fix Router config Godoc (#9528)
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-23 11:59:29 +01:00
Marcin Rataj
9d8d2748b1 fix(ci): flaky sharness test 2023-01-23 11:59:00 +01:00
Antonio Navarro Perez
04931b042d docs(config): ProviderSearchDelay (#9526)
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-23 11:58:38 +01:00
Vladimir Ivanov
26edc75eaa docs: clarify debug environment variables 2023-01-23 11:58:03 +01:00
galargh
60092924a9 chore: update version.go 2023-01-04 09:04:09 +00:00
Marcin Rataj
648f765afa fix(test): stabilize flaky provider tests 2023-01-04 09:45:59 +01:00
Marten Seemann
15ed4c1c02 fix: update go-libp2p to v0.24.2 (#9522)
https://github.com/libp2p/go-libp2p/releases/tag/v0.24.2
2023-01-04 09:45:53 +01:00
Gus Eggert
c8442bcf19 feat: port pins CLI test 2023-01-04 09:45:44 +01:00
Piotr Galar
e44a4d9228 Merge pull request #9503 from ipfs/docs/early-testers-remove-qri
Removing QRI from early tester
2023-01-04 09:43:00 +01:00
Antonio Navarro Perez
d6069b93ee
fix: disable provide over HTTP with Routing.Type=auto (#9511)
Closes https://github.com/ipfs/kubo/issues/9504
2023-01-03 21:10:33 +01:00
Piotr Galar
ae774a3548
Update version.go 2022-12-13 11:19:59 +01:00
Kubo Mage
ef83ce0912 'chore: update version.go' 2022-12-13 09:08:33 +00:00
Piotr Galar
fd0e77505f
Merge pull request #9497 from ipfs/docs/changelog-0.18-updates
Clened up 0.18 changelog for release
2022-12-13 09:39:03 +01:00
Piotr Galar
5dcd9ad14b
Update docs/changelogs/v0.18.md 2022-12-13 09:29:57 +01:00
Steve Loeppky
861c3f803a Cleaned up content 2022-12-12 21:55:55 -08:00
Steve Loeppky
e1f5cf53b6 Reodered sections and updated titles 2022-12-12 21:12:50 -08:00
Steve Loeppky
477c97ccf1 Added autogenerated TOC 2022-12-12 18:00:46 -08:00
Steve Loeppky
9ddfbcf7fe Add resource manager to changelog 2022-12-12 17:58:15 -08:00
Jorropo
ffb635d797
Merge pull request #9492 from ipfs/default-webtransport
feat: turn on WebTransport by default
2022-12-12 22:57:09 +01:00
Jorropo
e927dc8e59 fix: correct libp2p transports TODO comments 2022-12-12 22:26:48 +01:00
Jorropo
710d3208af feat: update upgrade repo from 12 to 13
Fixes: #9292
2022-12-12 21:57:02 +01:00
Jorropo
16d189b8b8 feat: turn on WebTransport by default
Fixes #9292
2022-12-12 21:56:55 +01:00
Henrique Dias
7bdb341132
feat: fast directory listings with DAG Size column (#9481)
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-12-12 21:45:13 +01:00
Gus Eggert
579175f81d feat: add basic CLI tests using Go Test
This is intended as a replacement for sharness. These are vanilla Go
tests which can be run in your IDE for quick iteration on end-to-end
CLI tests.

This also removes IPTB by duplicating its functionality in the test
harness. This isn't a big deal...IPTB's complexity is mostly around
the fact that its state needs to be saved to disk in between `iptb`
command invocations, and that it uses Go plugins to inject
functionality, neither of which are relevant here.

If we merge this, we'll have to live with bifurcated tests for a while
until they are all migrated. I'd recommend we self-enforce a rule
that, if we need to touch a sharness test, we migrate it and one more
test over to Go tests first. Then eventually we will have migrated
everything.
2022-12-12 09:43:09 -05:00
Piotr Galar
08e9bb38ca
Merge pull request #9485 from ipfs/changelog-v0.18.0
Changelog: v0.18.0
2022-12-12 11:36:14 +01:00
Marcin Rataj
3a3a97100c feat: go-libp2p-kad-dht with expiration 48h
https://github.com/libp2p/go-libp2p-kad-dht/releases/tag/v0.20.0
(cherry picked from commit f31d524d14)
2022-12-12 03:47:17 +01:00
Jorropo
deacafd178 chore: update go-libp2p to v0.24.1 2022-12-12 03:47:17 +01:00
Jorropo
76e0caa936 fix: remove the imports work-around
It seems to be fine now that everything has been updated.
2022-12-12 03:47:17 +01:00
Jorropo
47cbc3e3ce fix: replace quic to quic-v1 for webtransport sharness 2022-12-12 03:47:17 +01:00
Jorropo
a3e09af203 fix: silence staticcheck warning for fx.Extract usage
See https://github.com/ipfs/kubo/pull/9423#issuecomment-1341038770
2022-12-12 03:47:17 +01:00
Jorropo
f08b439d48 update go-libp2p to v0.24.0 2022-12-12 03:47:17 +01:00