QGIS-Documentation
QGIS-Documentation copied to clipboard
Move plugins "automatically check for updates" settings key to a new key, ensure all users get this default behaviour now (Request in QGIS)
Request for documentation
From pull request QGIS/qgis#50206 Author: @nyalldawson QGIS version: 3.28
Move plugins "automatically check for updates" settings key to a new key, ensure all users get this default behaviour now
PR Description:
This change moves the old "app/plugin_installer/checkOnStart" setting key to a new "plugins/automatically-check-for-updates" key, and switches the default value to enable automatic checks
This is designed to switch all existing QGIS users to the new default behavior of checking for plugin updates at startup (at a maximum of once every 3 days).
It is intended to offer a better QGIS experience to our users, by proactively informing all users when plugins should be updated, ensuring that ALL users are more likely to upgrade plugins and get the bug fixes for plugins promptly.
Enterprise users who have customised this setting in their deployments will need to adapt their scripts for the new setting key.
Additionally, the option to control the number of days between plugin startup checks has been removed and is hardcoded at 3 days.
Commits tagged with [need-docs] or [FEATURE]
This is designed to switch all existing QGIS users to the new default behavior of checking for plugin updates at startup (at a maximum of once every 3 days).
@nyalldawson I understand that the check is done at max 1 time for 3 days. Meaning that if I restart QGIS multiple times in this period, I'm supposed to get the notification only the first time. I have a plugin I deliberately do not upgrade and I'm always getting the notification. Was this feature made obsolete, is it broken or me not understanding?
@DelazJ
Right now there's no option, you'll get pestered till you update. It's a direct action to avoid repeated serious issues with outdated plugins.
I'm not sure if deliberately using an old plugin version is a common use case. If not, I'd say fork the plugin and use a customised version if you don't like the plugin changes...
Actually, I did not upgrade in order to test the plugins settings behavior, and try to understand what the "3 days" mentions (twice in the PR) exactly refer to. I still don't get it 😞 .
The 3 days is how often QGIS will refresh the remote list of available plugin versions. The update check happens every time at startup.
So now the max time between a plugin author releasing a new version and a user being advised of this is 3 days.