[Qgis-developer] Changing folder of plugin install

Rémi Cura remi.cura at gmail.com
Fri May 29 06:34:16 PDT 2015


I'm afraid I can't,
currently it creates a bug !
When installing from QGIS plugin repository,
it gives an error message.
This error message would be because the plugin name and folder name are
different.
So one way or another, the folder name has to be changed to match the
plugin name !

So you see we don't have much choice here...
Cheers,
Rémi-C

2015-05-29 15:17 GMT+02:00 Alessandro Pasotti <apasotti at gmail.com>:

> 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/dcd4b46f/attachment-0001.html>


More information about the Qgis-developer mailing list