3liz / qgis-plugin-manager

CLI tools for installing QGIS Plugins
GNU General Public License v3.0
12 stars 2 forks source link

When lauching plugins update, qgis-plugin-manager is too verbose #65

Open laurentj opened 3 months ago

laurentj commented 3 months ago

When launching qgis plugin manager on a several machines with ansible for example, we don't see easily if it has failed or not.

example of current output:

QGIS version : 3.28.15
Same version detected on the remote, skipping cadastre
Same version detected on the remote, skipping wfsOutputExtension
Installation Lizmap server latest
Ok lizmap_server.2.8.6.zip
Installed with super user 'lizmap' instead of 'root'
Please check file permissions and owner according to the user running QGIS Server.
Tip : Do not forget to restart QGIS Server to reload plugins 😎
Same version detected on the remote, skipping atlasprint

Many useless informations (qgis version, tip etc). And we don't see easily if there is a fail or an update.

I would like to see only these informations:

βœ”οΈ cadastre
βœ”οΈ wfsOutputExtension
βœ… Lizmap server: updated to 2.8.6
βœ”οΈ atlasprint
⛔️ bidule: error: bla bla

Or even only this output, displaying only changes:

βœ… Lizmap server: updated to 2.8.6
⛔️ bidule: error: bla bla

When there is no change:

β˜‘οΈ All plugins are already updated 

That's all.

I propose to have a flag to enable this kind of verbosity.

laurentj commented 3 months ago

note: color of the emoticons are important, to distinguish what has been done, without reading completely the output.