Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge new changes from upstream master [skip changelog] #4

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
fc52fbb
chore: Update .github/workflows/stale.yml [skip ci]
web-flow Jan 31, 2024
1a3b8d7
chore: Update .github/dependabot.yml [skip ci]
web-flow Jan 31, 2024
efdef7f
chore: migrate from pl-strflt to ipdxco
galargh Feb 1, 2024
1628289
chore(deps): bump codecov/codecov-action from 3.1.4 to 4.0.1
dependabot[bot] Feb 5, 2024
dccbfcf
refactor: superfluous namespace test redirects (#10322)
hacdias Feb 6, 2024
80973d8
core: deprecate CoreAPI.Dht, introduce CoreAPI.Routing
hacdias Jan 31, 2024
1ef8f83
core/commands: remove 'ipfs dht' commands, except 'query' (#10328)
hacdias Feb 7, 2024
f4ff4f7
docs(config): mention routing v1 spec
lidel Feb 6, 2024
eb7f663
commands/add: return an error when using --only-hash and --to-files
MichaelMure Oct 19, 2023
68f9556
docs: clarify Gateway.ExposeRoutingAPI (#10337)
lidel Feb 9, 2024
1514785
chore: fix link
lidel Feb 9, 2024
595e1ba
repo/fsrepo/migrations: verified HTTP migrations (#10324)
hacdias Feb 19, 2024
1d659ea
chore: boxo v0.18.0 (#10343)
hacdias Feb 20, 2024
e6c7032
chore: update version
hacdias Feb 20, 2024
35609d6
chore: update version
hacdias Feb 20, 2024
9ea1075
docs: improve release issue template
hacdias Feb 20, 2024
cd6d5c0
chore: bump to go-libp2p 0.33
hacdias Feb 27, 2024
dc7a0ab
ci: bump conformance tests Go to 1.21
hacdias Feb 27, 2024
121cfae
ci: upgrade CodeQL to v3
hacdias Feb 27, 2024
a01cc58
test: cleanup content blocking tests (#10360)
lidel Mar 1, 2024
e803e86
docs: improve release issue template
hacdias Feb 20, 2024
30fe155
chore: bump to go-libp2p 0.33
hacdias Feb 27, 2024
30ba0d7
ci: bump conformance tests Go to 1.21
hacdias Feb 27, 2024
a9fc6dd
ci: upgrade CodeQL to v3
hacdias Feb 27, 2024
810955f
test: cleanup content blocking tests (#10360)
lidel Mar 1, 2024
4bc1939
chore: update version
hacdias Mar 1, 2024
d44d7af
chore: update version
hacdias Mar 4, 2024
10e6a20
chore: update changelog for v0.27
hacdias Mar 4, 2024
59bcea8
Merge pull request #10344 from ipfs/release-v0.27.0
hacdias Mar 4, 2024
053a501
Merge branch 'master' into merge-release-v0.27.0
hacdias Mar 4, 2024
818a98d
Merge pull request #10362 from ipfs/merge-release-v0.27.0
hacdias Mar 4, 2024
ef40666
chore: create next changelog
hacdias Mar 4, 2024
2b7a390
chore: update dependencies
hacdias Mar 4, 2024
d7fb526
revert kad dht
hacdias Mar 4, 2024
fcbdf39
chore: create FUNDING.yml
SgtPooki Feb 27, 2024
d60b7cd
ci: upgrade to go 1.22 (#10355)
hacdias Mar 5, 2024
d77a9e6
client/rpc!: remove deprecated DHT commands
hacdias Feb 27, 2024
e22f47a
core/corehttp!: remove /api/v0 from gateway port
hacdias Mar 5, 2024
7d94643
Merge branch 'master' into upstream-master
Mar 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
custom: [ipshipyard.gitwallet.co]
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- 'master'

env:
GO_VERSION: 1.21.x
GO_VERSION: 1.22.x

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }}
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,19 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: go

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: 1.22.x
- uses: actions/checkout@v4
- run: docker build -t $IMAGE_NAME:$WIP_IMAGE_TAG .
- run: docker run --rm $IMAGE_NAME:$WIP_IMAGE_TAG --version
4 changes: 2 additions & 2 deletions .github/workflows/gateway-conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: 1.22.x
- uses: protocol/cache-go-action@v1
with:
name: ${{ github.job }}
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.20.x
go-version: 1.22.x
- uses: protocol/cache-go-action@v1
with:
name: ${{ github.job }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: 1.22.x
- uses: actions/checkout@v4
- run: make cmd/ipfs-try-build
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golang-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
submodules: recursive
- uses: actions/setup-go@v5
with:
go-version: "1.21.x"
go-version: "1.22.x"
- name: Check that go.mod is tidy
uses: protocol/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: 1.22.x
- uses: actions/checkout@v4
- run: make -O test_go_lint
10 changes: 5 additions & 5 deletions .github/workflows/gotest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: 1.22.x
- name: Check out Kubo
uses: actions/checkout@v4
- name: Install missing tools
Expand All @@ -45,7 +45,7 @@ jobs:
make -j "$PARALLEL" test/unit/gotest.junit.xml &&
[[ ! $(jq -s -c 'map(select(.Action == "fail")) | .[]' test/unit/gotest.json) ]]
- name: Upload coverage to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0.1
if: failure() || success()
with:
name: unittests
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
mv go.sum.bak go.sum
working-directory: docs/examples/kubo-as-a-library
- name: Create a proper JUnit XML report
uses: pl-strflt/gotest-json-to-junit-xml@v1
uses: ipdxco/gotest-json-to-junit-xml@v1
with:
input: test/unit/gotest.json
output: test/unit/gotest.junit.xml
Expand All @@ -85,7 +85,7 @@ jobs:
path: test/unit/gotest.junit.xml
if: failure() || success()
- name: Create a HTML report
uses: pl-strflt/junit-xml-to-html@v1
uses: ipdxco/junit-xml-to-html@v1
with:
mode: no-frames
input: test/unit/gotest.junit.xml
Expand All @@ -98,7 +98,7 @@ jobs:
path: test/unit/gotest.html
if: failure() || success()
- name: Create a Markdown report
uses: pl-strflt/junit-xml-to-html@v1
uses: ipdxco/junit-xml-to-html@v1
with:
mode: summary
input: test/unit/gotest.junit.xml
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/sharness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: 1.22.x
- name: Checkout Kubo
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
# increasing parallelism beyond 10 doesn't speed up the tests much
PARALLEL: ${{ github.repository == 'ipfs/kubo' && 10 || 3 }}
- name: Upload coverage report
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0.1
if: failure() || success()
with:
name: sharness
Expand All @@ -73,15 +73,15 @@ jobs:
echo >> $GITHUB_STEP_SUMMARY
cat kubo/test/sharness/test-results/summary.txt >> $GITHUB_STEP_SUMMARY
- name: Generate one-page HTML report
uses: pl-strflt/junit-xml-to-html@v1
uses: ipdxco/junit-xml-to-html@v1
if: failure() || success()
with:
mode: no-frames
input: kubo/test/sharness/test-results/sharness.xml
output: kubo/test/sharness/test-results/sharness.html
- name: Upload one-page HTML report to S3
id: one-page
uses: pl-strflt/tf-aws-gh-runner/.github/actions/upload-artifact@main
uses: ipdxco/custom-github-runners/.github/actions/upload-artifact@main
if: github.repository == 'ipfs/kubo' && (failure() || success())
with:
source: kubo/test/sharness/test-results/sharness.html
Expand All @@ -93,15 +93,15 @@ jobs:
name: sharness.html
path: kubo/test/sharness/test-results/sharness.html
- name: Generate full HTML report
uses: pl-strflt/junit-xml-to-html@v1
uses: ipdxco/junit-xml-to-html@v1
if: failure() || success()
with:
mode: frames
input: kubo/test/sharness/test-results/sharness.xml
output: kubo/test/sharness/test-results/sharness-html
- name: Upload full HTML report to S3
id: full
uses: pl-strflt/tf-aws-gh-runner/.github/actions/upload-artifact@main
uses: ipdxco/custom-github-runners/.github/actions/upload-artifact@main
if: github.repository == 'ipfs/kubo' && (failure() || success())
with:
source: kubo/test/sharness/test-results/sharness-html
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Kubo Changelogs

- [v0.28](docs/changelogs/v0.28.md)
- [v0.27](docs/changelogs/v0.27.md)
- [v0.26](docs/changelogs/v0.26.md)
- [v0.25](docs/changelogs/v0.25.md)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.21 AS builder
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.22 AS builder

ARG TARGETOS TARGETARCH

Expand Down
4 changes: 0 additions & 4 deletions client/rpc/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,6 @@ func (api *HttpApi) Object() iface.ObjectAPI {
return (*ObjectAPI)(api)
}

func (api *HttpApi) Dht() iface.DhtAPI {
return (*DhtAPI)(api)
}

func (api *HttpApi) Swarm() iface.SwarmAPI {
return (*SwarmAPI)(api)
}
Expand Down
113 changes: 0 additions & 113 deletions client/rpc/dht.go

This file was deleted.

Loading
Loading