-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Status of vagrant-go #12819
Comments
Hi @soapy1! This is great news! |
Oh, yep! The documentation will be live once Vagrant 2.3 is released. In the meantime you can see it at https://github.com/hashicorp/vagrant/blob/main/website/content/docs/experimental/vagrant_go.mdx |
Thanks @soapy1! So I misunderstood your original post, do you have - by any chance - an ETA for 2.3 that you can share? |
Heya @ChristoWolf, 2.3 should be out pretty soon. We are just finishing up some testing. While the Vagrant-go binary is meant to be very alpha, we still want to ensure that the default Vagrant-ruby doesn't have any regressions.
Testing out Vagrant-go and submitting issues you find is much appreciated! We have some known issues that are on our radar. But, we expect there to be many more bugs given that this is an alpha release. The linked docs has some info on how you can get started using it and outlines some important differences. And the contributing documentation has been updated with instructions on how to get a development install of Vagrant-go working. |
This is a dead link btw.
As the downstream packager in openSUSE: what are you as upstream expecting from distributions packaging vagrant? Should we include And do I understand it correctly, that the golang part is at the moment completely optional? |
We'll be updating the docs site soon! In the mean time you can see the docs at https://github.com/hashicorp/vagrant/blob/main/website/content/docs/experimental/vagrant_go.mdx
👍 Since |
@soapy1 With vagrant 3.x made in Go, it is expected that the plugins for vagrant written in ruby keep working? Or will be required to reimplement them in go? |
Just downloaded and installed Vagrant 2.3 on Windows 11: no vagrant-go installed and I can't find any additional option into the installer that allows me to install it. What am I missing? |
|
I'll admit to being new to vagrant, but this delay on the Go binary can't be right... Is there something obvious I am doing wrong? $ time vagrant --version real 0m0.156s $ time vagrant-go --version Vagrant 2.3.0 (024f366ed+CHANGES) real 0m12.705s Similarly, vagrant up and destroy on a trivial Dockerfile (Docker provider): This is on an Ubuntu 22.04 server, using the 2.3.0 binaries available from these instructions: https://www.vagrantup.com/downloads. Similar timings on a "vagrant" binary created via 'make bin' on a git clone. Let me know how I can assist. |
🎉 🙌 🚀 Excited to see Vagrant 2.3.0 is now released, and brew info --cask vagrant
==> vagrant: 2.3.0
https://www.vagrantup.com/
/opt/homebrew/Caskroom/vagrant/2.3.0 (3 files, 60.5MB)
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/vagrant.rb
==> Name
Vagrant
==> Description
Development environment
==> Artifacts
vagrant.pkg (Pkg)
==> Analytics
install: 8,160 (30 days), 24,862 (90 days), 126,068 (365 days)
file $(which vagrant-go)
/usr/local/bin/vagrant-go: Mach-O 64-bit executable x86_64 Note: This output was from an installation on an M1 Macbook. Of course, the Homebrew distributed version includes binaries that are still only compiled for Amd64 / Given that it's in alpha / beta status, this is probably to be expected... but I'm still really interested in building and testing out native Vagrant on Apple Silicon. I did have some luck installing a native Q: Is there a way that I can build For example, should I just issue |
after updating to the latest release 2.3.1 i gave it a try and its the same for me. Quite all operations are very slow. |
@abbbi from my cursory review of 2.3 releases it seems like vagrant-go is launching the legacy ruby Separately, I tried running |
I just discovered vagrant-go and got my hopes up I'd get rid of the Ruby syntax in the Vagrantfile and instead write everything in go. That's doesn't seem to be the case at all. Are there any plans to provide this feature? |
Bro, its |
As usual, it is probably not a good idea to use the vagrant-go internal API for integration inside a go application. Are there any plans on publishing a lib or API for go? |
@soapy1: Is there anything that we can do currently to help with the Windows support? |
Is Vagrant 3.0 still happening? was asked long time ago on the Vagrant discussion space, but it remains unanswered. I think, it's worth to resonate it here. |
Hello @chrisroberts, can you give us any update about Vagrant 3.0 and the direction of the project is going to in 2024? |
In fact, I am already tired of the problem of Vagrant's huge size and very slow running based on Ruby. In Windows, after Vagrant is installed, its volume is almost 1GB, and every installation or uninstallation requires restarting the computer. I am looking forward to Vagrant go Let's abandon the ancient language of Ruby together and embrace the modern language of Golang |
Hello 2024-07-08T15:09:59.064-0600 [INFO] vagrant.server.grpc: /hashicorp.vagrant.Vagrant/FindBasis response: error="rpc error: code = NotFound desc = failed to locate basis (record not found)" duration="103.417µs" If anyone got vagrant-go working , can you please share how to setup the basis and get the vagrant-go working. |
As of Vagrant 2.3, Vagrant ships with a second executable called vagrant-go. This represents the current state of our work to reimplement Vagrant in Go, as a part of our road to Vagrant 3.0.
Try out vagrant-go with with our Vagrant documentation.
The vagrant-go project is currently alpha which means:
The text was updated successfully, but these errors were encountered: