xf:addon-upgrade -s option handling non existent addons

  • Thread starter Thread starter mm-tech
  • Start date Start date

mm-tech

Guest
Member
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

Continue reading...
 
Top