On Monday 14 April 2008 01:15, Florent Daigni?re wrote:
> * dbkr at freenetproject.org <dbkr at freenetproject.org> [2008-04-13
> 23:42:00]:
>
> > Author: dbkr
> > Date: 2008-04-13 23:42:00 +0000 (Sun, 13 Apr 2008)
> > New Revision: 19275
> >
> > Added:
> > trunk/freenet/src/freenet/pluginmanager/FredPluginVersioned.java
> > Modified:
> > trunk/freenet/src/freenet/clients/http/PproxyToadlet.java
> > trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties
> > trunk/freenet/src/freenet/pluginmanager/PluginInfoWrapper.java
> > Log:
> > Add versioned plugin & version column in plugin toadlet.
> >
> > Added: trunk/freenet/src/freenet/pluginmanager/FredPluginVersioned.java
> > ===================================================================
> > --- trunk/freenet/src/freenet/pluginmanager/FredPluginVersioned.java
> >
(rev 0)
> > +++ trunk/freenet/src/freenet/pluginmanager/FredPluginVersioned.java
2008-04-13 23:42:00 UTC (rev 19275)
> > @@ -0,0 +1,10 @@
> > +package freenet.pluginmanager;
> > +
> > +/**
> > + * A Fred plugin that has a version
> > + * @author dbkr
> > + *
> > + */
> > +public interface FredPluginVersioned {
> > + public String getVersion();
> > +}
>
> A String is not handy to compare, what about adding an int too ?
Agreed, plugin versioning would be most useful for e.g. auto-update of
plugins, which requires that we be able to compare two versions and figure
out which is more recent.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20080414/86afdbd2/attachment.pgp>