@cryptotaxi247 / kubo / commits / 4f7d4bcc0

docs: replace all git.io links with their actual URLs

SukkaW committed Apr 28, 2022 at 21:39 UTC 4f7d4bcc0581f8157523f0a05a4a7665669a7572
5 files changed +11 -11
core/commands/root.go
+1 -1
@@ -152,7 +152,7 @@ var rootSubcommands = map[string]*cmds.Command{
152 "swarm": SwarmCmd,
153 "tar": TarCmd,
154 "file": unixfs.UnixFSCmd,
155 - "update": ExternalBinary("Please see https://git.io/fjylH for installation instructions."),
155 + "update": ExternalBinary("Please see https://github.com/ipfs/ipfs-update/blob/master/README.md#install for installation instructions."),
156 "urlstore": urlStoreCmd,
157 "version": VersionCmd,
158 "shutdown": daemonShutdownCmd,
core/coreapi/unixfs.go
+1 -1
@@ -96,7 +96,7 @@ func (api *UnixfsAPI) Add(ctx context.Context, files files.Node, opts ...options
96 //}
97
98 if settings.NoCopy && !(cfg.Experimental.FilestoreEnabled || cfg.Experimental.UrlstoreEnabled) {
99 - return nil, fmt.Errorf("either the filestore or the urlstore must be enabled to use nocopy, see: https://git.io/vNItf")
99 + return nil, fmt.Errorf("either the filestore or the urlstore must be enabled to use nocopy, see: https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#ipfs-filestore")
100 }
101
102 addblockstore := api.blockstore
docs/implement-api-bindings.md
+6 -6
@@ -63,7 +63,7 @@ In HTTP, our API layering uses a REST-like mapping, where:
63
64 There is a "standard IPFS API" which is currently defined as "all the commands
65 exposed by the go-ipfs implementation". There are auto-generated [API Docs](https://ipfs.io/docs/api/).
66 -You can Also see [a listing here](https://git.io/v5KG1), or get a list of
66 +You can Also see [a listing here](https://github.com/ipfs/go-ipfs/blob/94b832df861728c65e912935641d08880c341e0a/core/commands/root.go#L96-L130), or get a list of
67 commands by running `ipfs commands` locally.
68
69 ## Implementing bindings for the HTTP API
@@ -80,8 +80,8 @@ To date, we have two different HTTP API clients:
80
81 - [js-ipfs-api](https://github.com/ipfs/js-ipfs-api) - simple javascript
82 wrapper -- best to look at
83 -- [go-ipfs/commands/http](https://git.io/v5KnB) -
84 - generalized transport based on the [command definitions](https://git.io/v5KnE)
83 +- [go-ipfs/commands/http](https://github.com/ipfs/go-ipfs/tree/916f987de2c35db71815b54bbb9a0a71df829838/commands/http) -
84 + generalized transport based on the [command definitions](https://github.com/ipfs/go-ipfs/tree/916f987de2c35db71815b54bbb9a0a71df829838/core/commands)
85
86 The Go implementation is good to answer harder questions, like how is multipart
87 handled, or what headers should be set in edge conditions. But the javascript
@@ -90,12 +90,12 @@ implementation is very concise, and easy to follow.
90 #### Anatomy of node-ipfs-api
91
92 Currently, node-ipfs-api has three main files
93 -- [src/index.js](https://git.io/v5Kn2) defines the functions clients of the API
93 +- [src/index.js](https://github.com/ipfs-inactive/js-ipfs-http-client/blob/66d1462bd02181d46e8baf4cd9d476b213426ad8/src/index.js) defines the functions clients of the API
94 module will use. uses `RequestAPI`, and translates function call parameters to
95 the API almost directly.
96 -- [src/get-files-stream.js](https://git.io/v5Knr) implements the hardest part:
96 +- [src/get-files-stream.js](https://github.com/ipfs-inactive/js-ipfs-http-client/blob/66d1462bd02181d46e8baf4cd9d476b213426ad8/src/get-files-stream.js) implements the hardest part:
97 file streaming. This one uses multipart.
98 -- [src/request-api.js](https://git.io/v5KnP) generic function call to perform
98 +- [src/request-api.js](https://github.com/ipfs-inactive/js-ipfs-http-client/blob/66d1462bd02181d46e8baf4cd9d476b213426ad8/src/request-api.js) generic function call to perform
99 the actual HTTP requests
100
101 ## Note on multipart + inspecting requests
fuse/node/mount_notsupp.go
+1 -1
@@ -9,5 +9,5 @@ import (
9 )
10
11 func Mount(node *core.IpfsNode, fsdir, nsdir string) error {
12 - return errors.New("FUSE not supported on OpenBSD or NetBSD. See #5334 (https://git.io/fjMuC).")
12 + return errors.New("FUSE not supported on OpenBSD or NetBSD. See #5334 (https://github.com/ipfs/go-ipfs/issues/5334).")
13 }
test/sharness/t0112-gateway-cors.sh
+2 -2
@@ -77,8 +77,8 @@ test_expect_success "GET to API succeeds" '
77 curl -svX GET "http://127.0.0.1:$GWAY_PORT/api/v0/cat?arg=$thash" >/dev/null 2>curl_output
78 '
79 # GET Response from the API should NOT contain CORS headers
80 -# Blacklisting: https://git.io/vzaj2
81 -# Rationale: https://git.io/vzajX
80 +# Blacklisting: https://github.com/ipfs/go-ipfs/blob/5d9ee59908099df3f7e85679f7384c98d4ac8111/commands/http/handler.go#L71-L82
81 +# Rationale: https://github.com/ipfs/go-ipfs/pull/1529#issuecomment-125702347
82 test_expect_success "OPTIONS response for API looks good" '
83 grep -q "Access-Control-Allow-" curl_output && false || true
84 '