forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: plugins deployment problem (Was: 0.8RC1 Failure)
Date Wed, 11 Apr 2007 07:47:25 GMT
David Crossley wrote:
> David Crossley wrote:
> > David Crossley wrote:
> > > Found it. Looking in the logs after the first failed
> > > 'forrest run'
> > > site-author/build/webapp/WEB-INF/logs/error.log
> > > showed that there was a problem with
> > > {defaults:bugtracking-url} in the projectInfo plugin
> > > input.xmap
> > > 
> > > Comparing the downloaded plugin
> > > $FORREST_HOME/build/plugins/o.a.f...projectInfo/input.xmap
> > > with the trunk plugin input.xmap shows that this is old
> > > and therefore the projectInfo plugin was not
> > > properly publicly deployed.
> > > 
> > > I just deployed that plugin again. Now we need
> > > to wait for the automated rsync to publish.
> > > 
> > > I will monitor and test when it is ready.
> > 
> > The site was updated at about 20 mins past the hour.
> >
> > The plugin was deployed to f.a.o/plugins/
> > 
> > However, when i do the site-author forrest run
> > it tries to get the plugin from f.a.o/plugins/0.8/
> > and so it gets an old copy.
> > 
> > I am going to manually svn copy the plugin from
> > forrest/site/plugins/o.a.f...projectInfo.zip to
> > forrest/site/plugins/0.8/o.a.f...projectInfo.zip
> 
> Yipee ... "Welcome to Apache Forrest".
> 
> Now people can get on with testing.

That temporary fix worked. See below.

I am try to determine the state of plugins deployment.
It seems that some are wrong.

Updated my local copy with 'svn up' of forrest/site/plugins
and listed them. In the table below:
Section 1 ... f.a.o/plugins/
Section 2 ... f.a.o/plugins/0.8/
Section 3 ... f.a.o/plugins/0.7/

I tried to compare the dates and presence of plugins
in Section 1 with those in Section 2. (Not looked at 3.)
See the Column #1 and Column #2.

Here is how i think plugins work. Please correct me if wrong.

The term "versioned" means that its name ends in say "-0.2".
They would specify an exact version in their forrest.properties
Otherwise it is "unversioned".

I am only considering "unversioned" at this stage.

For users of 0.8 release, if present in Section 2
then use it, otherwise try Section 1.

An unversioned plugin would only exist in Section 2
if it is not yet taking advantage of newest development.
So it needs to be tied to 0.8 release.

Lets try some examples ...

o.a.f...core
It is not present in Section 2 so gets used from
Section 1 (the most recent deployment).
Correct.
However it is way out-of-date. So will break for 0.8 users.

o.a.f...dispatcher
It is present in Section 2 so that gets used.
There is a newer one in Section 1 which will not be used.
Incorrect.
Both are way out-of-date. So will break for 0.8 users.

o.a.f...PhotoGallery
It is present in Section 2 so that gets used.
There is a newer one in Section 1 which will not be used.
Incorrect.

o.a.f...projectInfo
It is present in Section 2 so that gets used.
There is an equal date one in Section 1 which will not be used.
Incorrect. When it is later updated, a newer one
in Section 1 would never get used. This error happened
yesterday.

So it seems to me that all unversioned plugins need
to be removed from Section 2 and only go back there
if new functionality is added in 0.9-dev that means
a break in 0.8 compatibility.

---------------------------------------

Column #1 ... Date
N = Newer
E = Equal
O = Older
- = Not in the 0.8 directory
* = Old plugin name

Column #2 ... When updated
R = Recent - Updated in last two weeks
O = Old - older than two weeks
A = Ancient - older than four months

Section 1 ... f.a.o/plugins/

*         226356 Mar 31  2005 org.apache.forrest.plugin.htmlArea.zip
O O        32220 Nov 17  2005 org.apache.forrest.plugin.input.Daisy.zip
- R       122652 Apr 10 08:57 org.apache.forrest.plugin.input.OpenOffice.org.zip
N R      2628205 Apr 11 11:53 org.apache.forrest.plugin.input.PhotoGallery.zip
- R        54493 Apr 10 08:57 org.apache.forrest.plugin.input.dtdx.zip
- R        77346 Apr 10 08:57 org.apache.forrest.plugin.input.excel.zip
- R        56573 Apr 10 08:57 org.apache.forrest.plugin.input.feeder.zip
- R        33866 Apr 11 11:53 org.apache.forrest.plugin.input.glossary.zip
E R        34541 Apr 10 08:57 org.apache.forrest.plugin.input.listLocations.zip
- A        29665 Aug  4  2005 org.apache.forrest.plugin.input.logs.zip
E R       123039 Apr 11 12:28 org.apache.forrest.plugin.input.projectInfo.zip
E A        24114 Feb 11  2006 org.apache.forrest.plugin.input.serverStatus.zip
*          52360 Jun 17  2005 org.apache.forrest.plugin.input.simplified-docbook.zip
- R        57230 Apr 10 08:57 org.apache.forrest.plugin.input.simplifiedDocbook.zip
- R       114805 Apr 10 08:57 org.apache.forrest.plugin.input.wiki.zip
- A        31701 Jun 27  2005 org.apache.forrest.plugin.internal.IMSManifest.zip
N A       191135 Sep 13  2006 org.apache.forrest.plugin.internal.dispatcher.zip
*         324850 Aug  4  2005 org.apache.forrest.plugin.internal.view.zip
- A        28646 Jan  4  2005 org.apache.forrest.plugin.logs.zip
- A      1550949 Aug  4  2005 org.apache.forrest.plugin.output.Chart.zip
- R        31399 Apr 10 08:57 org.apache.forrest.plugin.output.POD.zip
- R        60597 Apr 10 08:57 org.apache.forrest.plugin.output.Text.zip
- A       458112 Aug  4  2005 org.apache.forrest.plugin.output.htmlArea.zip
- R        26499 Apr 10 08:57 org.apache.forrest.plugin.output.inputModule.zip
- R        26411 Apr 10 08:57 org.apache.forrest.plugin.output.pdf.zip
O A        23672 Aug  4  2005 org.apache.forrest.plugin.output.voice.zip
*          86065 Apr  8  2005 org.apache.forrest.plugin.view.zip
- A       197862 Jul 27  2006 org.apache.forrest.themes.core.zip
  R         8989 Apr 11 12:28 plugins.xml
  R        10802 Apr 11 11:53 whiteboard-plugins.xml
     
Section 2 ... f.a.o/plugins/0.8/

           32220 Feb 14  2006 org.apache.forrest.plugin.input.Daisy-0.1-dev.zip
           32220 Apr 10 08:56 org.apache.forrest.plugin.input.Daisy.zip
         2725350 Feb 24  2006 org.apache.forrest.plugin.input.PhotoGallery-0.2.zip
         2725350 Feb 24  2006 org.apache.forrest.plugin.input.PhotoGallery.zip
           27045 Feb 11  2006 org.apache.forrest.plugin.input.listLocations-0.2.zip
           27045 Apr 10 08:56 org.apache.forrest.plugin.input.listLocations.zip
           47540 Feb 14  2006 org.apache.forrest.plugin.input.projectInfo-0.2-dev.zip
          123039 Apr 11 12:41 org.apache.forrest.plugin.input.projectInfo.zip
           24114 Feb 11  2006 org.apache.forrest.plugin.input.serverStatus-0.1.zip
           24114 Apr 10 08:56 org.apache.forrest.plugin.input.serverStatus.zip
          159530 Feb 11  2006 org.apache.forrest.plugin.internal.dispatcher.zip
           93454 Mar  5 18:20 org.apache.forrest.plugin.output.solr-0.1.zip
           25944 Feb 14  2006 org.apache.forrest.plugin.output.voice-0.1-dev.zip
           25944 Feb 14  2006 org.apache.forrest.plugin.output.voice.zip
     
Section 3 ... f.a.o/plugins/0.7/
          121128 Jun 17  2005 org.apache.forrest.plugin.input.OpenOffice.org-0.1.zip
          121128 Apr 10 08:56 org.apache.forrest.plugin.input.OpenOffice.org.zip
         2729209 Jun 23  2005 org.apache.forrest.plugin.input.PhotoGallery-0.1.zip
         2729209 Apr 10 08:56 org.apache.forrest.plugin.input.PhotoGallery.zip
           51823 Jun 27  2005 org.apache.forrest.plugin.input.dtdx-0.1.zip
           51823 Apr 10 08:56 org.apache.forrest.plugin.input.dtdx.zip
           74613 Apr 10 08:56 org.apache.forrest.plugin.input.excel-0.3.zip
           74613 Apr 10 08:56 org.apache.forrest.plugin.input.excel.zip
           53581 Jun 27  2005 org.apache.forrest.plugin.input.feeder-0.1.zip
           53581 Apr 10 08:56 org.apache.forrest.plugin.input.feeder.zip
           28544 Nov 11  2005 org.apache.forrest.plugin.input.listLocations-0.1.zip
           28544 Apr 10 08:56 org.apache.forrest.plugin.input.listLocations.zip
           29665 Aug  4  2005 org.apache.forrest.plugin.input.logs-0.1-dev.zip
           29665 Apr 10 08:56 org.apache.forrest.plugin.input.logs.zip
           34194 Nov 13  2005 org.apache.forrest.plugin.input.projectInfo-0.1.zip
           34194 Nov 14  2005 org.apache.forrest.plugin.input.projectInfo.zip
           52360 Jun  9  2005 org.apache.forrest.plugin.input.simplified-docbook-0.1.zip
           52484 Jun 17  2005 org.apache.forrest.plugin.input.simplifiedDocbook-0.1.zip
           52484 Apr 10 08:56 org.apache.forrest.plugin.input.simplifiedDocbook.zip
          108486 Jun 27  2005 org.apache.forrest.plugin.input.wiki-0.1.zip
          108486 Apr 10 08:56 org.apache.forrest.plugin.input.wiki.zip
           31701 Jun 27  2005 org.apache.forrest.plugin.internal.IMSManifest-0.1.zip
          324850 Aug  4  2005 org.apache.forrest.plugin.internal.view-0.1-dev.zip
         1550949 Apr 10 08:56 org.apache.forrest.plugin.output.Chart-0.1.zip
         1550949 Apr 10 08:56 org.apache.forrest.plugin.output.Chart.zip
           28933 Nov 13  2005 org.apache.forrest.plugin.output.POD-0.1.zip
           28933 Apr 10 08:56 org.apache.forrest.plugin.output.POD.zip
           56367 Nov 13  2005 org.apache.forrest.plugin.output.Text-0.1.zip
           56367 Apr 10 08:56 org.apache.forrest.plugin.output.Text.zip
          458112 Apr 10 08:56 org.apache.forrest.plugin.output.htmlArea-0.1.zip
          458112 Apr 10 08:56 org.apache.forrest.plugin.output.htmlArea.zip
           23715 Jul 13  2005 org.apache.forrest.plugin.output.pdf-0.1.zip
           23715 Apr 10 08:56 org.apache.forrest.plugin.output.pdf.zip

-------------------------------

Mime
View raw message