<div class="gmail_quote">2011/3/5 Mayeul Kauffmann <span dir="ltr">&lt;<a href="mailto:mayeul.kauffmann@free.fr">mayeul.kauffmann@free.fr</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Paolo Cavallini wrote :<br>
<div class="im">&gt; And of course we all want to manage all this through QGIS, without any<br>
&gt; need for external programs (i.e. a browser).<br>
<br>
</div>Hi,<br>
Maybe you are right so I&#39;ll speak for myself alone. Or maybe I did not<br>
even understood how the &quot;Publish my plugin&quot; command will receive its<br>
parameters. A thought: Maybe some rare administrative tasks should be<br>
left to do from a browser otherwise we end up rewriting complex code<br>
(encrypted authentification?...) that already exist in all browsers and<br>
in all web frameworks.<br>
Only my 2 cents!<br>
<font color="#888888"><br></font></blockquote><div><br></div><div><br></div><div>I agree with you Mayeul: creating a new plugin in the new repo is straightforward: just a matter of uploading a zipped file, all metadata are read from the package itself.</div>
<div><br></div><div>I cannot see dramatic advantages of an uploading function from within QGIS. BTW this could be quite easily done with a RPC call (RPC4Django handles this quite well).</div><div><br></div><div>Instead, I would like to see a packaging and validating function for plugins from within QGIS, this could really save some time and headaches.</div>
<div><br></div><div>Imagine that while developing a plugin, I go through the classical code-test-code-test cycle and when the plugin is working fine I decide to package and upload it. Personally, I use Makefiles to automate the packaging steps, but since I&#39;ve already coded a validating logic inside the new plugins app [1], the same logic could be applied to a QGIS plugin that given an installed plugin name can validate the metada and create the zipped plugin, ready to be uploaded on the repo. The upload process itself could be also automated but it&#39;s really just a click away.</div>
<div><br></div><div><br></div><div>[1] <a href="https://github.com/qgis/qgis-django/blob/master/qgis/plugins/validator.py">https://github.com/qgis/qgis-django/blob/master/qgis/plugins/validator.py</a> there are some Django dependencies but they can be easily removed.</div>
<div><br></div></div>-- <br>Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it">www.itopen.it</a><br>