Skip to content

Commit e0fabd6

Browse files
authored
Merge pull request #9133 from ipfs/release-v0.14.0
Release v0.14.0
2 parents 8ffc7a8 + 77747e3 commit e0fabd6

File tree

289 files changed

+14576
-12766
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+14576
-12766
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
- checkout
1010
- run:
1111
name: Generate params
12-
# for builds on the ipfs/go-ipfs repo, use 2xlarge for faster builds
12+
# for builds on the ipfs/kubo repo, use 2xlarge for faster builds
1313
# but since this is not available for many contributors, we otherwise use medium
1414
command: |
1515
echo $CIRCLE_REPOSITORY_URL
16-
if [ "$CIRCLE_REPOSITORY_URL" = '[email protected]:ipfs/go-ipfs.git' ]; then
16+
if [ "$CIRCLE_REPOSITORY_URL" = '[email protected]:ipfs/kubo.git' ]; then
1717
resource_class=2xlarge
1818
make_jobs=10
1919
else

.circleci/main.yml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ aliases:
1414
restore_gomod: &restore_gomod
1515
restore_cache:
1616
keys:
17-
- v5-dep-{{ .Branch }}-{{ checksum "~/ipfs/go-ipfs/go.sum" }}-{{ .Environment.CIRCLE_JOB }}
18-
- v5-dep-{{ .Branch }}-{{ checksum "~/ipfs/go-ipfs/go.sum" }}-
17+
- v5-dep-{{ .Branch }}-{{ checksum "~/ipfs/kubo/go.sum" }}-{{ .Environment.CIRCLE_JOB }}
18+
- v5-dep-{{ .Branch }}-{{ checksum "~/ipfs/kubo/go.sum" }}-
1919
- v5-dep-{{ .Branch }}-
2020
- v5-dep-master-
2121
store_gomod: &store_gomod
2222
save_cache:
23-
key: v5-dep-{{ .Branch }}-{{ checksum "~/ipfs/go-ipfs/go.sum" }}-{{ .Environment.CIRCLE_JOB }}
23+
key: v5-dep-{{ .Branch }}-{{ checksum "~/ipfs/kubo/go.sum" }}-{{ .Environment.CIRCLE_JOB }}
2424
paths:
2525
- ~/go/pkg/mod
2626
- ~/.cache/go-build/
@@ -38,7 +38,7 @@ executors:
3838
golang:
3939
docker:
4040
- image: cimg/go:1.18.3
41-
working_directory: ~/ipfs/go-ipfs
41+
working_directory: ~/ipfs/kubo
4242
environment:
4343
<<: *default_environment
4444
TEST_NO_DOCKER: 1
@@ -47,13 +47,13 @@ executors:
4747
node:
4848
docker:
4949
- image: circleci/node:14
50-
working_directory: ~/ipfs/go-ipfs
50+
working_directory: ~/ipfs/kubo
5151
environment:
5252
<<: *default_environment
5353
node-browsers:
5454
docker:
55-
- image: circleci/node:14-browsers
56-
working_directory: ~/ipfs/go-ipfs
55+
- image: circleci/node:16.12.0-browsers
56+
working_directory: ~/ipfs/kubo
5757
environment:
5858
<<: *default_environment
5959
NO_SANDBOX: true
@@ -64,7 +64,7 @@ executors:
6464
docker:
6565
- image: cimg/go:1.18.3
6666
environment:
67-
IMAGE_NAME: ipfs/go-ipfs
67+
IMAGE_NAME: ipfs/kubo
6868
WIP_IMAGE_TAG: wip
6969

7070
jobs:
@@ -108,22 +108,22 @@ jobs:
108108
command: bash <(curl -s https://codecov.io/bash) -cF unittests -X search -f coverage/unit_tests.coverprofile
109109
- run:
110110
command: |
111-
# we want to first test with the go-ipfs in the go.mod file
111+
# we want to first test with the kubo version in the go.mod file
112112
go test -v ./...
113113
114-
# we also want to test the examples against the current version of go-ipfs
114+
# we also want to test the examples against the current version of kubo
115115
# however, that version might be in a fork so we need to replace the dependency
116116
117117
# backup the go.mod and go.sum files to restore them after we run the tests
118118
cp go.mod go.mod.bak
119119
cp go.sum go.sum.bak
120120
121-
# make sure the examples run against the current version of go-ipfs
122-
go mod edit -replace github.com/ipfs/go-ipfs=./../../..
121+
# make sure the examples run against the current version of kubo
122+
go mod edit -replace github.com/ipfs/kubo=./../../..
123123
go mod tidy
124124
125-
# use the internal config package when we test the current version of go-ipfs
126-
sed -i.bak 's;"github.com/ipfs/go-ipfs-config";"github.com/ipfs/go-ipfs/config";' ./main.go
125+
# use the internal config package when we test the current version of kubo
126+
sed -i.bak 's;"github.com/ipfs/go-ipfs-config";"github.com/ipfs/kubo/config";' ./main.go
127127
128128
go test -v ./...
129129
@@ -133,7 +133,7 @@ jobs:
133133
134134
# restore the main.go to its original state
135135
mv main.go.bak main.go
136-
working_directory: ~/ipfs/go-ipfs/docs/examples/go-ipfs-as-a-library
136+
working_directory: ~/ipfs/kubo/docs/examples/go-ipfs-as-a-library
137137

138138
- run:
139139
when: always
@@ -152,7 +152,7 @@ jobs:
152152
machine:
153153
image: ubuntu-2004:202010-01
154154
resource_class: << pipeline.parameters.resource_class >>
155-
working_directory: ~/ipfs/go-ipfs
155+
working_directory: ~/ipfs/kubo
156156
environment:
157157
<<: *default_environment
158158
TEST_NO_DOCKER: 0
@@ -248,14 +248,14 @@ jobs:
248248
npm install ipfs@^0.61.0
249249
npm install ipfs-interop@^8.0.10
250250
npm install [email protected]
251-
working_directory: ~/ipfs/go-ipfs/interop
251+
working_directory: ~/ipfs/kubo/interop
252252
- run:
253253
name: Running tests
254254
command: |
255255
mkdir -p /tmp/test-results/interop/
256256
export MOCHA_FILE="$(mktemp /tmp/test-results/interop/unit.XXXXXX.xml)"
257257
npx ipfs-interop -- -t node -f $(sed -n -e "s|^import '\(.*\)'$|test/\1|p" node_modules/ipfs-interop/test/node.js | circleci tests split --split-by=timings) -- --reporter mocha-circleci-reporter
258-
working_directory: ~/ipfs/go-ipfs/interop
258+
working_directory: ~/ipfs/kubo/interop
259259
environment:
260260
LIBP2P_TCP_REUSEPORT: false
261261
LIBP2P_ALLOW_WEAK_RSA_KEYS: 1
@@ -265,7 +265,7 @@ jobs:
265265
- save_cache:
266266
key: v1-interop-{{ .Branch }}-{{ .Revision }}
267267
paths:
268-
- ~/ipfs/go-ipfs/interop/node_modules
268+
- ~/ipfs/kubo/interop/node_modules
269269
go-ipfs-api:
270270
executor: golang
271271
steps:
@@ -290,13 +290,13 @@ jobs:
290290
done
291291
- restore_cache:
292292
keys:
293-
- v1-go-api-{{ checksum "~/ipfs/go-ipfs/go-ipfs-api/go.sum" }}
293+
- v1-go-api-{{ checksum "~/ipfs/kubo/go-ipfs-api/go.sum" }}
294294
- v1-go-api-
295295
- run:
296296
command: go test -count=1 -v ./...
297-
working_directory: ~/ipfs/go-ipfs/go-ipfs-api
297+
working_directory: ~/ipfs/kubo/go-ipfs-api
298298
- save_cache:
299-
key: v1-go-api-{{ checksum "~/ipfs/go-ipfs/go-ipfs-api/go.sum" }}
299+
key: v1-go-api-{{ checksum "~/ipfs/kubo/go-ipfs-api/go.sum" }}
300300
paths:
301301
- ~/go/pkg/mod
302302
- ~/.cache/go-build/
@@ -316,16 +316,16 @@ jobs:
316316
git -C go-ipfs-http-client log -1
317317
- restore_cache:
318318
keys:
319-
- v1-http-client-{{ checksum "~/ipfs/go-ipfs/go-ipfs-http-client/go.sum" }}
319+
- v1-http-client-{{ checksum "~/ipfs/kubo/go-ipfs-http-client/go.sum" }}
320320
- v1-http-client-
321321
- run:
322322
name: go test -count=1 -v ./...
323323
command: |
324324
export PATH=/tmp/circleci-workspace/bin:$PATH
325325
go test -count=1 -v ./...
326-
working_directory: ~/ipfs/go-ipfs/go-ipfs-http-client
326+
working_directory: ~/ipfs/kubo/go-ipfs-http-client
327327
- save_cache:
328-
key: v1-http-client-{{ checksum "~/ipfs/go-ipfs/go-ipfs-http-client/go.sum" }}
328+
key: v1-http-client-{{ checksum "~/ipfs/kubo/go-ipfs-http-client/go.sum" }}
329329
paths:
330330
- ~/go/pkg/mod
331331
- ~/.cache/go-build/
@@ -338,36 +338,36 @@ jobs:
338338
- run:
339339
name: Cloning
340340
command: |
341-
git clone https://github.com/ipfs-shipyard/ipfs-webui.git
341+
git clone https://github.com/ipfs/ipfs-webui.git
342342
git -C ipfs-webui log -1
343343
- restore_cache:
344344
keys:
345-
- v1-ipfs-webui-{{ checksum "~/ipfs/go-ipfs/ipfs-webui/package-lock.json" }}
345+
- v1-ipfs-webui-{{ checksum "~/ipfs/kubo/ipfs-webui/package-lock.json" }}
346346
- v1-ipfs-webui-
347347
- run:
348348
name: Installing dependencies
349349
command: |
350-
npm install
350+
npm ci --prefer-offline --no-audit --progress=false --cache ~/ipfs/kubo/.cache/npm
351351
npx playwright install
352-
working_directory: ~/ipfs/go-ipfs/ipfs-webui
352+
working_directory: ~/ipfs/kubo/ipfs-webui
353353
- run:
354354
name: Running upstream tests (finish early if they fail)
355355
command: |
356356
npm test || circleci-agent step halt
357-
working_directory: ~/ipfs/go-ipfs/ipfs-webui
357+
working_directory: ~/ipfs/kubo/ipfs-webui
358358
- run:
359-
name: Running tests with go-ipfs built from current commit
359+
name: Running tests with kubo built from current commit
360360
command: npm test
361-
working_directory: ~/ipfs/go-ipfs/ipfs-webui
361+
working_directory: ~/ipfs/kubo/ipfs-webui
362362
environment:
363363
IPFS_GO_EXEC: /tmp/circleci-workspace/bin/ipfs
364364
- save_cache:
365-
key: v1-ipfs-webui-{{ checksum "~/ipfs/go-ipfs/ipfs-webui/package-lock.json" }}
365+
key: v1-ipfs-webui-{{ checksum "~/ipfs/kubo/ipfs-webui/package-lock.json" }}
366366
paths:
367367
- ~/.cache/ms-playwright
368-
- ~/ipfs/go-ipfs/ipfs-webui/node_modules
368+
- ~/ipfs/kubo/.cache/npm
369369
# We only run build as a test here. DockerHub images are built and published
370-
# by Github Action now: https://github.com/ipfs/go-ipfs/pull/8467
370+
# by GitHub Action now: https://github.com/ipfs/kubo/pull/8467
371371
docker-build:
372372
executor: dockerizer
373373
steps:

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
name: Bug Report
2-
description: Report a bug in go-ipfs.
2+
description: Report a bug in Kubo.
33
labels:
44
- kind/bug
55
- need/triage
66
body:
77
- type: markdown
88
attributes:
99
value: |
10-
- Make sure you are running the [latest version of go-ipfs][releases] before reporting an issue.
11-
- If you have an enhancement or feature request for go-ipfs, please select [a different option][issues].
10+
- Make sure you are running the [latest version of Kubo][releases] before reporting an issue.
11+
- If you have an enhancement or feature request for Kubo, please select [a different option][issues].
1212
- Please report possible security issues by email to [email protected]
1313
14-
[issues]: https://github.com/ipfs/go-ipfs/issues/new/choose
15-
[releases]: https://github.com/ipfs/go-ipfs/releases
14+
[issues]: https://github.com/ipfs/kubo/issues/new/choose
15+
[releases]: https://github.com/ipfs/kubo/releases
1616
- type: checkboxes
1717
attributes:
1818
label: Checklist
1919
description: Please verify that you've followed these steps
2020
options:
2121
- label: This is a bug report, not a question. Ask questions on [discuss.ipfs.io](https://discuss.ipfs.io).
2222
required: true
23-
- label: I have searched on the [issue tracker](https://github.com/ipfs/go-ipfs/issues?q=is%3Aissue) for my bug.
23+
- label: I have searched on the [issue tracker](https://github.com/ipfs/kubo/issues?q=is%3Aissue) for my bug.
2424
required: true
25-
- label: I am running the latest [go-ipfs version](https://dist.ipfs.io/#go-ipfs) or have an issue updating.
25+
- label: I am running the latest [kubo version](https://dist.ipfs.io/#kubo) or have an issue updating.
2626
required: true
2727
- type: dropdown
2828
id: install

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ contact_links:
33
- name: Getting Help on IPFS
44
url: https://ipfs.io/help
55
about: All information about how and where to get help on IPFS.
6-
- name: Go-ipfs configuration reference
7-
url: https://github.com/ipfs/go-ipfs/blob/master/docs/config.md#readme
6+
- name: Kubo configuration reference
7+
url: https://github.com/ipfs/kubo/blob/master/docs/config.md#readme
88
about: Documentation on the different configuration settings
9-
- name: Go-ipfs experimental features docs
10-
url: https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#readme
9+
- name: Kubo experimental features docs
10+
url: https://github.com/ipfs/kubo/blob/master/docs/experimental-features.md#readme
1111
about: Documentation on Private Networks, Filestore and other experimental features.
1212
- name: RPC API Reference
1313
url: https://docs.ipfs.io/reference/http/api/
14-
about: Documentation of all go-ipfs RPC API endpoints.
14+
about: Documentation of all Kubo RPC API endpoints.
1515
- name: IPFS Official Forum
1616
url: https://discuss.ipfs.io
1717
about: Please post general questions, support requests, and discussions here.

.github/ISSUE_TEMPLATE/doc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Documentation Issue
2-
description: Report missing, erroneous docs, broken links or propose new go-ipfs docs.
2+
description: Report missing, erroneous docs, broken links or propose new Kubo docs.
33
labels:
44
- topic/docs-ipfs
55
- need/triage
@@ -15,7 +15,7 @@ body:
1515
options:
1616
- label: I am reporting a documentation issue in this repo, not https://docs.ipfs.io.
1717
required: true
18-
- label: I have searched on the [issue tracker](https://github.com/ipfs/go-ipfs/issues?q=is%3Aissue) for my issue.
18+
- label: I have searched on the [issue tracker](https://github.com/ipfs/kubo/issues?q=is%3Aissue) for my issue.
1919
required: true
2020
- type: input
2121
attributes:

.github/ISSUE_TEMPLATE/enhancement.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
name: Enhancement
2-
description: Suggest an improvement to an existing go-ipfs feature.
2+
description: Suggest an improvement to an existing kubo feature.
33
labels:
44
- kind/enhancement
55
body:
66
- type: markdown
77
attributes:
88
value: |
9-
Suggest an enhancement to go-ipfs (the program). If you'd like to suggest an improvement to the IPFS protocol, please discuss it on [the forum](https://discuss.ipfs.io).
9+
Suggest an enhancement to Kubo (the program). If you'd like to suggest an improvement to the IPFS protocol, please discuss it on [the forum](https://discuss.ipfs.io).
1010
1111
Issues in this repo must be specific, actionable, and well motivated. They should be starting points for _building_ new features, not brainstorming ideas.
1212
1313
If you have an idea you'd like to discuss, please open a new thread on [the forum](https://discuss.ipfs.io).
1414
1515
**Example:**
1616
17-
> Reduce memory usage of `ipfs cat` (specific) by buffering less in ... (actionable). This would let me run go-ipfs on my Raspberry Pi (motivated).
17+
> Reduce memory usage of `ipfs cat` (specific) by buffering less in ... (actionable). This would let me run Kubo on my Raspberry Pi (motivated).
1818
- type: checkboxes
1919
attributes:
2020
label: Checklist
@@ -24,7 +24,7 @@ body:
2424
required: true
2525
- label: I am not suggesting a protocol enhancement.
2626
required: true
27-
- label: I have searched on the [issue tracker](https://github.com/ipfs/go-ipfs/issues?q=is%3Aissue) for my issue.
27+
- label: I have searched on the [issue tracker](https://github.com/ipfs/kubo/issues?q=is%3Aissue) for my issue.
2828
required: true
2929
- type: textarea
3030
attributes:

.github/ISSUE_TEMPLATE/feature.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: Feature
2-
description: Suggest a new feature in go-ipfs.
2+
description: Suggest a new feature in Kubo.
33
labels:
44
- kind/feature
55
body:
66
- type: markdown
77
attributes:
88
value: |
9-
Suggest a new feature in go-ipfs (the program). If you'd like to suggest an improvement to the IPFS protocol, please discuss it on [the forum](https://discuss.ipfs.io).
9+
Suggest a new feature in Kubo (the program). If you'd like to suggest an improvement to the IPFS protocol, please discuss it on [the forum](https://discuss.ipfs.io).
1010
1111
Issues in this repo must be specific, actionable, and well motivated. They should be starting points for _building_ new features, not brainstorming ideas.
1212
@@ -25,7 +25,7 @@ body:
2525
required: true
2626
- label: I am not suggesting a protocol enhancement.
2727
required: true
28-
- label: I have searched on the [issue tracker](https://github.com/ipfs/go-ipfs/issues?q=is%3Aissue) for my issue.
28+
- label: I have searched on the [issue tracker](https://github.com/ipfs/kubo/issues?q=is%3Aissue) for my issue.
2929
required: true
3030
- type: textarea
3131
attributes:

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
analyze:
16-
if: github.repository == 'ipfs/go-ipfs' || github.event_name == 'workflow_dispatch'
16+
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
1717
name: Analyze
1818
runs-on: ubuntu-latest
1919

.github/workflows/docker-image.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ on:
1111

1212
jobs:
1313
push_to_registry:
14-
if: github.repository == 'ipfs/go-ipfs' || github.event_name == 'workflow_dispatch'
14+
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
1515
name: Push Docker image to Docker Hub
1616
runs-on: ubuntu-latest
1717
env:
18-
IMAGE_NAME: ipfs/go-ipfs
18+
IMAGE_NAME: ipfs/kubo
19+
LEGACY_IMAGE_NAME: ipfs/go-ipfs
1920
steps:
2021
- name: Check out the repo
2122
uses: actions/checkout@v2

0 commit comments

Comments
 (0)