vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
Vagrant::BoxCollection#add
This adds a new box to the system. There are some exceptional cases: * BoxAlreadyExists - The box you're attempting to add already exists. * BoxProviderDoesntMatch - If the given box provider doesn't match the actual box provider in the untarred box. * BoxUnpackageFailure - An invalid tar file. Preconditions: * File given in `path` must exist.
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-add-for-pr
# Commit to gitgit add lib/vagrant/box_collection.rbgit commit -m "better docs for Vagrant::BoxCollection#add"
# 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-add-for-pr
hub pull-request
# Celebrate!