-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration downloads individual migration binaries #134
Conversation
When performing a migration after installing a new ipfs version, ipfs-update finds the necessary mirgations, downloads the latest version of them from the distribution site, unpacks the executables, and runs the migrations in order. It uses the code located in go-ipfs/repo/fsrepo/migrations to do this. Also used go-ipfs/repo/fsrepo/migrations - fetching binaries for things other than migrations - fetching version information about binaries other than migrations - looking at current repo version - checking for local ipfs api availability
Thank you for submitting this PR!
Getting other community members to do a review would be great help too on complex PRs (you can ask in the chats/forums). If you are unsure about something, just leave us a comment.
We currently aim to provide initial feedback/triaging within two business days. Please keep an eye on any labelling actions, as these will indicate priorities and status of your contribution. |
01d17a3
to
0445554
Compare
- Use temporary IPFS_DIST_PATH until migrations of on dist site
0445554
to
559698b
Compare
Support "latest" and "latest-stable" versions
f91a74c
to
736a6c0
Compare
- Update sharness tests to use migration 2.0.0 distribution
Update to latest go-ipfs that know about migrations with vtag
Rename migrations from ipfs-x-to-y to fs-repo-x-to-y
ca32b3e
to
e280378
Compare
When performing a migration after installing a new ipfs version, ipfs-update finds the necessary mirgations, downloads the latest version of them from the distribution site, unpacks the executables, and runs the migrations in order. It uses the code located in
go-ipfs/repo/fsrepo/migrations
to do this.Also uses
go-ipfs/repo/fsrepo/migrations
for:This PR depends on the following: