chairemobilite / transition_qgis

MIT License
1 stars 4 forks source link

Deploy the plugin in QGIS registry #2

Open tahini opened 7 months ago

tahini commented 7 months ago

We need to run the upload_plugin scripts from this repo.

But first, we need to

  1. Wait for pytransition to be in pypi officially (I think it is)
  2. Test it locally ourselves
  3. Document a deployment strategy (tag the commit for each deployment, then deploy and update the minor version?)
greenscientist commented 7 months ago

Just to clarify the deployment part, the tag should contain the version to be release. After the tag is done, is possible to update the repo to have the information of the next relesae.

tahini commented 6 months ago

I attempted to upload from plugin registry (https://plugins.qgis.org/plugins/add/) and got this message: You cannot modify this plugin. Very helpful...

I then used the plugin_upload.py script provided in this repository, with my OSGEO credentials, and got this response:

Plugin ID: 3349
Version ID: 17375

Number which I'm not 100% sure represent what they say as it is just our output saying that.

The plugin is not [yet?] listed in my plugins in the registry. But they say it can take a few days for admins to accept new plugins. Maybe this absence of any kind of confirmation/positive feedback means it is in a queue to be accepted? I'll wait a few days before investigating this further.

tahini commented 5 months ago

It seems to have worked: https://plugins.qgis.org/plugins/Transition-QGIS/#plugin-details

But @mathildebrosseau seems to be the official maintainer of the plugin. @mathildebrosseau si jamais tu sais comment m'ajouter comme maintainer du plugin (tahini), je pourrai plus facilement le mettre à jour via l'interface et le gérer. Mais le script d'upload fonctionne bien.

mathildebrosseau commented 4 months ago

Allô!! Je viens d'aller éditer les configurations du plugin, en principe @tahini est maintenant maintainer. Vous me direz si ça fonctionne au niveau des droits d'accès. Je ne suis pas sûre si il se pourrait que ça cause des problèmes au niveau du script pour l'upload. image