From 97692a5895e1442c932e7060cf0403b3cefe656f Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Mon, 9 Aug 2021 22:51:35 +0200 Subject: [PATCH] fix: macos notarized fs-repo-migrations Uses: https://github.com/ipfs/distributions/pull/381 Closes #8240 --- docs/environment-variables.md | 7 ++++--- repo/fsrepo/migrations/fetcher.go | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/environment-variables.md b/docs/environment-variables.md index 7f7d0f53bd1..78f3d4d5c84 100644 --- a/docs/environment-variables.md +++ b/docs/environment-variables.md @@ -77,10 +77,11 @@ Defaults: 2048 ## `IPFS_DIST_PATH` -URL from which go-ipfs fetches repo migrations (when the daemon is launched with -the `--migrate` flag). +IPFS Content Path from which go-ipfs fetches repo migrations (when the daemon +is launched with the `--migrate` flag). -Default: https://ipfs.io/ipfs/$something (depends on the IPFS version) +Default: `/ipfs/` (the exact path is hardcoded in +`migrations.CurrentIpfsDist`, depends on the IPFS version) ## `IPFS_NS_MAP` diff --git a/repo/fsrepo/migrations/fetcher.go b/repo/fsrepo/migrations/fetcher.go index e70a9ae11e8..812a8a9295a 100644 --- a/repo/fsrepo/migrations/fetcher.go +++ b/repo/fsrepo/migrations/fetcher.go @@ -10,7 +10,7 @@ import ( const ( // Current dirstibution to fetch migrations from - CurrentIpfsDist = "/ipfs/QmVxxcTSuryJYdQJGcS8SyhzN7NBNLTqVPAxpu6gp2ZcrR" + CurrentIpfsDist = "/ipfs/QmP7tLxzhLU1KauTRX3jkVkF93pCv4skcceyUYMhf4AKJR" // fs-repo-migrations v2.0.2 // Latest distribution path. Default for fetchers. LatestIpfsDist = "/ipns/dist.ipfs.io"