kubo/cmd/ipfs
gammazero e37d08f210 Migration downloads individual migration binaries
The code in this PR finds the necessary mirgations, downloads the latest version of them from the distribution site, unpacks the executables, and runs the migrations in order.

This code is also used to build the ipfs-update tool and the fs-repo-migrations tool.  Note: the fs-repo-migrations tool is only used to run stand-alone migrations now and is not used by either go-ipfs or ipfs-update.

Additional utility is provided by this PR, that is not specific to migrations:
- Find local ipfs directory
- Get current repo version
- Check for ipfs daemon availability
- Get version information about any distribution on distribution site
- Fetch and unpack any binary executable over ipfs or http
2021-01-29 13:10:44 -08:00
..
dist Update the license distributed with dist builds to the dual one 2020-02-06 22:27:15 +01:00
util fix build on Plan 9 2020-09-23 22:27:01 -04:00
.gitignore make: rework makefiles for non-recursive make and add sharness coverage 2017-02-12 01:18:40 +01:00
daemon_linux.go chore(dep): update deps 2020-01-28 21:20:17 -08:00
daemon_other.go systemd: add notify support 2019-09-27 16:08:30 -07:00
daemon.go Migration downloads individual migration binaries 2021-01-29 13:10:44 -08:00
dnsresolve_test.go gx: unrewrite 2019-03-05 18:33:56 +01:00
init.go Improve error message when running key command that locks repo (#7821) 2021-01-28 15:15:49 -05:00
ipfs.go move key rotation command to ipfs key rotate 2020-08-17 07:26:47 -04:00
main.go chore: update go-multiaddr and go-multiaddr-net 2020-08-25 15:24:48 -04:00
pinmfs_test.go add remote pinning policy for mfs (#7798) 2021-01-28 18:58:44 -05:00
pinmfs.go add remote pinning policy for mfs (#7798) 2021-01-28 18:58:44 -05:00
Rules.mk mk: s/go-build/go-build-relative/ 2019-03-05 18:33:58 +01:00
runmain_test.go make: rework makefiles for non-recursive make and add sharness coverage 2017-02-12 01:18:40 +01:00