vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
Vagrant::MachineIndex#set
Creates/updates an entry object and returns the resulting entry.
If the entry was new (no UUID), then the UUID will be set on the
resulting entry and can be used. Additionally, the a lock will
be created for the resulting entry, so you must {#release} it
if you want others to be able to access it.
If the entry isn't new (has a UUID). then this process must hold
that entry's lock or else this set will fail.Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open lib/vagrant/machine_index.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Vagrant--MachineIndex-set-for-pr
# Commit to gitgit add lib/vagrant/machine_index.rbgit commit -m "better docs for Vagrant::MachineIndex#set"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Vagrant--MachineIndex-set-for-pr
hub pull-request
# Celebrate!