[Qgis-developer] new plugin repo online

Alessandro Pasotti apasotti at gmail.com
Sat Mar 5 04:17:33 EST 2011


2011/3/5 Mayeul Kauffmann <mayeul.kauffmann at free.fr>

> Paolo Cavallini wrote :
> > And of course we all want to manage all this through QGIS, without any
> > need for external programs (i.e. a browser).
>
> Hi,
> Maybe you are right so I'll speak for myself alone. Or maybe I did not
> even understood how the "Publish my plugin" command will receive its
> parameters. A thought: Maybe some rare administrative tasks should be
> left to do from a browser otherwise we end up rewriting complex code
> (encrypted authentification?...) that already exist in all browsers and
> in all web frameworks.
> Only my 2 cents!
>
>

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.

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).

Instead, I would like to see a packaging and validating function for plugins
from within QGIS, this could really save some time and headaches.

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'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's really just a click away.


[1]
https://github.com/qgis/qgis-django/blob/master/qgis/plugins/validator.pythere
are some Django dependencies but they can be easily removed.

-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110305/b034f921/attachment.html


More information about the Qgis-developer mailing list