Commit graph

339 commits

Author SHA1 Message Date
Chris Roberts
2afcf5dd1a
Remove library dependencies
Remove dependencies from the gemspec for libraries that
are no longer in use.
2025-04-22 16:03:34 -07:00
Chris Roberts
80b178de5b
Include Ruby 3.4 2025-03-21 10:58:23 -07:00
Allison Larson
8d6ba32bb6 Bump wdm, childprocess gem constraints 2025-03-12 10:29:51 -07:00
Chris Roberts
23becce835
Relax the webrick constraint 2024-11-11 16:44:41 -08:00
Chris Roberts
20bc2303ee
Update minimum constraint on vagrant_cloud 2024-11-11 15:49:42 -08:00
Chris Roberts
d7098cecb3
Further relax logger constraint 2024-11-04 08:55:47 -08:00
林博仁(Buo-ren Lin)
cdf35c09a4
Fix overly strict dependency requirement of the logger gem to allow plugin installation
Vagrant version 2.4.2 introduced a patch(512bb74) that sets the logger gem dependency to "~>1.6.1", which is too strict and prevents many Vagrant plugins from being installed.

This patch tones down the dependency specification to mitigate this problem.

Fixes #13527.

Refer-to: Add logger and ostruct to the gemspec by hswong3i · Pull Request #13499 · hashicorp/vagrant <https://github.com/hashicorp/vagrant/pull/13499>
2024-11-04 21:21:08 +08:00
Chris Roberts
ab7f0a0132
Adjust ostruct constraint 2024-10-30 12:25:51 -07:00
Chris Roberts
83731a49c0
Merge pull request #13499 from alvistack/ruby-3.5-logger
Add logger and ostruct to the gemspec
2024-10-30 12:24:42 -07:00
Chris Roberts
f75e87d4ef
Bump winrm constraint
This fixes snakecase errors that may be encountered with the
winrm communicator.
2024-10-24 15:53:18 -07:00
Wong Hoi Sing Edison
512bb74012
Add logger and ostruct to the gemspec 2024-09-06 16:12:13 +08:00
Chris Roberts
44056b072f
Loosen the grpc dependency constraint 2024-07-30 16:45:20 -07:00
Chris Roberts
bb731105f6
Merge pull request #13354 from z0rb/upgrade-grpc
Upgrade grpc to 1.62.0
2024-07-30 16:34:37 -07:00
Chris Roberts
b875d844f3
Include constraint on base64 dependency 2024-07-10 17:14:18 -07:00
Wong Hoi Sing Edison
fdf56aa6ad
Add base64 to the gemspec
base64 will no longer be the default gem in the Ruby 3.4, without this
patch following warning message may come from ruby 3.3+

    /opt/vagrant/lib/vagrant/util/powershell.rb:4: warning: base64 was
    loaded from the standard library, but will no longer be part of the
    default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec.

See https://github.com/thinreports/thinreports-generator/pull/134

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
2024-05-11 13:47:04 +08:00
Irmin Okic
bd6e3f2806
Upgrade grpc to 1.62.0 2024-02-23 23:34:03 +01:00
Chris Roberts
35e823ca12
Merge pull request #13335 from chrisroberts/ruby-3.3
Relax ruby version constraint to allow Ruby 3.3
2024-01-18 12:55:59 -08:00
Chris Roberts
d7ec3bffe9 Relax ruby version constraint to allow Ruby 3.3 2024-01-18 12:04:24 -08:00
Chris Roberts
3f00495a52 Update vagrant_cloud dependency constraint
Updates the vagrant_cloud dependency constraint to a minimum of 3.1.1
which includes a path prefixing fix that resolves an issue affect direct
uploads to Vagrant Cloud.
2024-01-17 16:16:14 -08:00
Chris Roberts
e719113165 Update constraint on vagrant_cloud library 2023-09-25 15:09:29 -07:00
Chris Roberts
51adb12547 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.
2023-09-14 16:15:03 -07:00
Chris Roberts
e958c6183a Adds initial HCP config support
Adds initial basic support for HCP based configuration in vagrant-go.
The initalization process has been updated to remove Vagrantfile parsing
from the client, moving it to the runner using init jobs for the basis
and the project (if there is one). Detection is done on the file based
on extension for Ruby based parsing or HCP based parsing.

Current HCP parsing is extremely simple and currently just a base to
build off. Config components will be able to implement an `Init`
function to handle receiving configuration data from a non-native source
file. This will be extended to include a default approach for injecting
defined data in the future.

Some cleanup was done in the state around validations. Some logging
adjustments were applied on the Ruby side for better behavior
consistency.

VirtualBox provider now caches locale detection to prevent multiple
checks every time the driver is initialized.
2023-09-07 17:26:10 -07:00
Chris Roberts
a7135c000b Apply license adjustments and fixes
Add configuration file for automated license modifications, remove
automated licese modifications from specific locations, and update the
license set in the gem specification.
2023-08-10 17:05:19 -07:00
Chris Roberts
b494c30ced Adjust extension location for correct install path
With existing layout the built shared library will end up in the `./lib`
directory, but the expected location being checked is `./lib/vagrant`.
Adjusting the path within the extension directory results in the proper
adjustment to the installation path.
2023-06-21 09:43:28 -07:00
Chris Roberts
415b006ebd Add helper for loading OpenSSL providers
On OpenSSL 3, engines have been deprecated being replaced by providers.
The Ruby openssl library supported loading specific engines, but there
is no replacement currently using providers. The winrm communicator
specifically relies on a MD4 which OpenSSL has marked as legacy and no
longer loads by default.

The extension included loads the legacy provider as well as the default
provider. The legacy provider includes MD4, thus allowing winrm to
function again.
2023-05-25 15:36:55 -07:00
sophia
30e5521760 Restrict rubyzip more strictly to avoid unintentional updates when v3.0 lands 2023-01-03 16:01:20 -08:00
sophia
138fbf9a59 Bump dependencies 2023-01-03 16:01:20 -08:00
sophia
d69287f850 Bump Ruby version to 3.x 2023-01-03 16:01:16 -08:00
Chris Roberts
b481ae547c
Merge pull request #12979 from dcermak/bump-net-ssh
Bump net-ssh to ~> 7.0
2022-11-08 14:54:21 -08:00
Chris Roberts
5139379d47
Merge pull request #12981 from dcermak/bump-rspec
Relax rspec dependency to ~> 3.11
2022-11-08 14:01:10 -08:00
Dan Čermák
0ad126309a Bump net-ssh to ~> 7.0
This also requires a bump of net-scp and net-sftp
2022-11-08 13:57:26 -08:00
Chris Roberts
9417d0c2e5 Set minimum Ruby at 2.7, remove 2.6 from testing 2022-11-03 11:55:28 -07:00
Dan Čermák
7a4b45282e
Relax rspec dependency to ~> 3.11
No need to be so overly strict, this is a test dependency, so failures will
surface immediately.
2022-11-01 15:53:19 +01:00
Chris Roberts
867b120c8f
Merge pull request #12833 from dcermak/relax-grpc-tools-version
Relax overly strict grpc-tools version requirement
2022-09-21 13:27:27 -07:00
Dan Čermák
a6e61bcc3d
Relax overly strict grpc-tools version requirement
"~> 1.41.1" limits us to 1.41 which is already a year old now, relaxing this to
"~> 1.41" allows us to pick up fresher and maintained releases.
2022-08-08 14:21:54 +02:00
Dan Čermák
c5f4cce4f1
Add support for Ruby 3.1
The biggest change comming with Ruby 3.1 is that net/ftp is no longer bundled
with Ruby but distributed as a separate gem.
2022-08-08 10:10:24 +02:00
Sophia Castellarin
14e825b8d0
Merge pull request #12753 from dcermak/bump-fake_ftp
Bump fake_ftp to ~> 0.3.0 & adjust tests
2022-08-01 13:23:00 -05:00
Dan Čermák
7e9f310dfc Bump fake_ftp to ~> 0.3.0 & adjust tests
Sadly, fake_ftp is unmaintained since 2021, but all other alternatives haven't
been touched for even longer :-/
2022-07-28 14:57:27 -05:00
Dan Čermák
3246849b1a Bump version of ed25519 to ~> 1.3.0 2022-07-28 14:45:49 -05:00
Paul Hinze
31b88946c0
Update rspec to 3.11.0
This ensures that we get the Ruby 3 keywords support that landed in that
version https://github.com/rspec/rspec-mocks/pull/1394

Unfortunately this does not magically fix our test failures, just
ensures that expectations are being handled properly across Ruby
versions going forward.
2022-04-25 12:26:39 -05:00
sophia
f3a1a9caa6
Add dependency on common protos for error details 2022-04-25 12:26:24 -05:00
Paul Hinze
a5f0064a86
Adapt nix configs for Vagrant needs
* Remove postgres, docker, k8s, and DO requirements
 * Add ruby
2022-04-25 12:25:55 -05:00
Chris Roberts
8e8f6d2621
Include dependency for rgl 2022-04-25 12:25:50 -05:00
sophia
aff0fa9494
Include vendored go libs 2022-04-25 12:23:57 -05:00
sophia
c3ee750db1
Add gogo 2022-04-25 12:23:57 -05:00
sophia
c02baa9219
Start server as vagrant command 2022-04-25 12:23:50 -05:00
Chris Roberts
716f4c0717
Merge pull request #12564 from chrisroberts/vbox-hostonly-validat
Validate VirtualBox hostonly network range
2021-11-02 11:03:44 -07:00
Chris Roberts
855b72b975 Update minimum Ruby version to 2.6 2021-11-01 14:21:44 -07:00
Dan Čermák
2a95a887e1
Bump listen version to ~> 3.6
(cherry picked from commit 8678ead4d72de6b79111adabc90aa3877d8777fb)
2021-08-02 14:59:18 +02:00
Chris Roberts
42ecc62c25 Bump vagrant_cloud dependency constraint minimum 2021-07-22 16:01:02 -07:00