vagrant/plugins/commands
Christian Berendt 764c007a93 When there are multiple versions of a box are available it should be checked if an update is available for the highest version.
Example:

There are version 0.2.10 and 0.2.11 available. The latest update is version 0.2.12.

```
berendt/ubuntu-14.04-amd64          (virtualbox, 0.2.10)
berendt/ubuntu-14.04-amd64          (virtualbox, 0.2.11)
```

Without this patch it will be checked if a higher version than 0.2.10 is available.

```
Checking for updates to 'berendt/ubuntu-14.04-amd64'
Version constraints: > 0.2.10
Provider: virtualbox
Updating 'berendt/ubuntu-14.04-amd64' with provider 'virtualbox' from version
'0.2.10' to '0.2.12'...
Loading metadata for box 'https://vagrantcloud.com/berendt/ubuntu-14.04-amd64'
Adding box 'berendt/ubuntu-14.04-amd64' (v0.2.12) for provider: virtualbox
Downloading: https://vagrantcloud.com/berendt/ubuntu-14.04-amd64/version/23/provider/virtualbox.box
Successfully added box 'berendt/ubuntu-14.04-amd64' (v0.2.12) for 'virtualbox'!
```

with this patch it will be checked if a higher version than 0.2.11 is available (the expected behaviour).

```
Checking for updates to 'berendt/ubuntu-14.04-amd64'
Version constraints: > 0.2.11
Provider: virtualbox
Updating 'berendt/ubuntu-14.04-amd64' with provider 'virtualbox' from version
'0.2.11' to '0.2.12'...
Loading metadata for box 'https://vagrantcloud.com/berendt/ubuntu-14.04-amd64'
Adding box 'berendt/ubuntu-14.04-amd64' (v0.2.12) for provider: virtualbox
Downloading: https://vagrantcloud.com/berendt/ubuntu-14.04-amd64/version/23/provider/virtualbox.box
Successfully added box 'berendt/ubuntu-14.04-amd64' (v0.2.12) for 'virtualbox'!
```
2014-04-12 11:03:04 +02:00
..
box When there are multiple versions of a box are available it should be checked if an update is available for the highest version. 2014-04-12 11:03:04 +02:00
destroy clean up usage 2014-02-08 00:20:50 -08:00
halt clean up usage 2014-02-08 00:20:50 -08:00
help core: output synopsis with command [GH-2249] 2013-11-23 14:00:42 -08:00
init clean up usage 2014-02-08 00:20:50 -08:00
list-commands commands/list-commands: lists all commands primary and non-primary 2014-01-11 09:32:13 -08:00
package clean up usage 2014-02-08 00:20:50 -08:00
plugin Add machine readable output for `vagrant plugin list` command 2014-03-23 13:09:16 +01:00
provision core: output synopsis with command [GH-2249] 2013-11-23 14:00:42 -08:00
reload core: output synopsis with command [GH-2249] 2013-11-23 14:00:42 -08:00
resume core: output synopsis with command [GH-2249] 2013-11-23 14:00:42 -08:00
ssh clean up usage 2014-02-08 00:20:50 -08:00
ssh_config Merge pull request #2948 from gnawhleinad/master 2014-02-10 09:02:32 -08:00
status commands/status: target for machine readable [GH-3218] 2014-03-14 13:05:24 -07:00
suspend clean up usage 2014-02-08 00:20:50 -08:00
up clean up usage 2014-02-08 00:20:50 -08:00