[QGIS-Developer] Renaming a plugin directory?

Lova Andriarimalala lova at kartoza.com
Fri Oct 11 06:21:35 PDT 2024


Dear Hannes,

At the moment, it's not possible to change a plugin's directory name
(package_name) even through the administration page.

This feature was previously requested with a PR, but it was closed due to
potential client-side issues. When the package_name changes, QGIS may
recognize the plugin as a new one, leading to possible installation errors.
You can find the related PR and a more detailed discussion about it at
https://github.com/qgis/QGIS-Django/pull/271.

However, we are open to new ideas and suggestions on this matter. I can
also re-check the feature to have an updated detail about it.

Best regards,

Lova Andriarimalala


*QGIS Full Stack Developer   *
*T *: +27(0) 87 809 2702          *E *: lova at kartoza.com          *W* :
kartoza.com



*This email and any attachments are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you *
*have received this email in error, please notify the sender immediately
and delete it from your system. Unauthorised use, disclosure, or copying*
*of the contents is prohibited.*


On Fri, 11 Oct 2024 at 14:30, Johannes Kröger (WhereGroup) via
QGIS-Developer <qgis-developer at lists.osgeo.org> wrote:

> Hi there!
>
> Wonderful people from Oslandia have started collaborating on our
> experimental (and somewhat buggy) Profile Manager plugin.
>
> https://plugins.qgis.org/plugins/profile-manager/
> https://github.com/WhereGroup/profile-manager/
>
> One of the changes was restructuring the repository and using a
> PEP8-compliant directory name for the plugin's module directory
> ("profile_manager" instead of "profile-manager").
>
> Now the automated CI/CD upload of new releases fails. Presumably because
> the site expects "profile_manager".
>
> https://github.com/WhereGroup/profile-manager/issues/10#issuecomment-2402479699
>
> Would it be possible to update that on the plugin's existing Plugins
> repository entry?
>
> I saw
> https://lists.osgeo.org/pipermail/qgis-developer/2024-May/066744.html
> but that was only for the user visible name, the plugin's URL and the
> installed directory name stayed the same.
>
> What would it mean for existing users?
> Would they simply not be notified about new releases, and have to
> install the "new" plugin manually?
> Or would something break and require manual intervention, e.g. two
> version of the plugin being installed and loaded, one in
> plugins/profile_manager and the old one in plugins/profile-manager?
>
> Cheers, Hannes
>
> --
> Johannes Kröger / GIS-Entwickler/-Berater
>
> ***********************************************************
> Schon gewusst?
> In unserem Blog geben wir Tipps & Tricks zu Open-Source-GIS-Software
> und berichten aus laufenden und abgeschlossenen Projekten
> https://wheregroup.com/blog/
> ***********************************************************
>
> WhereGroup GmbH
> c/o KK03 GmbH
> Lange Reihe 29
> 20099 Hamburg
> Germany
>
> Tel: +49 (0)228 / 90 90 38 - 36
> Fax: +49 (0)228 / 90 90 38 - 11
>
> johannes.kroeger at wheregroup.com
> www.wheregroup.com
>
> Geschäftsführer:
> Olaf Knopp, Peter Stamm
> Amtsgericht Bonn, HRB 9885
> -------------------------------
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20241011/cf2b42e2/attachment.htm>


More information about the QGIS-Developer mailing list