Skip to content

[Backport release-24.11] vagrant: 2.4.1 -> 2.4.3 - #362493

Merged
bjornfor merged 1 commit into
release-24.11from
backport-362117-to-release-24.11
Dec 6, 2024
Merged

bjornfor merged 1 commit into
release-24.11from
backport-362117-to-release-24.11

Conversation

@nixpkgs-ci

@nixpkgs-ci nixpkgs-ci Bot commented Dec 6, 2024 •

Copy link
Copy Markdown
Contributor

Bot-based backport to release-24.11, triggered by a label in #362117.

  • Before merging, ensure that this backport is acceptable for the release.
    • Even as a non-commiter, if you find that it is not acceptable, leave a comment.

I'm including the steps I took to update this package to help the next
committer. Time permitting, this should probably be codified as a
formal update script:

1. Clone the upstream hashicorp/vagrant repository
2. Check out the desired version tag
3. Run `bundle lock` within the repository to generate `Gemfile.lock`
4. Run `bundix` to generate a `gemset.nix`
5. Move `gemset.nix` to overwrite this package's `gemset.nix`
6. Remove the self-referential `vagrant` attribute of the gemset
7. Clone vagrant-libvirt/vagrant-libvirt and check out the desired tag (probably latest release tag)
8. (Maybe optional?) because `bundle lock` lacks the ability to exclude groups; comment out groups unrelated to a release like `development` and `test, otherwise dependency conflicts with vagrant's `gemset.nix` are likely.
9. Run `bundle lock` within the repository to generate `Gemfile.lock`
10. Run `bundix` to generate a `gemset.nix`
11. Move `gemset.nix` to overwrite this package's `gemset_libvirt.nix`
12. Edit the `vagrant-libvirt` gem attribute to change its source to rubygems and not a relative path

Aside from these specific steps, the normal package update steps apply (update version, set hash to `lib.fakeHash`, get the updated hash to replace the old).

(cherry picked from commit 3cb2fa6)
@nixpkgs-ci nixpkgs-ci Bot mentioned this pull request Dec 6, 2024
3 of 13 tasks
@github-actions github-actions Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Dec 6, 2024
@bjornfor

bjornfor commented Dec 6, 2024

Copy link
Copy Markdown
Contributor

Result of nixpkgs-review pr 362493 run on x86_64-linux 1

1 package built:
  • vagrant

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Dec 6, 2024
@bjornfor
bjornfor merged commit ed86e56 into release-24.11 Dec 6, 2024
@bjornfor
bjornfor deleted the backport-362117-to-release-24.11 branch December 6, 2024 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants