-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix/separate migration bins #7857
Commits on Jan 29, 2021
-
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
Configuration menu - View commit details
-
Copy full SHA for e37d08f - Browse repository at this point
Copy the full SHA e37d08fView commit details -
Do not put migrations under their own root
Since the migrations are not displayed on the dirtributions, there is not need to organize them under their own root to reduce visual clutter. Having each migration follow the same path as all other distributions makes each easier to find in the absence of a link displayed on the distributions web page. It also avoids complicating the distribution deployment scripts and allows each migration distribution to be treated the same as any other distribution.
Configuration menu - View commit details
-
Copy full SHA for 5a3e567 - Browse repository at this point
Copy the full SHA 5a3e567View commit details -
Export IpfsDir() and CheckIpfsDir()
- IpfsDir gets the location of the ipfs directory, whether it exists or not - CheckIpfsDir get the location and checks whether it exists.
Configuration menu - View commit details
-
Copy full SHA for 01df5bd - Browse repository at this point
Copy the full SHA 01df5bdView commit details -
When version file is missing, do not assume this indicates version 0 …
…since that breaks tests that get the version to see if ipfs is initialized
Configuration menu - View commit details
-
Copy full SHA for 048db75 - Browse repository at this point
Copy the full SHA 048db75View commit details -
Configuration menu - View commit details
-
Copy full SHA for afcda7c - Browse repository at this point
Copy the full SHA afcda7cView commit details -
Fix error reading zip when archive not found
- Udate path to IPFS dist - Improve test coverage
Configuration menu - View commit details
-
Copy full SHA for e205b66 - Browse repository at this point
Copy the full SHA e205b66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0942e3b - Browse repository at this point
Copy the full SHA 0942e3bView commit details
Commits on Feb 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9d1fdcc - Browse repository at this point
Copy the full SHA 9d1fdccView commit details
Commits on Feb 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 515381d - Browse repository at this point
Copy the full SHA 515381dView commit details
Commits on Feb 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e22413a - Browse repository at this point
Copy the full SHA e22413aView commit details
Commits on Feb 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fcbe47b - Browse repository at this point
Copy the full SHA fcbe47bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 852dfab - Browse repository at this point
Copy the full SHA 852dfabView commit details
Commits on Mar 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 077266d - Browse repository at this point
Copy the full SHA 077266dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1430a01 - Browse repository at this point
Copy the full SHA 1430a01View commit details
Commits on Mar 25, 2021
-
Rename migrations from ipfs-x-to-y to fs-repo-x-to-y (#8002)
* rename migrations from ipfs-x-to-y to fs-repo-x-to-y * update current ipfs dist to one with migrations v1.0.0
Configuration menu - View commit details
-
Copy full SHA for 1530cd2 - Browse repository at this point
Copy the full SHA 1530cd2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09a481e - Browse repository at this point
Copy the full SHA 09a481eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 891c81e - Browse repository at this point
Copy the full SHA 891c81eView commit details -
test: repo migrations fetch - skip part of a test on windows since it…
… does not support read-only directories
Configuration menu - View commit details
-
Copy full SHA for 36de939 - Browse repository at this point
Copy the full SHA 36de939View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ee8710 - Browse repository at this point
Copy the full SHA 5ee8710View commit details
Commits on Mar 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f00b49b - Browse repository at this point
Copy the full SHA f00b49bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe97eee - Browse repository at this point
Copy the full SHA fe97eeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fc1594 - Browse repository at this point
Copy the full SHA 2fc1594View commit details
Commits on Mar 31, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b75d823 - Browse repository at this point
Copy the full SHA b75d823View commit details