qgis / QGIS-Django

Django project for QGIS related activities such as plugin repository
http://qgis.org
GNU General Public License v2.0
89 stars 59 forks source link

Add new field for tools dependencies for the resource hub #468

Open Xpirix opened 2 weeks ago

Xpirix commented 2 weeks ago

From @jvdkwast

jvdkwast commented 2 weeks ago

For models (and maybe other items in the resource hub), it would be useful to add the dependencies on plugins, so the user knows what to install prior to using the model. I suggest that for now, an extra field will be added to the metadata, but keep in mind the following workflow that would be nice in the future:

  1. User creates a model with the graphical model builder.
  2. Model builder stores automatically in the model file which providers were used.
  3. The model is uploaded to the resource hub and the metadata field on dependencies is automatically extracted
  4. The site and hub plugin by @ismailsunni can use the metadata on dependencies for filtering
Xpirix commented 2 weeks ago

Please find the proposed fix for this at #470

jvdkwast commented 2 weeks ago

Thanks. Looks good!