You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Ross Gardler (JIRA)" <ji...@apache.org> on 2005/06/08 23:09:16 UTC

[jira] Created: (FOR-533) Auto Generate plugins.xml entry

Auto Generate plugins.xml entry
-------------------------------

         Key: FOR-533
         URL: http://issues.apache.org/jira/browse/FOR-533
     Project: Forrest
        Type: Improvement
  Components: Plugins (general issues)  
    Reporter: Ross Gardler
    Priority: Minor
     Fix For: 0.8


The information in the plugins.xml file would be better kept in the plugin directory and added to the plugins.xml file when deployed. This would reduce the amount of duplication in the plugins config files.

All the necessary values are now in the plugin build.xml file.

This change will require that the plugins.xml file be retrieved from the build directory rather than the plugins directory when building the plugin documentation pages. We will therefore need a fall back to retrieve this file from the network if it is not currently available - this can be done with the locationmap

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (FOR-533) Auto Generate plugins.xml entry

Posted by Ross Gardler <rg...@apache.org>.
David Crossley wrote:
> I did a quick comparison between the page generated today and the
> result of the previous method (i.e. the one currently at f.a.org)
> Need to cleanup ASAP so that we can keep publishing the website.

I think all your reported issues are now fixed.

I've added the published="true" property feature, so we need to ensure 
that all plugins we want to publish a this property. I'm almost certain 
I have missed one or two as I'm very tired and not double checking my work.

Can someone please review the list of published plugins.

I am aware that input.pod and output.s5 are missing, this is because the 
source files are not local. As mentioned elsewhere in the thread we need 
to add a external-plugins.xml file. I'll do that soon.

Ross

Re: [jira] Commented: (FOR-533) Auto Generate plugins.xml entry

Posted by Ross Gardler <rg...@apache.org>.
Ross Gardler wrote:
> David Crossley wrote:

...

>> Now missing some entries which were only in the */plugins/plugins.xml
>> descriptors and not present on the local filesystem.
>> input.pod
>> output.s5

Both pod and s5 are missing as we do not host the source code. I will 
therefore create an external-plugins.xml file for such plugins.

Ross

Re: [jira] Commented: (FOR-533) Auto Generate plugins.xml entry

Posted by Ross Gardler <rg...@apache.org>.
David Crossley wrote:
> I did a quick comparison between the page generated today and the
> result of the previous method (i.e. the one currently at f.a.org)
> Need to cleanup ASAP so that we can keep publishing the website.
> 
> Now missing some entries which were only in the */plugins/plugins.xml
> descriptors and not present on the local filesystem.
> input.pod
> output.s5

I now see Cyriaque meant s5 was not appearing in the index page, I 
misunderstood.

> It now lists ones that are being worked on and not yet
> committed. My fault because i was doing plugin development
> directly in the "whiteboard/plugins" directory and not in
> a private space. Committers who are publishing the website
> need to take care.

Hmmmm...

I didn't think about that, I suspect doing local work in whiteboard is 
common. How about I add a property:

published=true|false

This property will not be in the template build.xml so the plugin will 
only be published to the index page if the developer actively creates 
the published property.

> Many extras in the whiteboard section because it is now
> doing a directory listing rather than using the plugins descriptor.
> Some of these were not yet released.

Would be solved by above, but is that a "bad thing". We have deployment 
from local source files and we also have deploy and release targets.


Ross

Re: [jira] Commented: (FOR-533) Auto Generate plugins.xml entry

Posted by David Crossley <cr...@apache.org>.
I did a quick comparison between the page generated today and the
result of the previous method (i.e. the one currently at f.a.org)
Need to cleanup ASAP so that we can keep publishing the website.

Now missing some entries which were only in the */plugins/plugins.xml
descriptors and not present on the local filesystem.
input.pod
output.s5
These are ones that are hosted outside the Forrest project.

The "Website:" URLs are missing the "plugins_0_80/" directory
because now using the URLs from */build.xml files. Probably
need to pass in a "version" parameter and construct the URLs.

It now lists ones that are being worked on and not yet
committed. My fault because i was doing plugin development
directly in the "whiteboard/plugins" directory and not in
a private space. Committers who are publishing the website
need to take care.

Many extras in the whiteboard section because it is now
doing a directory listing rather than using the plugins descriptor.
Some of these were not yet released.

Some localhost:8888 URLs (e.g. doap) probably still the
default from seeding each plugins. Our previous method
was to describe each one that was ready to be published
in the plugins.xml and clean up its default values.

Descriptions might need review to sync with what was in plugins.xml

"Internal Plugins" section needs to say "No plugins yet" for core.

whiteboard/plugins/*/build.xml needs cleanup because some were
not before exposed.

-David

[jira] Updated: (FOR-533) Auto Generate plugins.xml entry

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-533?page=all ]

Ross Gardler updated FOR-533:
-----------------------------

    Fix Version:     (was: 0.8-dev)
       Priority: Critical  (was: Minor)

> Auto Generate plugins.xml entry
> -------------------------------
>
>          Key: FOR-533
>          URL: http://issues.apache.org/jira/browse/FOR-533
>      Project: Forrest
>         Type: Improvement
>   Components: Plugins (general issues)
>     Reporter: Ross Gardler
>     Priority: Critical

>
> The information in the plugins.xml file would be better kept in the plugin directory and added to the plugins.xml file when deployed. This would reduce the amount of duplication in the plugins config files.
> All the necessary values are now in the plugin build.xml file.
> This change will require that the plugins.xml file be retrieved from the build directory rather than the plugins directory when building the plugin documentation pages. We will therefore need a fall back to retrieve this file from the network if it is not currently available - this can be done with the locationmap

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (FOR-533) Auto Generate plugins.xml entry

Posted by "Tim Williams (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FOR-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Williams updated FOR-533:
-----------------------------

    Fix Version/s:     (was: 0.9-dev)
                   0.10

> Auto Generate plugins.xml entry
> -------------------------------
>
>                 Key: FOR-533
>                 URL: https://issues.apache.org/jira/browse/FOR-533
>             Project: Forrest
>          Issue Type: Improvement
>          Components: Plugins (general issues)
>            Reporter: Ross Gardler
>            Priority: Minor
>             Fix For: 0.10
>
>
> The information in the plugins.xml file would be better kept in the plugin directory and added to the plugins.xml file when deployed. This would reduce the amount of duplication in the plugins config files.
> All the necessary values are now in the plugin build.xml file.
> This change will require that the plugins.xml file be retrieved from the build directory rather than the plugins directory when building the plugin documentation pages. We will therefore need a fall back to retrieve this file from the network if it is not currently available - this can be done with the locationmap

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-533) Auto Generate plugins.xml entry

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-533?page=comments#action_12433806 ] 
            
Ross Gardler commented on FOR-533:
----------------------------------

There is a problem with this approach (from the user mailing list):


>> when i type "forrest available-plugins" i can see the required version 
>> for a plugin.
>> i'm running 0.7 version and there almost all plugins required 0.8 
>> version. is taht really true?
> 
> 
> This appears to be a problem with the generation of the plugins index. 
> It appears the 0.7 plugins index is showing the plugins for 0.8. We need 
> to make it so that the index only includes plugin version up to the 
> version number for the index being generated. That is, there should be 
> no 0.8 versions appearing on the 0.7 index page.
> 
> It appears that we missed this when creating the versioned pages.

I'm rushing again... 

The above described problem is not the one I am describing, although they are related. The index page on the website suffers the same problem, i.e. 0.8 plugins appearing on the 0.7 index.

It looks like we need to keep a versioned copy of plugins.xml - attaching these comments the relevant JIRA issue.


> Auto Generate plugins.xml entry
> -------------------------------
>
>                 Key: FOR-533
>                 URL: http://issues.apache.org/jira/browse/FOR-533
>             Project: Forrest
>          Issue Type: Improvement
>          Components: Plugins (general issues)
>            Reporter: Ross Gardler
>            Priority: Critical
>             Fix For: 0.8-dev
>
>
> The information in the plugins.xml file would be better kept in the plugin directory and added to the plugins.xml file when deployed. This would reduce the amount of duplication in the plugins config files.
> All the necessary values are now in the plugin build.xml file.
> This change will require that the plugins.xml file be retrieved from the build directory rather than the plugins directory when building the plugin documentation pages. We will therefore need a fall back to retrieve this file from the network if it is not currently available - this can be done with the locationmap

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (FOR-533) Auto Generate plugins.xml entry

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FOR-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ross Gardler updated FOR-533:
-----------------------------

    Fix Version/s:     (was: 0.8-dev)
                   0.9
         Priority: Minor  (was: Critical)

This work has been halted and reverted (by way of commenting out the plugins.xml match in plugins.xmap) in order to allows a 0.8 release without plugin source code.

Moved the issue to 0.9 and reduced priority.

> Auto Generate plugins.xml entry
> -------------------------------
>
>                 Key: FOR-533
>                 URL: https://issues.apache.org/jira/browse/FOR-533
>             Project: Forrest
>          Issue Type: Improvement
>          Components: Plugins (general issues)
>            Reporter: Ross Gardler
>            Priority: Minor
>             Fix For: 0.9
>
>
> The information in the plugins.xml file would be better kept in the plugin directory and added to the plugins.xml file when deployed. This would reduce the amount of duplication in the plugins config files.
> All the necessary values are now in the plugin build.xml file.
> This change will require that the plugins.xml file be retrieved from the build directory rather than the plugins directory when building the plugin documentation pages. We will therefore need a fall back to retrieve this file from the network if it is not currently available - this can be done with the locationmap

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-533) Auto Generate plugins.xml entry

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-533?page=comments#action_12430143 ] 
            
David Crossley commented on FOR-533:
------------------------------------

Some more discussion is now here:
 Re: Fixing FOR-533
 http://marc.theaimsgroup.com/?t=115625031300002
 

> Auto Generate plugins.xml entry
> -------------------------------
>
>                 Key: FOR-533
>                 URL: http://issues.apache.org/jira/browse/FOR-533
>             Project: Forrest
>          Issue Type: Improvement
>          Components: Plugins (general issues)
>            Reporter: Ross Gardler
>            Priority: Critical
>             Fix For: 0.8-dev
>
>
> The information in the plugins.xml file would be better kept in the plugin directory and added to the plugins.xml file when deployed. This would reduce the amount of duplication in the plugins config files.
> All the necessary values are now in the plugin build.xml file.
> This change will require that the plugins.xml file be retrieved from the build directory rather than the plugins directory when building the plugin documentation pages. We will therefore need a fall back to retrieve this file from the network if it is not currently available - this can be done with the locationmap

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (FOR-533) Auto Generate plugins.xml entry

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-533?page=all ]

Ross Gardler updated FOR-533:
-----------------------------

    Fix Version: 0.8-dev
        Urgency: Normal

> Auto Generate plugins.xml entry
> -------------------------------
>
>          Key: FOR-533
>          URL: http://issues.apache.org/jira/browse/FOR-533
>      Project: Forrest
>         Type: Improvement
>   Components: Plugins (general issues)
>     Reporter: Ross Gardler
>     Priority: Critical
>      Fix For: 0.8-dev

>
> The information in the plugins.xml file would be better kept in the plugin directory and added to the plugins.xml file when deployed. This would reduce the amount of duplication in the plugins config files.
> All the necessary values are now in the plugin build.xml file.
> This change will require that the plugins.xml file be retrieved from the build directory rather than the plugins directory when building the plugin documentation pages. We will therefore need a fall back to retrieve this file from the network if it is not currently available - this can be done with the locationmap

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FOR-533) Auto Generate plugins.xml entry

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482939 ] 

Ross Gardler commented on FOR-533:
----------------------------------

I've done some of the work, the plugins.xml file is now generated from the build.xml file of plugins in the core and whiteboard plugin directories. This means the documentation page are dynamically generated.

However, the plugin install system does not use this file. It can't because Forrest is not running while the plugins are being installed, although it could be since they are not actually mounted until the first request that uses them. I need to think and/or experiment around this a little. Longer term we will be using Ivy to resolve the plugins so I'm not sure if it is worth doing an interim hack.

The other thing that is not currently supported is user defined plugin directories.

> Auto Generate plugins.xml entry
> -------------------------------
>
>                 Key: FOR-533
>                 URL: https://issues.apache.org/jira/browse/FOR-533
>             Project: Forrest
>          Issue Type: Improvement
>          Components: Plugins (general issues)
>            Reporter: Ross Gardler
>            Priority: Critical
>             Fix For: 0.8-dev
>
>
> The information in the plugins.xml file would be better kept in the plugin directory and added to the plugins.xml file when deployed. This would reduce the amount of duplication in the plugins config files.
> All the necessary values are now in the plugin build.xml file.
> This change will require that the plugins.xml file be retrieved from the build directory rather than the plugins directory when building the plugin documentation pages. We will therefore need a fall back to retrieve this file from the network if it is not currently available - this can be done with the locationmap

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-533) Auto Generate plugins.xml entry

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-533?page=comments#action_12448044 ] 
            
David Crossley commented on FOR-533:
------------------------------------

Ross explained some of what needs to happen:
See http://marc.theaimsgroup.com/?l=forrest-dev&m=115628912024269

> Auto Generate plugins.xml entry
> -------------------------------
>
>                 Key: FOR-533
>                 URL: http://issues.apache.org/jira/browse/FOR-533
>             Project: Forrest
>          Issue Type: Improvement
>          Components: Plugins (general issues)
>            Reporter: Ross Gardler
>            Priority: Critical
>             Fix For: 0.8-dev
>
>
> The information in the plugins.xml file would be better kept in the plugin directory and added to the plugins.xml file when deployed. This would reduce the amount of duplication in the plugins config files.
> All the necessary values are now in the plugin build.xml file.
> This change will require that the plugins.xml file be retrieved from the build directory rather than the plugins directory when building the plugin documentation pages. We will therefore need a fall back to retrieve this file from the network if it is not currently available - this can be done with the locationmap

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (FOR-533) Auto Generate plugins.xml entry

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-533?page=comments#action_12368813 ] 

Ross Gardler commented on FOR-533:
----------------------------------

Plugins.xml is currently unversioned. This results in the published plugins index being incorrect for older releases of Forrest. For more info see mail thread http://marc.theaimsgroup.com/?l=forrest-dev&m=114140648619147&w=2

> Auto Generate plugins.xml entry
> -------------------------------
>
>          Key: FOR-533
>          URL: http://issues.apache.org/jira/browse/FOR-533
>      Project: Forrest
>         Type: Improvement
>   Components: Plugins (general issues)
>     Reporter: Ross Gardler
>     Priority: Critical
>      Fix For: 0.8-dev

>
> The information in the plugins.xml file would be better kept in the plugin directory and added to the plugins.xml file when deployed. This would reduce the amount of duplication in the plugins config files.
> All the necessary values are now in the plugin build.xml file.
> This change will require that the plugins.xml file be retrieved from the build directory rather than the plugins directory when building the plugin documentation pages. We will therefore need a fall back to retrieve this file from the network if it is not currently available - this can be done with the locationmap

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira