<div dir="ltr">Hi All<div><br></div><div>+1 for requesting people to use <font color="#500050"><span style="font-size:12.800000190734863px">QgsNetworkAccessManager - and thanks for your other replies. I guess to start we could just check the descriptions manually when plugins are submitted and toss it back to the author if they are not adequate.</span></font></div><div><font color="#500050"><span style="font-size:12.800000190734863px"><br></span></font></div><div><font color="#500050"><span style="font-size:12.800000190734863px">Regards</span></font></div><div><font color="#500050"><span style="font-size:12.800000190734863px"><br></span></font></div><div><font color="#500050"><span style="font-size:12.800000190734863px">Tim</span></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 23, 2017 at 2:56 PM, ElPaso <span dir="ltr"><<a href="mailto:elpaso@itopen.it" target="_blank">elpaso@itopen.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Il 22/05/2017 21:53, Richard Duivenvoorde ha scritto:<br>
</span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 22-05-17 18:01, Tim Sutton wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi (mainly Paolo)<br>
<br>
<br>
Just looking at the new plugin approved:<br>
<br>
<a href="http://plugins.qgis.org/plugins/qdraw/" rel="noreferrer" target="_blank">http://plugins.qgis.org/plugin<wbr>s/qdraw/</a><br>
<br>
I wonder if we should not require / strongly request that plugin authors<br>
provide a detailed description of their plugins so that a user wanting<br>
to choose a plugin from the repo knows what they will get. From the<br>
above plugin description (while it may be a great plugin), it is not<br>
really obvious what you will get when you install it. Perhaps a<br>
screenshot with each would be nice too....<br>
</blockquote>
Yes, I've been thinking about that too...<br>
<br>
What about forcing to answer 2 questions in the description in > 50<br>
words or so..:<br>
- what does this plugin do<br>
- which problem does this plugin solve for me<br>
(or ... whatever better guiding questions people can come up with).<br>
</blockquote>
<br></span>
Description is in metadata, we can add a validator to check for length but we cannot turn it into an interactive process.<span class=""><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Another thing I would like to make better in plugins in general, is that<br>
they plugins should make use of QgsNetworkAccessManager instead of home<br>
brew urllib2/requests/.... solutions, which most of the times do not<br>
make use of proxy settings (and machinery there is already in Qt to make<br>
sure that a kerberos-identification-proxy is working ok..). I've seen in<br>
several bigger QGIS-install that this was giving problems as some<br>
plugins worked and some of them not.<br>
</blockquote>
<br>
<br></span>
totally agreed with this: moreover there is no support for QGIS authentication system in stock python libraries.<br>
<br>
In Boundless we started using a small wrapper around QgsNetworkAccessManager that mocks httplib2, I think that it should be part of core QGIS python utils, with a (still to be developed) "requests" replacement.<br>
<br>
You can find it in this repo: <a href="https://github.com/boundlessgeo/lib-qgis-commons/blob/master/qgiscommons/networkaccessmanager.py" rel="noreferrer" target="_blank">https://github.com/boundlessge<wbr>o/lib-qgis-commons/blob/<wbr>master/qgiscommons/networkacce<wbr>ssmanager.py</a><br>
<br>
<br>
<br>
Cheers<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Alessandro Pasotti<br>
w3: <a href="http://www.itopen.it" rel="noreferrer" target="_blank">www.itopen.it</a></font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
Qgis-psc mailing list<br>
<a href="mailto:Qgis-psc@lists.osgeo.org" target="_blank">Qgis-psc@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/qgis-psc" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-psc</a></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><img src="https://docs.google.com/uc?export=download&id=0B__vDnQXCKiwQ3hfMHZxN0phaXM&revid=0B__vDnQXCKiwdkZZQ3krVFBOYmdMNkEvWEViTVM2OWY3ZTFRPQ"><br><div><br></div><div><br></div><div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><b>Tim Sutton</b></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">QGIS Project Steering Committee Chair</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><a href="mailto:tim@qgis.org" target="_blank">tim@qgis.org</a></div></div></div></div>
</div>