[Qgis-developer] Python Plugin Repository - plugins app draft

Alessandro Pasotti apasotti at gmail.com
Tue Nov 23 16:21:07 EST 2010

2010/11/22 Martin Dobias <wonder.sk at gmail.com>

> Hi Alessandro
> On Sun, Nov 21, 2010 at 2:00 PM, Alessandro Pasotti <apasotti at gmail.com>
> wrote:
> > Hi,
> > I've just committed a first draft of the plugins app.
> > I've had not much time to test it, admin seems to be working, while
> public
> > views are still missing, I was thinking about using generic views as much
> as
> > possible.
> Thanks a lot for starting with the draft, it looks good!
Thank you for the comments!

> > I'm not sure about the "last" flag in versions, are not the version and
> > modified dates sufficient to determine the last version ?
> > I've also added some globs to .gitignore
> > Comments welcome!
> My comments from a brief review:
> - download count should be rather related to plugin versions, not
> plugins - for more detailed stats

Probably the best of both word would be a property (trigger) that sums the
versions counters for a plugin.

> - in addition to user-readable name, there should be plugin's package
> (i.e. internal) name which is unique among plugins

Yes I forgot that.

> - the plugin could have two more attributes: active "stable" version
> and active "development" (experimental) version. One of them can be
> empty, because not all plugins will produce separate
> stable/development versions. It should be then possible to change
> active version to any version that has been uploaded. I think this is
> better than having flags in plugin version model, because only one
> stable/development version can be active at one time.

Yes, I thought about a trigger/check that makes the "active" version unique
among a plugin branch (experimental and stable) but a version pointer from
the parent would also work fine.

I will be working on these topics in the next days.

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

More information about the Qgis-developer mailing list