[Qgis-developer] Changing folder of plugin install

Alessandro Pasotti apasotti at gmail.com
Fri May 29 06:17:04 PDT 2015


2015-05-29 14:52 GMT+02:00 Rémi Cura <remi.cura at gmail.com>:

> Hey, thanks for the super-quick answer.
>
> Can't we just change the plugin database for this plugin?
> Surely there is a way to do it manually !
>

Yes, but it's not trivial.


> Or simply change the folder name on the server?
> Deleting the plugin make it loose all the history, which I find quit bad.
>
> Also, if the consequences are so dire, wouldn't is be necessary to check
> at import that plugin name and folder name match?
>

Sorry for the quick (and wrong) answer :)

I checked the exact constraint:  the package name (the name of the fist
folder in the zip file) is independent from the plugins name and cannot be
changed (while the plugin name, visible to the user, can change) the
package name is a unique key used internally to build the URLs and to
retrieve plugin packages and is kept unique to make sure that there are no
plugins with the same package name.

The problem here is that it cannot be easily changed without breaking a lot
of things.

You can just stick with the old package/folder name, it will be just
visible in the URLs.


-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150529/50d3ad36/attachment.html>


More information about the Qgis-developer mailing list