<div dir="ltr">Hi Raymond<div><br></div><div>Lova is doing some excellent work on the plugin repository recently.</div><div>Maybe he will find the time to look into this?</div><div>In any case, I think it would be worth opening an issue with your research on <a href="https://github.com/qgis/QGIS-Django/issues">https://github.com/qgis/QGIS-Django/issues</a> to not forget about it and have a contextualized discussion.</div><div><br></div><div>Kind regards</div><div>Matthias</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 29, 2024 at 8:45 AM Raymond Nijssen via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Diving in the code I found a few suspicious lines.<br>
<br>
1. In the Django code, there's no mention of "repository" in this list:<br>
<br>
<a href="https://github.com/qgis/QGIS-Django/blob/6d03c8428abe9df7634bbf810bbcb63709b11d45/qgis-app/plugins/views.py#L908" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS-Django/blob/6d03c8428abe9df7634bbf810bbcb63709b11d45/qgis-app/plugins/views.py#L908</a><br>
<br>
2. In the QGIS code, the PluginManager seems to look for <br>
"code_repository" and not "repository".<br>
<br>
<a href="https://github.com/qgis/QGIS/blob/4293d4f1c57614e0a4d3835b7d9f18b3a78bcbd1/src/app/pluginmanager/qgspluginmanager.cpp#L991" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/blob/4293d4f1c57614e0a4d3835b7d9f18b3a78bcbd1/src/app/pluginmanager/qgspluginmanager.cpp#L991</a><br>
<br>
Hope this helps fixing it. I currently don't have time to setup the <br>
Django environment and and try fixing it myself.<br>
<br>
Raymond<br>
<br>
<br>
On 26-01-2024 10:03, Raymond Nijssen via QGIS-Developer wrote:<br>
> Dear developers,<br>
> <br>
> I found some unexpected behaviour in the plugin management.<br>
> <br>
> I changed the the plugin source code to another github repository and <br>
> wanted to update the links in the plugin metadata.<br>
> <br>
> 1. When updating the metadata localy, and running the plugin from local <br>
> code, the metadata changelog is updated (so I know QGIS has read the <br>
> metadata.txt) but the links to the code, homepage and tracker are still <br>
> pointing to the old repository.<br>
> <br>
> 2. After uploading the new version of the plugin to the QGIS plugin <br>
> repository, the links to homepage and tracker are updated but the link <br>
> to the code keeps pointing to the old location. (See screenshot)<br>
> <br>
> Is this a bug? If so, where should I file it?<br>
> <br>
> Kind regards and happy QGIS Open Day! :)<br>
> <br>
> Raymond<br>
> <br>
> _______________________________________________<br>
> QGIS-Developer mailing list<br>
> <a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">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">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">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">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>