[RSS Feed/News] xf:addon-upgrade -s option handling non existent addons

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hi,

The -s option of the command xf:addon-upgrade skips addons that are not installed, cannot be upgraded, or are disabled.

Silently skipping non-upgradable addons is normal application behaviour, but trying to upgrade a nonexisting plugin is not usually expected.

It should log a warning or exit with a special exit code in my humble opinion.

This way, skipping due to no available updates and a bug in a upgrade script (like a typo in the addon id or trying to upgrade a no longer...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom