Skip to content

Commit 6e61006

Browse files
authored
fix: macos notarized fs-repo-migrations (ipfs#8333)
Uses: ipfs/distributions#381 Closes ipfs#8240
1 parent 9398d80 commit 6e61006

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/environment-variables.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,11 @@ Defaults: 2048
7777

7878
## `IPFS_DIST_PATH`
7979

80-
URL from which go-ipfs fetches repo migrations (when the daemon is launched with
81-
the `--migrate` flag).
80+
IPFS Content Path from which go-ipfs fetches repo migrations (when the daemon
81+
is launched with the `--migrate` flag).
8282

83-
Default: https://ipfs.io/ipfs/$something (depends on the IPFS version)
83+
Default: `/ipfs/<cid>` (the exact path is hardcoded in
84+
`migrations.CurrentIpfsDist`, depends on the IPFS version)
8485

8586
## `IPFS_NS_MAP`
8687

repo/fsrepo/migrations/fetcher.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
const (
1212
// Current dirstibution to fetch migrations from
13-
CurrentIpfsDist = "/ipfs/QmVxxcTSuryJYdQJGcS8SyhzN7NBNLTqVPAxpu6gp2ZcrR"
13+
CurrentIpfsDist = "/ipfs/QmP7tLxzhLU1KauTRX3jkVkF93pCv4skcceyUYMhf4AKJR" // fs-repo-migrations v2.0.2
1414
// Latest distribution path. Default for fetchers.
1515
LatestIpfsDist = "/ipns/dist.ipfs.io"
1616

0 commit comments

Comments
 (0)