vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::BoxCollection#v1_upgrade

This upgrades the V1 box contained unpacked in the given directory
and returns the directory of the upgraded version. This is
_destructive_ to the contents of the old directory. That is, the
contents of the old V1 box will be destroyed or moved.

Preconditions:
* `dir` is a valid V1 box. Verify with {#v1_box?}

Source | Google | Stack overflow

Edit

git clone [email protected]:mitchellh/vagrant.git

cd vagrant

open lib/vagrant/box_collection.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--BoxCollection-v1_upgrade-for-pr


# Commit to git

git add lib/vagrant/box_collection.rbgit commit -m "better docs for Vagrant::BoxCollection#v1_upgrade"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Vagrant--BoxCollection-v1_upgrade-for-pr

hub pull-request


# Celebrate!