f5devcentral / f5-cli

F5 CLI
Apache License 2.0
12 stars 1 forks source link

Upgrade Versioning #6

Open JLCode-tech opened 4 years ago

JLCode-tech commented 4 years ago

Testing upgrading versions from older version:

bash-5.0# f5 bigip extension ts verify
{
    "installed": true,
    "installed_version": "1.8.0",
    "latest_version": "1.11.0"
}
bash-5.0# f5 bigip extension ts upgrade
Error: Valid component version must be provided: ['1.10.0', '1.9.0', '1.8.0', '1.7.0', '1.6.0', '1.5.0', '1.4.0', '1.3.0', '1.2.0', '1.1.0']

Assuming that --version is always required to be specified, if so the Error message is misleading for versioning.

JLCode-tech commented 4 years ago

Additionally on error it removes the previously installed version:

bash-5.0# f5 bigip extension ts verify
{
    "installed": false,
    "installed_version": "",
    "latest_version": "1.11.0"
}
bash-5.0#
shyawnkarim commented 4 years ago

Thanks for reporting this bug. I was able to reproduce this behavior and have created Jira TICKET, internal ID AUTOSDK-315.