Re: 2.0.1

Simon Eisenmann <simon-4x/[email protected]>
Newsgroups gmane.comp.web.zope.plone.installers
Message-ID <[email protected]>
alan runyan wrote:
> ahmen.  sidnei couldnt figure it out.  so maybe some documentation is 
> required.

Uhm :) seems like this is my fault. Its not that complicated though.

Basicall its this:

  1. its a script which can package muliple zope components together
  2. these distributions are defined in the platforms folder
  3. platforms definitions are python classes
     ( see 
http://cvs.sourceforge.net/viewcvs.py/plone/Installers/dist_plone/platforms/independent.py?rev=1.7&view=auto(
  4. This Distributions class has a fixed set of attributes (core, addons)
  6. These attributes contain a list of package objects
  7. Package objects are instances of (Bundle, ZProduct, or PyModule)
  8. Bundles can contain multiple other package objects inside)
  9. The dist plone script is run with a distribution as parameter.
     It then downloads all components and builds them together.
10. Plone releases should always use the "independent" platform.
11. Installer ppl can add custom Distributions inside the platforms
     dir to build there installer package sources (if differences from
     independent are required)

The dist plone script features the following:

  1. for installer creation it can download only
     (--download parameter)
  2. To build a tarball use the --build parameter
  3. --core parameter skips adding in the addons as defined in the
     distribution.
  4. If there are only ZProduct components in the current run are used
     then a flat directory structure tarball is built. Else in it uses
     lib/python/Products directory structure and puts the components
     where they belong.
  5. Finally there is a --dest parameter which specifies where to put
     the file(s)


I hope this makes this a bit clearer. For questions improvements feel 
free to ask me or check them into cvs :)

cheers,
  Simon







-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.