Commit Graph

14524 Commits

Author SHA1 Message Date
Henrique Dias
4e3008fdf3
docs: add changelog info for QUIC Draft 29 (#10132)
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2023-09-20 13:27:52 +02:00
Jorropo
62a14d9094
Merge pull request #10108 from ipfs/gateway-http-over-libp2p
feat: add gateway to http over libp2p
2023-09-20 10:54:54 +02:00
Jorropo
3f33e61d3a chore: update to go1.21 for gateway over libp2p 2023-09-20 10:47:03 +02:00
Jorropo
2acb6c6cbb migration: update 14-to-15 to v1.0.1 2023-09-20 10:23:13 +02:00
Henrique Dias
d4c4f6c39c chore: bump boxo to 0.13.0 2023-09-20 09:57:20 +02:00
Adin Schmahmann
a9737e4d6a chore: update to build with Go 1.21 2023-09-18 17:05:32 +02:00
Icarus9913
9fdb085605
refactor: stop using go-libp2p deprecated peer.ID.Pretty
Signed-off-by: Icarus9913 <icaruswu66@qq.com>
2023-09-18 15:58:15 +02:00
P. Reis
1f0f2a72f4 docs(readonly): fix typo 2023-09-18 10:32:32 +02:00
Marcin Rataj
dbf6a05f42 docs(changelog): link to relevant IPIP 2023-09-16 22:24:30 +02:00
Marcin Rataj
3fa7ef8879
fix: run http+libp2p test against correct port
seems we were testing regular gateway instead of proxied one
2023-09-06 03:20:12 +02:00
Marcin Rataj
8d28507814
docs: gateway-http-over-libp2p 2023-09-06 02:57:14 +02:00
Marcin Rataj
1efd9d47aa
refactor(ci): libp2p conformance is separate job
this ensures the libp2p experiment runs independently
and its failure does not impact the result of job
that tests stable features on http port
2023-09-06 01:57:51 +02:00
Russell Dempsey
0eeb1f5a2f
fix: hamt traversal in ipld-explorer (webui@4.1.0) (#10025)
https://github.com/ipfs/ipfs-webui/releases/tag/v4.1.0
2023-09-05 18:42:20 +02:00
Kay
2c66ea6995
refactor: if statement (#10105) 2023-09-05 15:35:51 +02:00
Piotr Galar
3e5e91dbbe
ci: remove obsolete protocol/cache-go-action (#10114) 2023-09-05 09:30:09 +02:00
dependabot[bot]
ac4d10faae
chore(deps): bump actions/setup-go from 2 to 4 (#9976)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
2023-09-05 08:45:59 +02:00
dependabot[bot]
666fc9f924
chore(deps): bump protocol/multiple-go-modules from 1.2 to 1.4 (#9978)
Bumps [protocol/multiple-go-modules](https://github.com/protocol/multiple-go-modules) from 1.2 to 1.4.
- [Release notes](https://github.com/protocol/multiple-go-modules/releases)
- [Commits](https://github.com/protocol/multiple-go-modules/compare/v1.2...v1.4)

---
updated-dependencies:
- dependency-name: protocol/multiple-go-modules
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
2023-09-05 08:45:49 +02:00
dependabot[bot]
d8bcc4a7f2
chore(deps): bump actions/setup-node from 2 to 3 (#9993)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
2023-09-05 08:45:39 +02:00
dependabot[bot]
2690e083b4
chore(deps): bump actions/checkout from 3 to 4 (#10112)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 08:33:32 +02:00
Henrique Dias
6e1b731a65 chore: bump repo version to 15 2023-09-04 12:40:21 +02:00
Adin Schmahmann
df66dacc26 test(sharness): update ping test since go-libp2p v0.31.0 changed the reported error message 2023-09-01 16:52:12 -04:00
Adin Schmahmann
d86192a9bf changelog(gateway-over-libp2p): add gateway-over-libp2p changelog 2023-09-01 16:52:12 -04:00
Adin Schmahmann
f2c43d5bbf feat(config): Add gateway-over-libp2p experiment 2023-09-01 16:52:09 -04:00
Adin Schmahmann
b8c741d8bf test(gateway-conformance): also run gateway conformance tests against a gateway-over-libp2p endpoint 2023-09-01 16:51:32 -04:00
Adin Schmahmann
2a1d91f67a test(gateway): add harness tests for gateway over libp2p 2023-08-31 04:54:39 -04:00
Adin Schmahmann
bf548a3cc6 fix(gateway): close http-over-libp2p host when the node is ready to shutdown 2023-08-31 04:54:39 -04:00
Adin Schmahmann
bc6bee1585 rename Libp2pGatewayOption and hard code its gateway configuration 2023-08-31 03:51:48 -04:00
Adin Schmahmann
9d32f71e22 move the gateway-over-libp2p mountpoint to the root 2023-08-31 03:49:35 -04:00
Adin Schmahmann
5b0da08333 fix: use /ipfs/gateway as the protocol ID for serving the gateway over libp2p 2023-08-31 03:48:23 -04:00
Adin Schmahmann
fb5cacac86 test(harness): use SIGKILL to terminate daemons in Windows testing 2023-08-31 01:47:35 -04:00
Adin Schmahmann
a11c542408 test(harness): skip environment variables starting with = 2023-08-31 00:30:56 -04:00
Jorropo
f7aa1204b1 feat: add gateway to http over libp2p 2023-08-30 18:51:22 +02:00
Santiago Botto
f7ab1e0b24
docs: remove link to deleted #accelerated-dht-client 2023-08-30 07:19:37 +02:00
Henrique Dias
4606586207
feat(gateway): expose /routing/v1 server (opt-in) (#9877) 2023-08-25 17:30:04 +02:00
Will Scott
86bde2894f improve error in fuse node failures 2023-08-25 09:09:51 -04:00
Piotr Galar
16859b3c70
ci: allow custom tags in docker-image workflow (#10099)
* ci: allow custom ref and tags in docker-image workflow

* fix: ref default in case the workflow runs on push

* chore: remove customisable ref from docker-image
2023-08-25 08:24:19 +02:00
Henrique Dias
5ea58251d5
chore: update boxo, go-libp2p, and internalize mplex (#10095) 2023-08-24 06:11:02 +00:00
Jorropo
8ac25bbbef dockerfile: reorder copy order for better layer caching
Because Kubo is the part changing more often it's better to copy after so docker can reuse the utilities layers.
2023-08-23 22:18:01 +02:00
Kay
2b7c20fc66
refactor: using error is instead of == (#10093) 2023-08-22 14:53:29 +00:00
Henrique Dias
1e5ce93659 fix: use %-encoded headers in most compatible way 2023-08-22 15:43:01 +02:00
Henrique Dias
5e9bad9804 fix: open /dev/null with read write permissions
The way we create the kubo binary for coverage is very hacky.
It uses the testing tool. In order to simulate a Kubo binary,
we need to supress all the output that would otherwise be printed
by 'go test'.

So far, we were setting os.Stdout and os.Stderr as a read-only
/dev/null file descriptor. This is causing issues with the new
versions of Go:

    error generating coverage report: write /dev/null: bad file descriptor
    exit status 2

Updating it to a Read-Write file descriptor solves the problem.
I did not try looking into what is causing this issue now. There have
been some updates to the 'go test' tool in Go 1.20 and it is likely
that some error is now being checked for that hasn't been checked
before. Writing to a read-only file descriptor always failed. But
the error was just supressed somehow.
2023-08-22 15:43:01 +02:00
Henrique Dias
2aa721b121 chore: bump to go 1.20
- Bumps golangci-lint to work for the new Go version
- Removes rand.Seed, which has been deprecated. It is seeded by default
  with a random value since Go 1.20.
- Replaces deprecated Fuse errors with syscall.Errno
2023-08-22 15:43:01 +02:00
Marcin Rataj
c349248891
docs(readme): new logo and header 2023-08-22 11:20:14 +02:00
Laurent Senta
dccd95f154
ci: upload conformance logs 2023-08-21 12:58:27 +02:00
Laurent Senta
400dc1b2e4
ci: upload conformance logs 2023-08-21 12:49:38 +02:00
Jorropo
b3e8ddf717 docker: change to releases that follow debian's updates 2023-08-19 01:11:26 +02:00
Jorropo
af2bdf1e00 docker: bump debian version to bookworm 2023-08-18 20:16:35 +02:00
Henrique Dias
535d35e161
chore: restore exec perms for t0116-gateway-cache.sh and fixtures (#10085) 2023-08-18 09:34:42 +02:00
Marcin Rataj
733b01a37b
fix(gw): useful IPIP-402 CARs on not found errors (#10084)
Co-authored-by: Henrique Dias <hacdias@gmail.com>
2023-08-18 06:54:08 +00:00
Amir Mohammad Fakhimi
ced348366c
feat: add zsh completions (#10040)
Co-authored-by: Henrique Dias <hacdias@gmail.com>
2023-08-17 16:43:27 +02:00