[CPS-devel] Re: Profiles dependencies and roots export

Olivier Grisel ogrisel at nuxeo.com
Fri Mar 31 11:19:25 CEST 2006


JoseLuis de la Rosa Triviño a écrit :
> Hello,
> 
>  
> 
> I have a profile for a custom product, my product needs that CPSBlog 
> profile had been imported before being usable, is there a way of 
> importing a profile automatically when another profile is imported by 
> the user?

The current version of GenericSetup lacks a dependency system between profiles. 
  It's a planned feature.

In the mean time you can write a script that imports your profiles in the right 
order to automate portal installation. Look at factory.py in CPSDefault to get 
an idea of the API.

> On the other hand, I have noticed that roots are not exported to 
> roots.xml when I select to export all steps, may someone give me any 
> tips about how to do it (or implement it)?

This is normal. portal_setup is not meant to export content (just configuration 
settings) and what's in the roots is content. I/O for content is also a planned 
feature but more on the mid/long term.

-- 
Olivier



More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.