@cryptotaxi247 / kubo / commits / 9adab295e

feat: Add CI for Spell Checking (#10637)

* Create spellcheck.yml * Create .codespell-ignore --------- Co-authored-by: Marcin Rataj <lidel@lidel.org> Co-authored-by: Guillaume Michel <guillaumemichel@users.noreply.github.com>

youyyytrok committed Jan 30, 2025 at 17:50 UTC 9adab295e0ad22913b96dcbd6342219b747944ab
30 files changed +105 -63
.codespell-ignore new
+21
@@ -0,0 +1,21 @@
1 +Adin
2 +nd
3 +Nd
4 +afile
5 +thirdparty
6 +receivedFrom
7 +origN
8 +hel
9 +TotalIn
10 +childs
11 +userA
12 +AssignT
13 +OT
14 +AssignT
15 +fo
16 +recusive
17 +raison
18 +Boddy
19 +ressource
20 +achin
21 +re-using
.github/workflows/spellcheck.yml new
+21
@@ -0,0 +1,21 @@
1 +name: Spell Check
2 +
3 +on: [push, pull_request]
4 +
5 +jobs:
6 + spellcheck:
7 + runs-on: ubuntu-latest
8 +
9 + steps:
10 + - name: Checkout code
11 + uses: actions/checkout@v3
12 +
13 + - name: Install Codespell
14 + run: pip install codespell==2.4.0
15 +
16 + - name: Run Codespell
17 + uses: codespell-project/actions-codespell@v2
18 + with:
19 + only_warn: 1
20 + ignore_words_file: .codespell-ignore
21 + skip: "*.mod,*.sum,*.pdf,./docs/AUTHORS,./test/sharness/t0275-cid-security-data,./test/sharness/t0280-plugin-dag-jose-data,./bin"
config/version.go
+1 -1
@@ -2,7 +2,7 @@ package config
2
3 const DefaultSwarmCheckPercentThreshold = 5
4
5 -// Version allows controling things like custom user agent and update checks.
5 +// Version allows controlling things like custom user agent and update checks.
6 type Version struct {
7 // Optional suffix to the AgentVersion presented by `ipfs id` and exposed
8 // via libp2p identify protocol.
core/commands/version.go
+1 -1
@@ -227,7 +227,7 @@ func DetectNewKuboVersion(nd *core.IpfsNode, minPercent int64) (VersionCheckOutp
227 return
228 }
229
230 - // Ignore prerelases and development releases (-dev, -rcX)
230 + // Ignore prereleases and development releases (-dev, -rcX)
231 if peerVersion.Metadata() != "" || peerVersion.Prerelease() != "" {
232 return
233 }
docs/changelogs/v0.10.md
+2 -2
@@ -320,7 +320,7 @@ See `ipfs swarm peering --help` for more details.
320 - More changelog grooming.
321 - Changelog grooming.
322 - node/tests: put most of the schema test cases here
323 - - Add more explicit discussion of indicies to ListIterator.
323 + - Add more explicit discussion of indices to ListIterator.
324 - node/bindnode: start of a reflect-based Node implementation
325 - add DeepEqual and start using it in tests
326 - Add enumerate methods to the multicodec registries. ([ipld/go-ipld-prime#176](https://github.com/ipld/go-ipld-prime/pull/176))
@@ -390,7 +390,7 @@ See `ipfs swarm peering --help` for more details.
390 - remove note about go modules in README ([libp2p/go-libp2p-noise#100](https://github.com/libp2p/go-libp2p-noise/pull/100))
391 - fix: remove deprecated call to pk.Bytes ([libp2p/go-libp2p-noise#99](https://github.com/libp2p/go-libp2p-noise/pull/99))
392 - github.com/libp2p/go-libp2p-peerstore (v0.2.7 -> v0.2.8):
393 - - Fix perfomance issue in updating addr book ([libp2p/go-libp2p-peerstore#141](https://github.com/libp2p/go-libp2p-peerstore/pull/141))
393 + - Fix performance issue in updating addr book ([libp2p/go-libp2p-peerstore#141](https://github.com/libp2p/go-libp2p-peerstore/pull/141))
394 - Fix test flakes ([libp2p/go-libp2p-peerstore#164](https://github.com/libp2p/go-libp2p-peerstore/pull/164))
395 - Only remove records during GC ([libp2p/go-libp2p-peerstore#135](https://github.com/libp2p/go-libp2p-peerstore/pull/135))
396 - sync: update CI config files ([libp2p/go-libp2p-peerstore#160](https://github.com/libp2p/go-libp2p-peerstore/pull/160))
docs/changelogs/v0.11.md
+1 -1
@@ -301,7 +301,7 @@ This work was [contributed](https://github.com/ipfs/go-ipfs/pull/8569) by [Ceram
301 - fix(graphsync): make sure linkcontext is passed (#207) ([ipfs/go-graphsync#207](https://github.com/ipfs/go-graphsync/pull/207))
302 - Merge final v0.6.x commit history, and 0.8.0 changelog (#205) ([ipfs/go-graphsync#205](https://github.com/ipfs/go-graphsync/pull/205))
303 - Fix broken link to IPLD selector documentation (#189) ([ipfs/go-graphsync#189](https://github.com/ipfs/go-graphsync/pull/189))
304 - - fix: check errors before defering a close (#200) ([ipfs/go-graphsync#200](https://github.com/ipfs/go-graphsync/pull/200))
304 + - fix: check errors before deferring a close (#200) ([ipfs/go-graphsync#200](https://github.com/ipfs/go-graphsync/pull/200))
305 - chore: fix checks (#197) ([ipfs/go-graphsync#197](https://github.com/ipfs/go-graphsync/pull/197))
306 - Merge the v0.6.x commit history (#190) ([ipfs/go-graphsync#190](https://github.com/ipfs/go-graphsync/pull/190))
307 - Ready for universal CI (#187) ([ipfs/go-graphsync#187](https://github.com/ipfs/go-graphsync/pull/187))
docs/changelogs/v0.12.md
+1 -1
@@ -58,7 +58,7 @@ As usual, this release includes important fixes, some of which may be critical f
58
59 - `ipfs refs local` will now list all blocks as if they were [raw]() CIDv1 instead of with whatever CID version and IPLD codecs they were stored with. All other functionality should remain the same.
60
61 -Note: This change also effects [ipfs-update](https://github.com/ipfs/ipfs-update) so if you use that tool to mange your go-ipfs installation then grab ipfs-update v1.8.0 from [dist](https://dist.ipfs.tech/#ipfs-update).
61 +Note: This change also effects [ipfs-update](https://github.com/ipfs/ipfs-update) so if you use that tool to manage your go-ipfs installation then grab ipfs-update v1.8.0 from [dist](https://dist.ipfs.tech/#ipfs-update).
62
63 Keep reading to learn more details.
64
docs/changelogs/v0.14.md
+1 -1
@@ -173,7 +173,7 @@ $ ipfs cid format -v 1 -b base256emoji bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylq
173 - swarm: fix flaky TestDialExistingConnection test (#1509) ([libp2p/go-libp2p#1509](https://github.com/libp2p/go-libp2p/pull/1509))
174 - tcp: limit the number of connections in tcp suite test on non-linux hosts (#1507) ([libp2p/go-libp2p#1507](https://github.com/libp2p/go-libp2p/pull/1507))
175 - increase overly short require.Eventually intervals (#1501) ([libp2p/go-libp2p#1501](https://github.com/libp2p/go-libp2p/pull/1501))
176 - - tls: fix flaky handshake cancelation test (#1503) ([libp2p/go-libp2p#1503](https://github.com/libp2p/go-libp2p/pull/1503))
176 + - tls: fix flaky handshake cancellation test (#1503) ([libp2p/go-libp2p#1503](https://github.com/libp2p/go-libp2p/pull/1503))
177 - merge the transport test suite from go-libp2p-testing here ([libp2p/go-libp2p#1496](https://github.com/libp2p/go-libp2p/pull/1496))
178 - fix racy connection comparison in TestDialWorkerLoopBasic (#1499) ([libp2p/go-libp2p#1499](https://github.com/libp2p/go-libp2p/pull/1499))
179 - swarm: fix race condition in TestFailFirst (#1490) ([libp2p/go-libp2p#1490](https://github.com/libp2p/go-libp2p/pull/1490))
docs/changelogs/v0.16.md
+3 -3
@@ -106,7 +106,7 @@ The previous alternative is websocket secure, which require installing a reverse
106
107 #### How to enable WebTransport
108
109 -Thoses steps are temporary and wont be needed once we make it enabled by default.
109 +Those steps are temporary and won't be needed once we make it enabled by default.
110
111 1. Enable the WebTransport transport:
112 `ipfs config Swarm.Transports.Network.WebTransport --json true`
@@ -191,7 +191,7 @@ For more information, see `ipfs add --help` and `ipfs files --help`.
191 - docs: add WebTransport docs ([ipfs/kubo#9308](https://github.com/ipfs/kubo/pull/9308))
192 - chore: bump version to 0.16.0-rc1
193 - fix: ensure hasher is registered when using a hashing function
194 - - feat: add webtransport as an optin transport ([ipfs/kubo#9293](https://github.com/ipfs/kubo/pull/9293))
194 + - feat: add webtransport as an option transport ([ipfs/kubo#9293](https://github.com/ipfs/kubo/pull/9293))
195 - feat(gateway): _redirects file support (#8890) ([ipfs/kubo#8890](https://github.com/ipfs/kubo/pull/8890))
196 - docs: fix typo in changelog-v0.16.0.md
197 - Readme: Rewrite introduction and featureset (#9211) ([ipfs/kubo#9211](https://github.com/ipfs/kubo/pull/9211))
@@ -265,7 +265,7 @@ For more information, see `ipfs add --help` and `ipfs files --help`.
265 - sync: update CI config files ([ipfs/go-pinning-service-http-client#21](https://github.com/ipfs/go-pinning-service-http-client/pull/21))
266 - github.com/ipld/edelweiss (v0.1.4 -> v0.2.0):
267 - Release v0.2.0 (#60) ([ipld/edelweiss#60](https://github.com/ipld/edelweiss/pull/60))
268 - - feat: add cachable modifier to methods (#48) ([ipld/edelweiss#48](https://github.com/ipld/edelweiss/pull/48))
268 + - feat: add cacheable modifier to methods (#48) ([ipld/edelweiss#48](https://github.com/ipld/edelweiss/pull/48))
269 - adding licenses (#52) ([ipld/edelweiss#52](https://github.com/ipld/edelweiss/pull/52))
270 - sync: update CI config files ([ipld/edelweiss#56](https://github.com/ipld/edelweiss/pull/56))
271 - chore: replace deprecated ioutil with io/os ([ipld/edelweiss#59](https://github.com/ipld/edelweiss/pull/59))
docs/changelogs/v0.18.md
+5 -5
@@ -56,7 +56,7 @@ As much as possible, the aim is for a user to only think about how much memory t
56 and not need to think about translating that to hard numbers for connections, streams, etc.
57 More updates are likely in future Kubo releases, but with this release:
58 1. ``System.StreamsInbound`` is no longer bounded directly
59 -2. ``System.ConnsInbound``, ``Transient.Memory``, ``Transiet.ConnsInbound`` have higher default computed values.
59 +2. ``System.ConnsInbound``, ``Transient.Memory``, ``Transient.ConnsInbound`` have higher default computed values.
60
61 ### 📝 Changelog
62
@@ -312,11 +312,11 @@ and various improvements have been made to improve the UX including:
312 - github.com/ipfs/kubo:
313 - fix: clarity: no user supplied rcmgr limits of 0 (#9563) ([ipfs/kubo#9563](https://github.com/ipfs/kubo/pull/9563))
314 - fix(gateway): undesired conversions to dag-json and friends (#9566) ([ipfs/kubo#9566](https://github.com/ipfs/kubo/pull/9566))
315 - - fix: ensure connmgr is smaller then autoscalled ressource limits
315 + - fix: ensure connmgr is smaller then autoscalled resource limits
316 - fix: typo in ensureConnMgrMakeSenseVsResourcesMgr
317 - docs: clarify browser descriptions for webtransport
318 - fix: update saxon download path
319 - - fix: refuse to start if connmgr is smaller than ressource limits and not using none connmgr
319 + - fix: refuse to start if connmgr is smaller than resource limits and not using none connmgr
320 - fix: User-Agent sent to HTTP routers
321 - test: port gateway sharness tests to Go tests
322 - fix: do not download saxon in parallel
@@ -338,7 +338,7 @@ and various improvements have been made to improve the UX including:
338 - fix: disable provide over HTTP with Routing.Type=auto (#9511) ([ipfs/kubo#9511](https://github.com/ipfs/kubo/pull/9511))
339 - Update version.go
340 - 'chore: update version.go'
341 - - Clened up 0.18 changelog for release ([ipfs/kubo#9497](https://github.com/ipfs/kubo/pull/9497))
341 + - Cleaned up 0.18 changelog for release ([ipfs/kubo#9497](https://github.com/ipfs/kubo/pull/9497))
342 - feat: turn on WebTransport by default ([ipfs/kubo#9492](https://github.com/ipfs/kubo/pull/9492))
343 - feat: fast directory listings with DAG Size column (#9481) ([ipfs/kubo#9481](https://github.com/ipfs/kubo/pull/9481))
344 - feat: add basic CLI tests using Go Test
@@ -484,7 +484,7 @@ and various improvements have been made to improve the UX including:
484 - run gofmt -s
485 - bump go.mod to Go 1.18 and run go fix
486 - test for reader / sizing behavior on large files ([ipfs/go-unixfsnode#34](https://github.com/ipfs/go-unixfsnode/pull/34))
487 - - add helper to approximate test creation patter from ipfs-files ([ipfs/go-unixfsnode#32](https://github.com/ipfs/go-unixfsnode/pull/32))
487 + - add helper to approximate test creation pattern from ipfs-files ([ipfs/go-unixfsnode#32](https://github.com/ipfs/go-unixfsnode/pull/32))
488 - chore: remove Stebalien/go-bitfield in favour of ipfs/go-bitfield
489 - github.com/ipfs/interface-go-ipfs-core (v0.7.0 -> v0.8.2):
490 - chore: version 0.8.2 (#100) ([ipfs/interface-go-ipfs-core#100](https://github.com/ipfs/interface-go-ipfs-core/pull/100))
docs/changelogs/v0.19.md
+3 -3
@@ -89,7 +89,7 @@ There are further followups up on libp2p resource manager improvements in Kubo [
89 and [0.18.1](https://github.com/ipfs/kubo/blob/master/docs/changelogs/v0.18.md#improving-libp2p-resource-management-integration):
90 1. `ipfs swarm limits` and `ipfs swarm stats` have been replaced by `ipfs swarm resources` to provide a single/combined view for limits and their current usage in a more intuitive ordering.
91 1. Removal of `Swarm.ResourceMgr.Limits` config. Instead [the power user can specify limits in a .json file that are fed directly to go-libp2p](https://github.com/ipfs/kubo/blob/master/docs/libp2p-resource-management.md#user-supplied-override-limits). This allows the power user to take advantage of the [new resource manager types introduced in go-libp2p 0.25](https://github.com/libp2p/go-libp2p/blob/master/CHANGELOG.md#new-resource-manager-types-) including "use default", "unlimited", "block all".
92 - - Note: we don't expect most users to need these capablities, but they are there if so.
92 + - Note: we don't expect most users to need these capabilities, but they are there if so.
93 1. [Doc updates](https://github.com/ipfs/kubo/blob/master/docs/libp2p-resource-management.md).
94
95 #### Gateways
@@ -205,11 +205,11 @@ For more information and rational see [#9717](https://github.com/ipfs/kubo/issue
205 - Merge Kubo: v0.18 ([ipfs/kubo#9581](https://github.com/ipfs/kubo/pull/9581))
206 - fix: clarity: no user supplied rcmgr limits of 0 (#9563) ([ipfs/kubo#9563](https://github.com/ipfs/kubo/pull/9563))
207 - fix(gateway): undesired conversions to dag-json and friends (#9566) ([ipfs/kubo#9566](https://github.com/ipfs/kubo/pull/9566))
208 - - fix: ensure connmgr is smaller then autoscalled ressource limits
208 + - fix: ensure connmgr is smaller then autoscalled resource limits
209 - fix: typo in ensureConnMgrMakeSenseVsResourcesMgr
210 - docs: clarify browser descriptions for webtransport
211 - fix: update saxon download path
212 - - fix: refuse to start if connmgr is smaller than ressource limits and not using none connmgr
212 + - fix: refuse to start if connmgr is smaller than resource limits and not using none connmgr
213 - fix: User-Agent sent to HTTP routers
214 - test: port gateway sharness tests to Go tests
215 - fix: do not download saxon in parallel
docs/changelogs/v0.21.md
+2 -2
@@ -75,7 +75,7 @@ The [`go-ipfs-http-client`](https://github.com/ipfs/go-ipfs-http-client) RPC has
75 been migrated into [`kubo/client/rpc`](../../client/rpc).
76
77 With this change the two will be kept in sync, in some previous releases we
78 -updated the CoreAPI with new Kubo features but forgot to port thoses to the
78 +updated the CoreAPI with new Kubo features but forgot to port those to the
79 http-client, making it impossible to use them together with the same coreapi
80 version.
81
@@ -142,7 +142,7 @@ Shared Size: 2048
142 Ratio: 1.615755
143 ```
144
145 -`ipfs --enc=json dag stat`'s keys are a non breaking change, new keys have been added but old keys with previous sementics are still here.
145 +`ipfs --enc=json dag stat`'s keys are a non breaking change, new keys have been added but old keys with previous semantics are still here.
146
147 #### Accelerated DHT Client is no longer experimental
148
docs/changelogs/v0.23.md
+3 -3
@@ -27,7 +27,7 @@
27 Mplex is being deprecated, this is because it is unreliable and
28 randomly drop streams when sending data *too fast*.
29
30 -New pieces of code rely on backpressure, that means the stream will dynamicaly
30 +New pieces of code rely on backpressure, that means the stream will dynamically
31 slow down the sending rate if data is getting backed up.
32 Backpressure is provided by **Yamux** and **QUIC**.
33
@@ -111,7 +111,7 @@ the `/quic-v1` addresses only. For more background information, check [issue #94
111
112 Thanks to [probelab.io's RFM17.1](https://github.com/plprobelab/network-measurements/blob/master/results/rfm17.1-sharing-prs-with-multiaddresses.md) DHT servers will [now cache the addresses of content hosts for the lifetime of the provider record](https://github.com/libp2p/go-libp2p-kad-dht/commit/777160f164b8c187c534debd293157031e9f3a02).
113
114 -This means clients who resolve content from theses servers get a responses which include both peer id and multiaddresses.
114 +This means clients who resolve content from these servers get a responses which include both peer id and multiaddresses.
115 In most cases this enables skipping a second query which resolves the peer id to multiaddresses for stable enough peers.
116
117 This will improve content fetching lantency in the network overtime as servers updates.
@@ -175,7 +175,7 @@ Thx a lot @bmwiedemann for debugging this issue.
175 - chore: bump boxo for verifcid breaking changes
176 - chore: remove outdated comment (#10077) ([ipfs/kubo#10077](https://github.com/ipfs/kubo/pull/10077))
177 - chore: remove deprecated testground plans
178 - - feat: allow users to optin again into mplex
178 + - feat: allow users to option again into mplex
179 - feat: remove Mplex
180 - docs(readme): minimal reqs (#10066) ([ipfs/kubo#10066](https://github.com/ipfs/kubo/pull/10066))
181 - docs: add v0.23.md
docs/changelogs/v0.24.md
+1 -1
@@ -62,7 +62,7 @@ record remains cached before checking an upstream routing system, such as Amino
62 DHT, for updates. The TTL value in the IPNS record now serves as a hint for:
63
64 - `boxo/namesys`: the internal cache, determining how long the IPNS resolution
65 - result is cached before asking upsteam routing systems for updates.
65 + result is cached before asking upstream routing systems for updates.
66 - `boxo/gateway`: the `Cache-Control` HTTP header in responses to requests made
67 for `/ipns/name` content paths.
68
docs/changelogs/v0.25.md
+1 -1
@@ -44,7 +44,7 @@ After deprecating and removing mplex support by default in [v0.23.0](https://git
44 We now fully removed it. If you still need mplex support to talk with other pieces of software,
45 please try updating them, and if they don't support yamux or QUIC [talk to us about it](https://github.com/ipfs/kubo/issues/new/choose).
46
47 -Mplex is unreliable by design, it will drop data and generete errors when sending data *too fast*,
47 +Mplex is unreliable by design, it will drop data and generate errors when sending data *too fast*,
48 yamux and QUIC support backpressure, that means if we send data faster than the remote machine can process it, we slows down to match the remote's speed.
49
50 #### Graphsync Experiment Removal
docs/changelogs/v0.27.md
+1 -1
@@ -113,7 +113,7 @@ Kubo now only uses [trustless requests](https://specs.ipfs.tech/http-gateways/tr
113 - github.com/multiformats/go-multiaddr (v0.12.1 -> v0.12.2):
114 - chore: release v0.12.2
115 - tests: add round trip equality check to fuzz (#232) ([multiformats/go-multiaddr#232](https://github.com/multiformats/go-multiaddr/pull/232))
116 - - fix: correctly parse ports as uint16 and explicitely fail on overflows (#228) ([multiformats/go-multiaddr#228](https://github.com/multiformats/go-multiaddr/pull/228))
116 + - fix: correctly parse ports as uint16 and explicitly fail on overflows (#228) ([multiformats/go-multiaddr#228](https://github.com/multiformats/go-multiaddr/pull/228))
117 - replace custom random tests with testing.F (#227) ([multiformats/go-multiaddr#227](https://github.com/multiformats/go-multiaddr/pull/227))
118
119 </details>
docs/changelogs/v0.29.md
+1 -1
@@ -80,7 +80,7 @@ The hash function, CID version, or UnixFS raw leaves and chunker behaviors can b
80 - github.com/ipfs/go-ipfs-exchange-interface (v0.2.0 -> v0.2.1):
81 - chore: bump version
82 - Deprecate types and readme (#29) ([ipfs/go-ipfs-exchange-interface#29](https://github.com/ipfs/go-ipfs-exchange-interface/pull/29))
83 - - docs: Add proper documenation to the interface.
83 + - docs: Add proper documentation to the interface.
84 - github.com/ipfs/go-verifcid (v0.0.2 -> v0.0.3):
85 - chore: bump version
86 - chore: deprecate types and readme
docs/changelogs/v0.30.md
+3 -3
@@ -121,7 +121,7 @@ $ # cli client, in different terminal can find socket via /api file
121 $ cat $IPFS_PATH/api
122 /unix/tmp/kubo.socket
123
124 -$ # or have it pased via --api
124 +$ # or have it passed via --api
125 $ ipfs --api=/unix/tmp/kubo.socket id
126 ```
127
@@ -150,7 +150,7 @@ Daemon is ready
150
151 The previous lengthy listing of all listener and announced multiaddrs has been removed due to its complexity, especially with modern libp2p nodes sharing multiple transports and long lists of `/webtransport` and `/webrtc-direct` certhashes.
152 The output now features a simplified list of swarm listeners, displayed in the format `host:port (TCP+UDP)`, which provides essential information for debugging connectivity issues, particularly related to port forwarding.
153 -Announced libp2p addresses are no longer printed on startup, because libp2p may change or augument them based on AutoNAT, relay, and UPnP state. Instead, users are prompted to run `ipfs id` to obtain up-to-date list of listeners and announced multiaddrs in libp2p format.
153 +Announced libp2p addresses are no longer printed on startup, because libp2p may change or augment them based on AutoNAT, relay, and UPnP state. Instead, users are prompted to run `ipfs id` to obtain up-to-date list of listeners and announced multiaddrs in libp2p format.
154
155 #### Commands Preserve Specified Hostname
156
@@ -183,7 +183,7 @@ When executing a [CLI command](https://docs.ipfs.tech/reference/kubo/cli/) over
183 - fix(daemon): panic in kubo/daemon.go:595 (#10473) ([ipfs/kubo#10473](https://github.com/ipfs/kubo/pull/10473))
184 - feat: webui v4.3.0 (#10477) ([ipfs/kubo#10477](https://github.com/ipfs/kubo/pull/10477))
185 - docs(readme): add Gentoo Linux (#10474) ([ipfs/kubo#10474](https://github.com/ipfs/kubo/pull/10474))
186 - - libp2p: default to prefering TLS ([ipfs/kubo#10227](https://github.com/ipfs/kubo/pull/10227))
186 + - libp2p: default to preferring TLS ([ipfs/kubo#10227](https://github.com/ipfs/kubo/pull/10227))
187 - docs: document unofficial Ubuntu PPA ([ipfs/kubo#10467](https://github.com/ipfs/kubo/pull/10467))
188 - feat: run AutoNAT V2 service in addition to V1 (#10468) ([ipfs/kubo#10468](https://github.com/ipfs/kubo/pull/10468))
189 - feat: go-libp2p 0.36 and /webrtc-direct listener (#10463) ([ipfs/kubo#10463](https://github.com/ipfs/kubo/pull/10463))
docs/changelogs/v0.33.md
+2 -2
@@ -76,9 +76,9 @@ $ ipfs id --api /dns/kubo-rpc.example.net/tcp/5001/tls/http
76
77 Now that Kubo supports [`pebble`](https://github.com/ipfs/kubo/blob/master/docs/datastores.md#pebbleds) as an _experimental_ datastore backend, it becomes very useful to expose some additional configuration options for how the blockservice/blockstore/datastore combo behaves.
78
79 -Usually, LSM-tree based datastore like Pebble or Badger have very fast write performance (blocks are streamed to disk) while incurring in read-amplification penalties (blocks need to be looked up in the index to know where they are on disk), specially noticiable on spinning disks.
79 +Usually, LSM-tree based datastore like Pebble or Badger have very fast write performance (blocks are streamed to disk) while incurring in read-amplification penalties (blocks need to be looked up in the index to know where they are on disk), specially noticeable on spinning disks.
80
81 -Prior to this version, `BlockService` and `Blockstore` implementations performed a `Has(cid)` for every block that was going to be written, skipping the writes altogether if the block was already present in the datastore. The performance impact of this `Has()` call can vary. The `Datastore` implementation itself might include block-caching and things like bloom-filters to speed up lookups and mitigate read-penalties. Our `Blockstore` implementation also supports a bloom-filter (controlled by `BloomFilterSize` and disabled by default), and a two-queue cache for keys and block sizes. If we assume that most of the blocks added to Kubo are new blocks, not already present in the datastore, or that the datastore itself includes mechanisms to optimize writes and avoid writing the same data twice, the calls to `Has()` at both BlockService and Blockstore layers seem superflous to they point they even harm write performance.
81 +Prior to this version, `BlockService` and `Blockstore` implementations performed a `Has(cid)` for every block that was going to be written, skipping the writes altogether if the block was already present in the datastore. The performance impact of this `Has()` call can vary. The `Datastore` implementation itself might include block-caching and things like bloom-filters to speed up lookups and mitigate read-penalties. Our `Blockstore` implementation also supports a bloom-filter (controlled by `BloomFilterSize` and disabled by default), and a two-queue cache for keys and block sizes. If we assume that most of the blocks added to Kubo are new blocks, not already present in the datastore, or that the datastore itself includes mechanisms to optimize writes and avoid writing the same data twice, the calls to `Has()` at both BlockService and Blockstore layers seem superfluous to they point they even harm write performance.
82
83 For these reasons, from now on, the default is to use a "write-through" mode for the Blockservice and the Blockstore. We have added a new option `Datastore.WriteThrough`, which defaults to `true`. Previous behaviour can be obtained by manually setting it to `false`.
84
docs/changelogs/v0.4.md
+4 -4
@@ -401,7 +401,7 @@ g generation.
401 -n, --only-hash bool - Only chunk and hash - do not
402 write to disk.
403 -w, --wrap-with-directory bool - Wrap files with a directory o
404 -bject.
404 +object.
405 -s, --chunker string - Chunking algorithm, size-[byt
406 es] or rabin-[min]-[avg]-[max]. Default: size-262144.
407 --pin bool - Pin this object when adding.
@@ -1593,7 +1593,7 @@ The next steps are:
1593 - cmds: remove redundant func ([ipfs/go-ipfs#5750](https://github.com/ipfs/go-ipfs/pull/5750))
1594 - commands/refs: use new cmds ([ipfs/go-ipfs#5679](https://github.com/ipfs/go-ipfs/pull/5679))
1595 - commands/pin: use new cmds lib ([ipfs/go-ipfs#5674](https://github.com/ipfs/go-ipfs/pull/5674))
1596 - - commands/boostrap: use new cmds ([ipfs/go-ipfs#5678](https://github.com/ipfs/go-ipfs/pull/5678))
1596 + - commands/bootstrap: use new cmds ([ipfs/go-ipfs#5678](https://github.com/ipfs/go-ipfs/pull/5678))
1597 - fix(cmd/add): progressbar output error when input is read from stdin ([ipfs/go-ipfs#5743](https://github.com/ipfs/go-ipfs/pull/5743))
1598 - unexport GOFLAGS ([ipfs/go-ipfs#5747](https://github.com/ipfs/go-ipfs/pull/5747))
1599 - refactor(cmds): use new cmds ([ipfs/go-ipfs#5659](https://github.com/ipfs/go-ipfs/pull/5659))
@@ -3347,7 +3347,7 @@ look at all the other cool things added in 0.4.8 below.
3347 - Features
3348 - Implement unixfs directory sharding ([ipfs/go-ipfs#3042](https://github.com/ipfs/go-ipfs/pull/3042))
3349 - Add DisableNatPortMap option ([ipfs/go-ipfs#3798](https://github.com/ipfs/go-ipfs/pull/3798))
3350 - - Basic Filestore utilty commands ([ipfs/go-ipfs#3653](https://github.com/ipfs/go-ipfs/pull/3653))
3350 + - Basic Filestore utility commands ([ipfs/go-ipfs#3653](https://github.com/ipfs/go-ipfs/pull/3653))
3351 - Improvements
3352 - More Robust GC ([ipfs/go-ipfs#3712](https://github.com/ipfs/go-ipfs/pull/3712))
3353 - Automatically fix permissions for docker volumes ([ipfs/go-ipfs#3744](https://github.com/ipfs/go-ipfs/pull/3744))
@@ -3580,7 +3580,7 @@ few other improvements to other parts of the codebase. Notably:
3580 - Dependencies
3581 - Update libp2p to have fixed spdystream dep ([ipfs/go-ipfs#3210](https://github.com/ipfs/go-ipfs/pull/3210))
3582 - Update libp2p and dht packages ([ipfs/go-ipfs#3263](https://github.com/ipfs/go-ipfs/pull/3263))
3583 - - Update to libp2p 4.0.1 and propogate other changes ([ipfs/go-ipfs#3284](https://github.com/ipfs/go-ipfs/pull/3284))
3583 + - Update to libp2p 4.0.1 and propagate other changes ([ipfs/go-ipfs#3284](https://github.com/ipfs/go-ipfs/pull/3284))
3584 - Update to libp2p 4.0.4 ([ipfs/go-ipfs#3361](https://github.com/ipfs/go-ipfs/pull/3361))
3585 - Update go-libp2p across codebase ([ipfs/go-ipfs#3406](https://github.com/ipfs/go-ipfs/pull/3406))
3586 - Update to go-libp2p 4.1.0 ([ipfs/go-ipfs#3373](https://github.com/ipfs/go-ipfs/pull/3373))
docs/changelogs/v0.5.md
+1 -1
@@ -357,7 +357,7 @@ It's now possible to initialize an IPFS node with an existing IPFS config by run
357 > ipfs init /path/to/existing/config
358 ```
359
360 -This will re-use the existing configuration in it's entirety (including the private key) and can be useful when:
360 +This will reuse the existing configuration in it's entirety (including the private key) and can be useful when:
361
362 * Migrating a node's identity between machines without keeping the data.
363 * Resetting the datastore.
docs/changelogs/v0.6.md
+4 -4
@@ -14,7 +14,7 @@ The highlights in this release include:
14 **MIGRATION:** This release contains a small config migration to enable listening on the QUIC transport in addition the TCP transport. This migration will:
15
16 * Normalize multiaddrs in the bootstrap list to use the `/p2p/Qm...` syntax for multiaddrs instead of the `/ipfs/Qm...` syntax.
17 -* Add QUIC addresses for the default bootstrapers, as necessary. If you've removed the default bootstrappers from your bootstrap config, the migration won't add them back.
17 +* Add QUIC addresses for the default bootstrappers, as necessary. If you've removed the default bootstrappers from your bootstrap config, the migration won't add them back.
18 * Add a QUIC listener address to mirror any TCP addresses present in your config. For example, if you're listening on `/ip4/0.0.0.0/tcp/1234`, this migration will add a listen address for `/ip4/0.0.0.0/udp/1234/quic`.
19
20 #### QUIC by default
@@ -114,7 +114,7 @@ Use-cases:
114 - docs: X-Forwarded-Proto: https ([ipfs/go-ipfs#7306](https://github.com/ipfs/go-ipfs/pull/7306))
115 - fix(mkreleaselog): make robust against running in different working directories ([ipfs/go-ipfs#7310](https://github.com/ipfs/go-ipfs/pull/7310))
116 - fix(mkreleasenotes): include commits directly to master ([ipfs/go-ipfs#7296](https://github.com/ipfs/go-ipfs/pull/7296))
117 - - write api file automically ([ipfs/go-ipfs#7282](https://github.com/ipfs/go-ipfs/pull/7282))
117 + - write api file automatically ([ipfs/go-ipfs#7282](https://github.com/ipfs/go-ipfs/pull/7282))
118 - systemd: disable swap-usage for ipfs ([ipfs/go-ipfs#7299](https://github.com/ipfs/go-ipfs/pull/7299))
119 - systemd: add helptext ([ipfs/go-ipfs#7265](https://github.com/ipfs/go-ipfs/pull/7265))
120 - systemd: add the link to the docs ([ipfs/go-ipfs#7287](https://github.com/ipfs/go-ipfs/pull/7287))
@@ -177,7 +177,7 @@ Use-cases:
177 - feat: add peering service config section ([ipfs/go-ipfs-config#96](https://github.com/ipfs/go-ipfs-config/pull/96))
178 - fix: include key size in key init method ([ipfs/go-ipfs-config#95](https://github.com/ipfs/go-ipfs-config/pull/95))
179 - QUIC: remove experimental config option ([ipfs/go-ipfs-config#93](https://github.com/ipfs/go-ipfs-config/pull/93))
180 - - fix boostrap peers ([ipfs/go-ipfs-config#94](https://github.com/ipfs/go-ipfs-config/pull/94))
180 + - fix bootstrap peers ([ipfs/go-ipfs-config#94](https://github.com/ipfs/go-ipfs-config/pull/94))
181 - default config: add QUIC listening ports + quic to mars.i.ipfs.io ([ipfs/go-ipfs-config#91](https://github.com/ipfs/go-ipfs-config/pull/91))
182 - feat: remove strict signing pubsub option. ([ipfs/go-ipfs-config#90](https://github.com/ipfs/go-ipfs-config/pull/90))
183 - Add autocomment configuration
@@ -260,7 +260,7 @@ Use-cases:
260 - enhancement/remove-unused-variable ([libp2p/go-libp2p-kad-dht#633](https://github.com/libp2p/go-libp2p-kad-dht/pull/633))
261 - Put back TestSelfWalkOnAddressChange ([libp2p/go-libp2p-kad-dht#648](https://github.com/libp2p/go-libp2p-kad-dht/pull/648))
262 - Routing Table Refresh manager (#601) ([libp2p/go-libp2p-kad-dht#601](https://github.com/libp2p/go-libp2p-kad-dht/pull/601))
263 - - Boostrap empty RT and Optimize allocs when we discover new peers (#631) ([libp2p/go-libp2p-kad-dht#631](https://github.com/libp2p/go-libp2p-kad-dht/pull/631))
263 + - bootstrap empty RT and Optimize allocs when we discover new peers (#631) ([libp2p/go-libp2p-kad-dht#631](https://github.com/libp2p/go-libp2p-kad-dht/pull/631))
264 - fix all flaky tests ([libp2p/go-libp2p-kad-dht#628](https://github.com/libp2p/go-libp2p-kad-dht/pull/628))
265 - Update default concurrency parameter ([libp2p/go-libp2p-kad-dht#605](https://github.com/libp2p/go-libp2p-kad-dht/pull/605))
266 - clean up a channel that was dangling ([libp2p/go-libp2p-kad-dht#620](https://github.com/libp2p/go-libp2p-kad-dht/pull/620))
docs/changelogs/v0.7.md
+3 -3
@@ -149,7 +149,7 @@ The scripts in https://github.com/ipfs/go-ipfs-example-plugin have been updated
149 - support flatfs fuzzing ([ipfs/go-datastore#157](https://github.com/ipfs/go-datastore/pull/157))
150 - fuzzing harness (#153) ([ipfs/go-datastore#153](https://github.com/ipfs/go-datastore/pull/153))
151 - feat(mount): don't give up on error ([ipfs/go-datastore#146](https://github.com/ipfs/go-datastore/pull/146))
152 - - /test: fix bad ElemCount/10 lenght (should not be divided) ([ipfs/go-datastore#152](https://github.com/ipfs/go-datastore/pull/152))
152 + - /test: fix bad ElemCount/10 length (should not be divided) ([ipfs/go-datastore#152](https://github.com/ipfs/go-datastore/pull/152))
153 - github.com/ipfs/go-ds-flatfs (v0.4.4 -> v0.4.5):
154 - Add os.Rename wrapper for Plan 9 (#87) ([ipfs/go-ds-flatfs#87](https://github.com/ipfs/go-ds-flatfs/pull/87))
155 - github.com/ipfs/go-fs-lock (v0.0.5 -> v0.0.6):
@@ -390,7 +390,7 @@ The scripts in https://github.com/ipfs/go-ipfs-example-plugin have been updated
390 - reset the PTO count before setting the timer when dropping a PN space ([lucas-clemente/quic-go#2657](https://github.com/lucas-clemente/quic-go/pull/2657))
391 - enforce that a connection ID is not retired in a packet that uses that connection ID ([lucas-clemente/quic-go#2651](https://github.com/lucas-clemente/quic-go/pull/2651))
392 - don't retire the conn ID that's in use when receiving a retransmission ([lucas-clemente/quic-go#2652](https://github.com/lucas-clemente/quic-go/pull/2652))
393 - - fix flaky cancelation integration test ([lucas-clemente/quic-go#2649](https://github.com/lucas-clemente/quic-go/pull/2649))
393 + - fix flaky cancellation integration test ([lucas-clemente/quic-go#2649](https://github.com/lucas-clemente/quic-go/pull/2649))
394 - fix crash when the qlog callbacks returns a nil io.WriteCloser ([lucas-clemente/quic-go#2648](https://github.com/lucas-clemente/quic-go/pull/2648))
395 - fix flaky server test on Travis ([lucas-clemente/quic-go#2645](https://github.com/lucas-clemente/quic-go/pull/2645))
396 - fix a typo in the logging package test suite
@@ -406,7 +406,7 @@ The scripts in https://github.com/ipfs/go-ipfs-example-plugin have been updated
406 - remove superfluous parameters logged when not doing 0-RTT ([lucas-clemente/quic-go#2632](https://github.com/lucas-clemente/quic-go/pull/2632))
407 - return an infinite bandwidth if the RTT is zero ([lucas-clemente/quic-go#2636](https://github.com/lucas-clemente/quic-go/pull/2636))
408 - drop support for Go 1.13 ([lucas-clemente/quic-go#2628](https://github.com/lucas-clemente/quic-go/pull/2628))
409 - - remove superfluos handleResetStreamFrame method on the stream ([lucas-clemente/quic-go#2623](https://github.com/lucas-clemente/quic-go/pull/2623))
409 + - remove superfluous handleResetStreamFrame method on the stream ([lucas-clemente/quic-go#2623](https://github.com/lucas-clemente/quic-go/pull/2623))
410 - implement a token-bucket pacing algorithm ([lucas-clemente/quic-go#2615](https://github.com/lucas-clemente/quic-go/pull/2615))
411 - gracefully handle concurrent stream writes and cancellations ([lucas-clemente/quic-go#2624](https://github.com/lucas-clemente/quic-go/pull/2624))
412 - log sent packets right before sending them out ([lucas-clemente/quic-go#2613](https://github.com/lucas-clemente/quic-go/pull/2613))
docs/changelogs/v0.9.md
+4 -4
@@ -571,7 +571,7 @@ SECIO was deprecated and turned off by default given the prevalence of TLS and N
571 - fix retry key and nonce for draft-34 ([lucas-clemente/quic-go#3062](https://github.com/lucas-clemente/quic-go/pull/3062))
572 - implement DPLPMTUD ([lucas-clemente/quic-go#3028](https://github.com/lucas-clemente/quic-go/pull/3028))
573 - only read multiple packets at a time after handshake completion ([lucas-clemente/quic-go#3041](https://github.com/lucas-clemente/quic-go/pull/3041))
574 - - make the certificate verificiation integration tests more explicit ([lucas-clemente/quic-go#3040](https://github.com/lucas-clemente/quic-go/pull/3040))
574 + - make the certificate verification integration tests more explicit ([lucas-clemente/quic-go#3040](https://github.com/lucas-clemente/quic-go/pull/3040))
575 - update gomock to v1.5.0, use mockgen source mode ([lucas-clemente/quic-go#3049](https://github.com/lucas-clemente/quic-go/pull/3049))
576 - trace dropping of 0-RTT keys ([lucas-clemente/quic-go#3054](https://github.com/lucas-clemente/quic-go/pull/3054))
577 - improve timeout measurement in the timeout test ([lucas-clemente/quic-go#3042](https://github.com/lucas-clemente/quic-go/pull/3042))
@@ -596,10 +596,10 @@ SECIO was deprecated and turned off by default given the prevalence of TLS and N
596 - make sure the server is stopped before closing all server sessions ([lucas-clemente/quic-go#3020](https://github.com/lucas-clemente/quic-go/pull/3020))
597 - increase the size of the send queue ([lucas-clemente/quic-go#3016](https://github.com/lucas-clemente/quic-go/pull/3016))
598 - prioritize receiving packets over sending out more packets ([lucas-clemente/quic-go#3015](https://github.com/lucas-clemente/quic-go/pull/3015))
599 - - reenable key updates for HTTP/3 ([lucas-clemente/quic-go#3017](https://github.com/lucas-clemente/quic-go/pull/3017))
599 + - re-enable key updates for HTTP/3 ([lucas-clemente/quic-go#3017](https://github.com/lucas-clemente/quic-go/pull/3017))
600 - check for errors after handling each previously undecryptable packet ([lucas-clemente/quic-go#3011](https://github.com/lucas-clemente/quic-go/pull/3011))
601 - fix flaky streams map test on Windows ([lucas-clemente/quic-go#3013](https://github.com/lucas-clemente/quic-go/pull/3013))
602 - - fix flaky stream cancelation integration test ([lucas-clemente/quic-go#3014](https://github.com/lucas-clemente/quic-go/pull/3014))
602 + - fix flaky stream cancellation integration test ([lucas-clemente/quic-go#3014](https://github.com/lucas-clemente/quic-go/pull/3014))
603 - preallocate a slice of one frame when packing a packet ([lucas-clemente/quic-go#3018](https://github.com/lucas-clemente/quic-go/pull/3018))
604 - allow sending of ACKs when pacing limited ([lucas-clemente/quic-go#3010](https://github.com/lucas-clemente/quic-go/pull/3010))
605 - fix qlogging of the packet payload length ([lucas-clemente/quic-go#3004](https://github.com/lucas-clemente/quic-go/pull/3004))
@@ -624,7 +624,7 @@ SECIO was deprecated and turned off by default given the prevalence of TLS and N
624 - fix flaky qlog test ([lucas-clemente/quic-go#2981](https://github.com/lucas-clemente/quic-go/pull/2981))
625 - only run gofumpt on .go files in pre-commit hook ([lucas-clemente/quic-go#2983](https://github.com/lucas-clemente/quic-go/pull/2983))
626 - fix outdated comment for the http3.Server
627 - - make the OpenStreamSync cancelation test less flaky ([lucas-clemente/quic-go#2978](https://github.com/lucas-clemente/quic-go/pull/2978))
627 + - make the OpenStreamSync cancellation test less flaky ([lucas-clemente/quic-go#2978](https://github.com/lucas-clemente/quic-go/pull/2978))
628 - add some useful pre-commit hooks ([lucas-clemente/quic-go#2979](https://github.com/lucas-clemente/quic-go/pull/2979))
629 - publicize QUIC varint reading and writing ([lucas-clemente/quic-go#2973](https://github.com/lucas-clemente/quic-go/pull/2973))
630 - add a http3.RoundTripOpt to skip the request scheme check ([lucas-clemente/quic-go#2962](https://github.com/lucas-clemente/quic-go/pull/2962))
test/3nodetest/server/run.sh
+1 -1
@@ -9,7 +9,7 @@ echo "3nodetest> starting server daemon"
9 # run daemon in debug mode to collect profiling data
10 ipfs daemon --debug &
11 sleep 3
12 -# TODO instead of bootrapping: ipfs swarm connect /ip4/$BOOTSTRAP_PORT_4011_TCP_ADDR/tcp/$BOOTSTRAP_PORT_4011_TCP_PORT/p2p/QmNXuBh8HFsWq68Fid8dMbGNQTh7eG6hV9rr1fQyfmfomE
12 +# TODO instead of bootstrapping: ipfs swarm connect /ip4/$BOOTSTRAP_PORT_4011_TCP_ADDR/tcp/$BOOTSTRAP_PORT_4011_TCP_PORT/p2p/QmNXuBh8HFsWq68Fid8dMbGNQTh7eG6hV9rr1fQyfmfomE
13
14 # change dir before running add commands so ipfs client profiling data doesn't
15 # overwrite the daemon profiling data
test/sharness/lib/test-lib.sh
+2 -2
@@ -158,8 +158,8 @@ test_wait_open_tcp_port_10_sec() {
158 for i in $(test_seq 1 100)
159 do
160 # this is not a perfect check, but it's portable.
161 - # cant count on ss. not installed everywhere.
162 - # cant count on netstat using : or . as port delim. differ across platforms.
161 + # can't count on ss. not installed everywhere.
162 + # can't count on netstat using : or . as port delim. differ across platforms.
163 echo $(netstat -aln | egrep "^tcp.*LISTEN" | egrep "[.:]$1" | wc -l) -gt 0
164 if [ $(netstat -aln | egrep "^tcp.*LISTEN" | egrep "[.:]$1" | wc -l) -gt 0 ]; then
165 return 0
test/sharness/t0040-add-and-cat.sh
+3 -3
@@ -882,17 +882,17 @@ test_expect_success "'ipfs add -rn' succeeds" '
882 mkdir -p mountdir/moons/saturn &&
883 echo "Hello Europa!" >mountdir/moons/jupiter/europa.txt &&
884 echo "Hello Titan!" >mountdir/moons/saturn/titan.txt &&
885 - echo "hey youre no moon!" >mountdir/moons/mercury.txt &&
885 + echo "hey you are no moon!" >mountdir/moons/mercury.txt &&
886 ipfs add -rn mountdir/moons >actual
887 '
888
889 test_expect_success "'ipfs add -rn' output looks good" '
890 - MOONS="QmVKvomp91nMih5j6hYBA8KjbiaYvEetU2Q7KvtZkLe9nQ" &&
890 + MOONS="QmbGoaQZm8kjYfCiN1aBsgwhqfUBGDYTrDb91Mz7Dvq81B" &&
891 EUROPA="Qmbjg7zWdqdMaK2BucPncJQDxiALExph5k3NkQv5RHpccu" &&
892 JUPITER="QmS5mZddhFPLWFX3w6FzAy9QxyYkaxvUpsWCtZ3r7jub9J" &&
893 SATURN="QmaMagZT4rTE7Nonw8KGSK4oe1bh533yhZrCo1HihSG8FK" &&
894 TITAN="QmZzppb9WHn552rmRqpPfgU5FEiHH6gDwi3MrB9cTdPwdb" &&
895 - MERCURY="QmUJjVtnN8YEeYcS8VmUeWffTWhnMQAkk5DzZdKnPhqUdK" &&
895 + MERCURY="QmRsTB5CpEUvDUpDgHCzb3VftZ139zrk9zs5ZcgYh9TMPJ" &&
896 echo "added $EUROPA moons/jupiter/europa.txt" >expected &&
897 echo "added $MERCURY moons/mercury.txt" >>expected &&
898 echo "added $TITAN moons/saturn/titan.txt" >>expected &&
test/sharness/t0114-gateway-subdomains.sh
+7 -7
@@ -163,7 +163,7 @@ test_localhost_gateway_response_should_contain \
163 "Location: http://$DIR_CID.ipfs.localhost:$GWAY_PORT/"
164
165 # Kubo specific end-to-end test
166 -# (independend of gateway-conformance)
166 +# (independent of gateway-conformance)
167
168 # We return human-readable body with HTTP 301 so existing cli scripts that use path-based
169 # gateway are informed to enable following HTTP redirects
@@ -194,7 +194,7 @@ test_localhost_gateway_response_should_contain \
194 # /ipns/<dnslink-fqdn>
195
196 # Kubo specific end-to-end test
197 -# (independend of gateway-conformance)
197 +# (independent of gateway-conformance)
198
199 test_localhost_gateway_response_should_contain \
200 "request for localhost/ipns/{fqdn} redirects to DNSLink in subdomain" \
@@ -228,7 +228,7 @@ test_localhost_gateway_response_should_contain \
228 "I am a txt file"
229
230 # Kubo specific end-to-end test
231 -# (independend of gateway-conformance)
231 +# (independent of gateway-conformance)
232 # This tests link to parent specific to boxo + relative pathing end-to-end tests specific to Kubo.
233
234 # {CID}.ipfs.localhost/sub/dir (Directory Listing)
@@ -429,7 +429,7 @@ test_hostname_gateway_response_should_contain \
429 "404 Not Found"
430
431 # Kubo specific end-to-end test
432 -# (independend of gateway-conformance)
432 +# (independent of gateway-conformance)
433 # HTML specific to Boxo/Kubo, and relative pathing specific to code in Kubo
434
435 # {CID}.ipfs.example.com/sub/dir (Directory Listing)
@@ -801,8 +801,8 @@ test_expect_success "request for http://fake.domain.com/ipfs/{CID} with X-Forwar
801 "
802
803 # Kubo specific end-to-end test
804 -# (independend of gateway-conformance)
805 -# test cofiguration beign wired up correctly end-to-end
804 +# (independent of gateway-conformance)
805 +# test configuration beign wired up correctly end-to-end
806
807 ## ============================================================================
808 ## Test support for wildcards in gateway config
@@ -916,4 +916,4 @@ test_expect_success "clean up ipfs dir" '
916
917 test_done
918
919 -# end Kubo specific end-to-end test
\ No newline at end of file
919 +# end Kubo specific end-to-end test
test/sharness/t0121-bootstrap-iptb.sh
+1 -1
@@ -52,7 +52,7 @@ test_expect_success "bring down iptb nodes" '
52 '
53
54 test_expect_success "reset iptb nodes" '
55 - # the api doesnt seem to get cleaned up in sharness tests for some reason
55 + # the api does not seem to get cleaned up in sharness tests for some reason
56 iptb testbed create -type localipfs -count 5 -force -init
57 '
58
test/sharness/t0182-circuit-relay.sh
+1 -1
@@ -11,7 +11,7 @@ test_expect_success 'init iptb' '
11 iptb run -- ipfs config --json "Routing.LoopbackAddressesOnLanDHT" true
12 '
13
14 -# Network toplogy: A <-> Relay <-> B
14 +# Network topology: A <-> Relay <-> B
15 test_expect_success 'start up nodes for configuration' '
16 iptb start -wait -- --routing=none
17 '