Commit Graph

14499 Commits

Author SHA1 Message Date
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
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
Henrique Dias
cc79eeb91c style: remove commented imports [skip changelog] 2023-08-17 14:43:08 +02:00
Kay
f12b372af9
style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
Jorropo
b4f415088f chore: bump boxo for verifcid breaking changes
This is a Q&D fix to get kubo building again, this is completely equivalent to what we used to have.
I'll submit a patch that DI the verifcid.Allowlist interface with fx later but this is needed to unblock something else.
2023-08-17 13:41:30 +02:00
Jorropo
9e078e6d46
chore: remove outdated comment (#10077)
The link is present line 100
2023-08-17 05:45:45 +00:00
Henrique Dias
3bcc89b78a chore: remove deprecated testground plans 2023-08-15 17:55:00 +02:00
Jorropo
f805b9fcda feat: allow users to optin again into mplex
This is a partial revert of 7220409394.

Closes #9958
2023-08-15 14:53:44 +02:00
Jorropo
7220409394 feat: remove Mplex
Mplex does not implement backpressure, our implementation will randomly reset streams if buffers overflow instead of risking deadlocks.

In the past we had a bug where kubo nodes would prefer mplex over yamux. Turning off mplex make our connections to thoses nodes negociate yamux.

Closes #9958
2023-08-15 11:35:45 +02:00
Marcin Rataj
0c57a4f622
docs(readme): minimal reqs (#10066) 2023-08-14 15:45:36 +02:00
Jorropo
fe94dade32 docs: add v0.23.md 2023-08-14 15:04:36 +02:00
Jorropo
ea4bf382af docs: get ready for v0.23 2023-08-14 15:01:41 +02:00
Marcin Rataj
54ac8124c3
chore: fix link in v0.22 changelog 2023-08-09 20:58:54 +02:00
Jorropo
3f884d3155
Merge pull request #10060 from ipfs/release-v0.22.0
Release v0.22.0
2023-08-08 16:50:50 +02:00
Jorropo
f5164d77eb chore: change version to v0.22.0 2023-08-08 16:42:12 +02:00
Jorropo
efa179fce4 changelog: add mkreleaselog for v0.22 2023-08-08 16:42:12 +02:00
UnkwUsr
2a20180819 chore(misc/README.md): trim duplicated content 2023-08-08 15:21:47 +02:00
Jorropo
b8e393056c chore: bump go-libp2p v0.29.2 2023-08-08 14:26:58 +02:00
Jorropo
f1ec5298a9 Merge branch 'release-v0.21' back into master 2023-08-08 14:18:32 +02:00
Jorropo
a2092bab53
Merge pull request #10057 from ipfs/release-v0.21.1
Release v0.21.1
2023-08-08 14:09:30 +02:00
Jorropo
c37485ad29 ci: add workflow_dispatch to gateway conformance
(cherry picked from commit cfc142d85b)
2023-08-08 14:01:19 +02:00
Jorropo
bc0d1a4607 chore: change version to 0.21.1 2023-08-08 14:01:19 +02:00
Jorropo
61e0779f66 changelog: make v0.21.1 2023-08-08 14:01:19 +02:00
Jorropo
50e03fdd1d chore: update go-libp2p to v0.27.9 2023-08-08 14:01:19 +02:00
Jorropo
cee9052f2b chore: update boxo to v0.10.3 2023-08-08 14:01:19 +02:00
Jorropo
cfc142d85b ci: add workflow_dispatch to gateway conformance 2023-08-08 13:20:04 +02:00
Jorropo
3fe788028c chore: bump go-libp2p to v0.27.8 2023-08-08 11:36:46 +02:00