Skip to content
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
merged 11 commits into from
Sep 27, 2023
Merged

Commits on Sep 14, 2023

  1. Configuration menu
    Copy the full SHA
    7824c2d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2170136 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5513173 View commit details
    Browse the repository at this point in the history
  4. 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.
    chrisroberts committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    51adb12 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6e13612 View commit details
    Browse the repository at this point in the history
  6. Add architecture to docs

    chrisroberts committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    66435a8 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2023

  1. 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.
    chrisroberts committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    9ef5c49 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. Configuration menu
    Copy the full SHA
    3ea1bec View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. 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.
    chrisroberts committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    c8a7989 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e719113 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. 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.
    chrisroberts committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    74b4a2b View commit details
    Browse the repository at this point in the history