core: output what we're updating and what we're not

This commit is contained in:
Mitchell Hashimoto 2014-01-24 18:17:12 -08:00
parent 43157fba18
commit cf9004241e
2 changed files with 9 additions and 0 deletions

View File

@ -45,6 +45,12 @@ module VagrantPlugins
next
end
machine.ui.output(I18n.t(
"vagrant.box_updating",
name: update[0].name,
provider: update[2].name,
old: box.version,
new: update[1].version))
@env.action_runner.run(Vagrant::Action.action_box_add, {
box_url: box.metadata_url,
box_provider: update[2].name,

View File

@ -48,6 +48,9 @@ en:
* '%{name}': Error loading metadata: %{message}
box_outdated_no_metadata: |-
* '%{name}' wasn't added from a catalog, no version information
box_updating: |-
Updating '%{name}' with provider '%{provider}' from version
'%{old}' to '%{new}'...
box_up_to_date: |-
* '%{name}' (v%{version}) is up to date
box_up_to_date_single: |-