Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hashicorp/packer-plugin-vagrant
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.1
Choose a base ref
...
head repository: hashicorp/packer-plugin-vagrant
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.2
Choose a head ref
  • 10 commits
  • 9 files changed
  • 5 contributors

Commits on Oct 26, 2023

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

Commits on Nov 2, 2023

  1. Put in dev mode v1.1.2

    nywilken committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    83b46b8 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. Bump github.com/hashicorp/packer-plugin-sdk from 0.5.1 to 0.5.2

    Bumps [github.com/hashicorp/packer-plugin-sdk](https://github.com/hashicorp/packer-plugin-sdk) from 0.5.1 to 0.5.2.
    - [Release notes](https://github.com/hashicorp/packer-plugin-sdk/releases)
    - [Changelog](https://github.com/hashicorp/packer-plugin-sdk/blob/main/CHANGELOG.md)
    - [Commits](hashicorp/packer-plugin-sdk@v0.5.1...v0.5.2)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/hashicorp/packer-plugin-sdk
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and lbajolet-hashicorp committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    11c78b0 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    b65e0c6 View commit details
    Browse the repository at this point in the history
  2. Fix: Parallels macvm support

    Make the post-processor able to create vagrant box from M1 macOS images.
    sztivt authored and lbajolet-hashicorp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    df8fc09 View commit details
    Browse the repository at this point in the history
  3. Treat 201 Created response codes as successful requests

    The Vagrant Cloud API responds to the creation of resources with `200
    OK` and the create version and create provider steps only check for this
    status code. However according to RESTful conventions the expected
    response for resource creation would be `201 Created`. From MDN[1]:
    
        The HTTP 201 Created success status response code indicates that the
        request has succeeded and has led to the creation of a resource
    
    and restfulapi.net[2]:
    
        HTTP Status 201 indicates that as a result of HTTP POST request, one
        or more new resources have been successfully created on the server.
    
    To ensure that the post-processor works with alternative implementations
    that provide Vagrant Cloud like functionality, but adhere to RESTful
    conventions, it would be useful if the response code checks allowed a
    `200` status code.
    
    [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/201
    [2] https://restfulapi.net/http-status-201-created/
    jerrykan authored and nywilken committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    1e0caec View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. parallels: error when no VM file found in source

    The post-processor, when consuming a parallels artifact, checks for the
    presence of a pvm or macvm file from the files of the artifact
    received, and copies it in the output box for vagrant to use later.
    However, if the artifact does not contain a compatible file, the
    post-processor does not error, and instead returns a success, leading to
    an unusable box being produced.
    
    To avoid this, we count the files copied, and if none were, the box will
    be unusable, so the post-processor errors now.
    lbajolet-hashicorp authored and nywilken committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    0af524f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d22623a View commit details
    Browse the repository at this point in the history
  3. parallels: simplify regex for vm files

    The original regex had multiple occurrences of a `.+?' pattern, which is
    essentially the same as a `.*', so we replace the former by the latter
    for clarity.
    
    Additionally, since the beginning of the path does not interest us, we
    can ignore it from the regex, and only start matching once we have found
    what's interesting for us, further simplifying the expression.
    lbajolet-hashicorp authored and nywilken committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    308d101 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. version: Cut release 1.1.2

    nywilken committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    6021657 View commit details
    Browse the repository at this point in the history
Loading