vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
Vagrant::BoxCollection#directory
The directory where the boxes in this collection are stored.
A box collection matches a very specific folder structure that Vagrant
expects in order to easily manage and modify boxes. The folder structure
is the following:
COLLECTION_ROOT/BOX_NAME/PROVIDER/metadata.json
Where:
* COLLECTION_ROOT - This is the root of the box collection, and is
the directory given to the initializer.
* BOX_NAME - The name of the box. This is a logical name given by
the user of Vagrant.
* PROVIDER - The provider that the box was built for (VirtualBox,
VMware, etc.).
* metadata.json - A simple JSON file that at the bare minimum
contains a "provider" key that matches the provider for the
box. This metadata JSON, however, can contain anything.Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open lib/vagrant/box_collection.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Vagrant--BoxCollection-directory-for-pr
# Commit to gitgit add lib/vagrant/box_collection.rbgit commit -m "better docs for Vagrant::BoxCollection#directory"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Vagrant--BoxCollection-directory-for-pr
hub pull-request
# Celebrate!