<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Hannes and Lova,</p>
<p>Thanks for asking and answering. We will proceed as recommended.
It might be worth adding a relevant section in the plugins
developer documentation or cookbook.<br>
</p>
<p>To follow up about the naming convention, as written in
<a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS-Django/issues/475">https://github.com/qgis/QGIS-Django/issues/475</a> I would suggest to
make sure that new plugins folders are Python compliant since a
plugin is a Python package and may be imported by other "Python
things" within QGIS.</p>
<p>Regards,<br>
Julien<br>
</p>
<div class="moz-cite-prefix">Le 14/10/2024 à 14:43, Lova
Andriarimalala via QGIS-Developer a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAMLC-sBz-Q1ogw2EV+C+7K5sthneH_WoSp=EgUmANXUh0Yt3Mg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Dear Hannes,
<div><br>
</div>
<div>Sure, I think that's a great idea. </div>
<div>I think it's better to rename the old plugin first if you
want to keep the same name for the new one, as uploading a new
plugin with an existing name is not allowed. Please, feel free
to let me know if you need help with this. It's also possible
to update the name from the metadata, although this option is
disabled by default.</div>
<div><br>
</div>
<div>Best regards,</div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div style="color:rgb(34,34,34)">Lova Andriarimalala</div>
<div style="color:rgb(34,34,34)"><b>QGIS Full Stack
Developer <br>
<br>
</b></div>
<div style="color:rgb(34,34,34)"><b>T </b>: +27(0) 87
809 2702 <b>E </b>:<b> </b><a
href="mailto:lova@kartoza.com"
style="color:rgb(17,85,204)" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">lova@kartoza.com</a>
<b>W</b> : <a href="http://kartoza.com"
style="color:rgb(17,85,204)" target="_blank"
moz-do-not-send="true">kartoza.com</a><br>
</div>
<div style="color:rgb(34,34,34)"><br>
</div>
<div style="color:rgb(34,34,34)">
<div><img
src="https://ci3.googleusercontent.com/mail-sig/AIorK4wjeTRcj_LuA-mCKKqWOvHMPBgOOW2yAJl0VmVp633nbuz-9CB_jVZDCPLCovRQAuGIGQyHe3xLHI1H"
moz-do-not-send="true"><br>
</div>
<div><br>
</div>
<i>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 </i>
<div><i>have received this email in error, please
notify the sender immediately and delete it from
your system. Unauthorised use, disclosure, or
copying</i></div>
<div><i>of the contents is prohibited.</i></div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, 14 Oct 2024 at 14:34,
Johannes Kröger (WhereGroup) <<a
href="mailto:johannes.kroeger@wheregroup.com"
moz-do-not-send="true" class="moz-txt-link-freetext">johannes.kroeger@wheregroup.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div>
<p>Hi Lova,</p>
<p>thanks for your swift response!</p>
<p>That's what I expected and what seems very reasonable,
considering the potential for problems. I think we will
simply publish a new version of the old plugin to display
a message to our (few) existing users and create a "new"
plugin for the new version.</p>
<p>That should keep surprise factor low and allow a clean
cut without any unforeseen issues.</p>
<p>Are we able to upload a new plugin that uses the same
name as the existing, deprecated one? Or do we have to
choose a new name (or a different name for the old one)
first?<br>
</p>
<p>Thank you!</p>
<p>Cheers, Hannes<br>
</p>
<div>On 11.10.24 15:21, Lova Andriarimalala wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Dear Hannes,
<div><br>
</div>
<div>At the moment, it's not possible to change a
plugin's directory name (package_name) even through
the administration page. </div>
<div><br>
</div>
<div>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. </div>
<div>You can find the related PR and a more detailed
discussion about it at <a
href="https://github.com/qgis/QGIS-Django/pull/271"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://github.com/qgis/QGIS-Django/pull/271</a>. </div>
<div><br>
</div>
<div>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.<br>
</div>
<div><br>
</div>
<div>Best regards,</div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div style="color:rgb(34,34,34)">Lova
Andriarimalala</div>
<div style="color:rgb(34,34,34)"><b>QGIS Full
Stack Developer <br>
<br>
</b></div>
<div style="color:rgb(34,34,34)"><b>T </b>: +27(0)
87 809 2702 <b>E </b>:<b> </b><a
href="mailto:lova@kartoza.com"
style="color:rgb(17,85,204)" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">lova@kartoza.com</a>
<b>W</b> : <a
href="http://kartoza.com"
style="color:rgb(17,85,204)" target="_blank"
moz-do-not-send="true">kartoza.com</a><br>
</div>
<div style="color:rgb(34,34,34)"><br>
</div>
<div style="color:rgb(34,34,34)">
<div><img
src="https://ci3.googleusercontent.com/mail-sig/AIorK4wjeTRcj_LuA-mCKKqWOvHMPBgOOW2yAJl0VmVp633nbuz-9CB_jVZDCPLCovRQAuGIGQyHe3xLHI1H"
moz-do-not-send="true"><br>
</div>
<div><br>
</div>
<i>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 </i>
<div><i>have received this email in error,
please notify the sender immediately and
delete it from your system. Unauthorised
use, disclosure, or copying</i></div>
<div><i>of the contents is prohibited.</i></div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, 11 Oct 2024 at
14:30, Johannes Kröger (WhereGroup) via QGIS-Developer
<<a href="mailto:qgis-developer@lists.osgeo.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">qgis-developer@lists.osgeo.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi
there!<br>
<br>
Wonderful people from Oslandia have started
collaborating on our <br>
experimental (and somewhat buggy) Profile Manager
plugin.<br>
<br>
<a
href="https://plugins.qgis.org/plugins/profile-manager/"
rel="noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://plugins.qgis.org/plugins/profile-manager/</a><br>
<a
href="https://github.com/WhereGroup/profile-manager/" rel="noreferrer"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://github.com/WhereGroup/profile-manager/</a><br>
<br>
One of the changes was restructuring the repository
and using a <br>
PEP8-compliant directory name for the plugin's module
directory <br>
("profile_manager" instead of "profile-manager").<br>
<br>
Now the automated CI/CD upload of new releases fails.
Presumably because <br>
the site expects "profile_manager".<br>
<a
href="https://github.com/WhereGroup/profile-manager/issues/10#issuecomment-2402479699"
rel="noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/WhereGroup/profile-manager/issues/10#issuecomment-2402479699</a><br>
<br>
Would it be possible to update that on the plugin's
existing Plugins <br>
repository entry?<br>
<br>
I saw <br>
<a
href="https://lists.osgeo.org/pipermail/qgis-developer/2024-May/066744.html"
rel="noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/pipermail/qgis-developer/2024-May/066744.html</a>
<br>
but that was only for the user visible name, the
plugin's URL and the <br>
installed directory name stayed the same.<br>
<br>
What would it mean for existing users?<br>
Would they simply not be notified about new releases,
and have to <br>
install the "new" plugin manually?<br>
Or would something break and require manual
intervention, e.g. two <br>
version of the plugin being installed and loaded, one
in <br>
plugins/profile_manager and the old one in
plugins/profile-manager?<br>
<br>
Cheers, Hannes<br>
<br>
-- <br>
Johannes Kröger / GIS-Entwickler/-Berater<br>
<br>
***********************************************************<br>
Schon gewusst?<br>
In unserem Blog geben wir Tipps & Tricks zu
Open-Source-GIS-Software<br>
und berichten aus laufenden und abgeschlossenen
Projekten<br>
<a href="https://wheregroup.com/blog/"
rel="noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://wheregroup.com/blog/</a><br>
***********************************************************<br>
<br>
WhereGroup GmbH<br>
c/o KK03 GmbH<br>
Lange Reihe 29<br>
20099 Hamburg<br>
Germany<br>
<br>
Tel: +49 (0)228 / 90 90 38 - 36<br>
Fax: +49 (0)228 / 90 90 38 - 11<br>
<br>
<a href="mailto:johannes.kroeger@wheregroup.com"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">johannes.kroeger@wheregroup.com</a><br>
<a href="http://www.wheregroup.com" rel="noreferrer"
target="_blank" moz-do-not-send="true">www.wheregroup.com</a><br>
<br>
Geschäftsführer:<br>
Olaf Knopp, Peter Stamm<br>
Amtsgericht Bonn, HRB 9885<br>
-------------------------------<br>
<br>
<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote>
</div>
</blockquote>
<pre cols="72">--
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
<a href="https://wheregroup.com/blog/" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://wheregroup.com/blog/</a>
***********************************************************
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
<a href="mailto:johannes.kroeger@wheregroup.com" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">johannes.kroeger@wheregroup.com</a>
<a href="http://www.wheregroup.com" target="_blank"
moz-do-not-send="true">www.wheregroup.com</a>
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------------------------
</pre>
</div>
</blockquote>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre wrap="" class="moz-quote-pre">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
</blockquote>
<div class="moz-signature">-- <br>
<a
href="https://oslandia.com/?utm_source=email&utm_campaign=signature_oslandia&utm_medium=email">Oslandia</a><a>
- </a><a
href="https://geotribu.fr/?utm_source=email&utm_campaign=signature_oslandia&utm_medium=email"
hreflang="fr">Geotribu</a><a></a></div>
</body>
</html>