-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Add architecture support #13239
Merged
chrisroberts
merged 11 commits into
hashicorp:main
from
chrisroberts:architecture-aware
Sep 27, 2023
Merged
Add architecture support #13239
chrisroberts
merged 11 commits into
hashicorp:main
from
chrisroberts:architecture-aware
Sep 27, 2023
Commits on Sep 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7824c2d - Browse repository at this point
Copy the full SHA 7824c2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2170136 - Browse repository at this point
Copy the full SHA 2170136View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5513173 - Browse repository at this point
Copy the full SHA 5513173View commit details -
Add architecture support for boxes
Introduce support for handling box architecture. Adds a new `box_architecture` setting that defaults to `:auto` which will perform automatic detection of the host system, but can be overridden with a custom value. Can also be set to `nil` which will result in it fetching the box flagged with the default architecture within the metadata. Box collection has been modified to allow existing boxes already downloaded and unpacked to still function as expected when architecture information is not available.
Configuration menu - View commit details
-
Copy full SHA for 51adb12 - Browse repository at this point
Copy the full SHA 51adb12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e13612 - Browse repository at this point
Copy the full SHA 6e13612View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66435a8 - Browse repository at this point
Copy the full SHA 66435a8View commit details
Commits on Sep 16, 2023
-
Use api endpoint for expanded urls
When expanding the box url, prefer the API endpoint which is updated to include provider architecture information. Test the API endpoint and the legacy endpoint and use which ever is valid, with the API taking precedence. This allows Vagrant to continue with non Vagrant Cloud servers that do not implement the API endpoint.
Configuration menu - View commit details
-
Copy full SHA for 9ef5c49 - Browse repository at this point
Copy the full SHA 9ef5c49View commit details
Commits on Sep 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3ea1bec - Browse repository at this point
Copy the full SHA 3ea1becView commit details
Commits on Sep 25, 2023
-
Adjust internal layout to allow downgrading
With the initial layout of `provider/architecture`, after installing a box with architecture support downgrading Vagrant would result in it being unable to process the box collection. Swapping the layout to be `architecture/provider` allows downgrades to still properly process the box collection.
Configuration menu - View commit details
-
Copy full SHA for c8a7989 - Browse repository at this point
Copy the full SHA c8a7989View commit details -
Configuration menu - View commit details
-
Copy full SHA for e719113 - Browse repository at this point
Copy the full SHA e719113View commit details
Commits on Sep 26, 2023
-
Adjust installation for unknown default architecture
When the reported architecture is unknown and the provider is listed as the default architecture, add the box without architecture information so it is installed without architecture information on the path within the collection.
Configuration menu - View commit details
-
Copy full SHA for 74b4a2b - Browse repository at this point
Copy the full SHA 74b4a2bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.