vagrant/plugins
sophia c2d8f892ac Find type to unany objects when mapping
find_types works fine until you have a module which has the same name but different case. For example, the VagrantVmware package is HashiCorp::VagrantVMwareDesktop. All the protos are at Hashicorp::Vagrant::… So, you end up with this fun

Object.constants.select { |n| n.to_s.downcase == "hashicorp" }
=> [:HashiCorp, :Hashicorp]

So, when trying to walk down the modules to find the right type to unany to, Vagrant sometimes takes the wrong path (eg. Down the HashiCorp module instead of the Hashicorp module).

This change will keep a list of the parent modules when walking down the module list. This way if a dead end is reached then Vagrant can go a level back and keep searching for the correct class.
2022-07-26 12:22:28 -05:00
..
commands Find type to unany objects when mapping 2022-07-26 12:22:28 -05:00
communicators Check for nil return from forwarded ports cap 2020-08-19 17:13:33 -05:00
guests Fix guest plugin issues 2022-04-25 12:24:47 -05:00
hosts Make myplugin have parents darwin and bsd 2022-04-25 12:24:48 -05:00
kernel_v1 Support environment variable forwarding, fixes #4131 2015-11-19 16:25:54 -08:00
kernel_v2 Bring plugin options back to Ruby for providers and synced folders 2022-07-15 12:14:47 -05:00
providers Fix Docker machines being lost in go side 2022-07-13 14:04:32 -05:00
provisioners Adjust provisioner to upload file before modifying it 2022-06-15 10:55:00 -07:00
pushes Fix local exec pushes in server mode 2022-04-25 12:26:17 -05:00
synced_folders Use optional fields on Synced Folder instead of empty string checks 2022-04-25 12:26:44 -05:00
README.md Return a result from an up action 2022-04-25 12:23:51 -05:00

Vagrant Core Plugins

These are plugins that ship with Vagrant. Vagrant core uses its own plugin system to power a lot of the core pieces that ship with Vagrant. Each plugin will have its own README which explains its specific role.

Generate proto

grpc_tools_ruby_protoc -I . --ruby_out=gen/plugin --grpc_out=gen/plugin ./plugin_server.proto