forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <>
Subject Re: deployed plugins with wrong version number
Date Sun, 12 Feb 2006 14:40:18 GMT
David Crossley wrote:
> David Crossley wrote:
>>Reviving this old thread from Nov 26, 2005.
>>At today's ForrestFriday we discussed the issue
>>again. See the IRC logfile.
>>Ross, i figured out some of my confusion about this.
>>I did not realise that there are two separate targets
>>"deploy" and "release".
>>Please review this revision which i think fixes the deployment.
>>Next we need to investigate the fetch-plugin stuff,
>>then deploy all relevant plugins.
> Hmmm, i reckon that this is not going to work.
> For example, the projectInfo input plugin.
> We recently upgraded that plugin to use locationmap,
> so now it is bound to forrest-0.8 version.
> That is now deployed as the top-level unversioned
> f.a.o/plugins/
> So now forrest-0.7 users need to specifically declare
> the versioned plugin which forrest-0.7 will find at
> f.a.o/plugins/0.7/
> Perhaps the following arrangement would be better:
> Deploy both versioned and unversioned plugins to
> the respective forrest.version directory, i.e.
> f.a.o/plugins/0.7/
> f.a.o/plugins/0.7/
> ...
> f.a.o/plugins/0.8/
> f.a.o/plugins/0.8/
> ...
> Don't use the top-level f.a.o/plugins/*.zip at all.

But this would mean deploying the unversioned copy to all the forrest 
core version directories, i.e. 0.7, 0.8. 0.9, 0.10 etc.

A little reminder form our IRC chat:

The idea of the unversioned plugins is that a user can say "I want to be 
at the cutting edge of this particular plugin, but I don't care about 
the core of Forrest".

These people specify an unversioned plugin, Forrest will download the 
latest development version of the plugin (it is intended that a later 
version of Forrest will automatically upgrade this plugin to keep the 
user on the cutting edge).

So, a user using Forrest 0.7 will get the same version the projectInfo 
plugin as one using Forrest 0.8 (i.e. from the top level directory). 
But, what if the latest dev plugin doesn't work with their installed 
version of Forrest?

At this point Forrest should report that they need to upgrade Forrest in 
order to work with the latest projectInfo plugin, or they will need to 
downgrade the plugin version to the last version working with 0.7 
(eventually Forrest should ask what to do and update the properties file 

We can do swanky things like list the improvements in Forrest and the 
Plugin to help users make this decision, but that is for later too.


View raw message