Andreas Hartmann wrote:
> Hi Dan,
> 
> Dan Stromberg schrieb:
>> What's involved in upgrading a site with production data from Lenya
>> 1.2.5 to Lenya 2.0?
> 
> there's no "official guide" for the update process yet. AFAIK at least
> one developer is working on an automated content migration, but updating
> the business logic and rendering pipelines unfortunately can't be
> automated. I hope the best practises will be collected and published,
> all contributions are very much appreciated.
>

After the Freibourg meeting, I started to develop a kind of an
import-from-12 module. Up to now it only imports the content but no
resources and other stuff. I will try to add automatic conversation of
resources as e.g. images next. But as Andreas pointed out you have to
update the business logic and rendering pipelines "by hand" anyway.

You can find the module at:
http://svn.apache.org/repos/asf/lenya/sandbox/modules/importfrom12/

If you want to try it out you have to add the following lines to the
config/access-control/usecase-policies.xml File:

  <usecase id="importfrom12.importcontent">
    <role id="sitemanager" method="grant"/>
    <role id="edit" method="grant"/>
  </usecase>

and add the module to config/publication.xml:

   <module name="importfrom12"/>

You can access the module using the following URL:

http://localhost:8080/lenya/default/authoring/index.html?lenya.usecase=importfrom12.importcontent

HTH

Jann

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to