incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Fisher <>
Subject [migration][web] Scripted Conversions.
Date Sun, 28 Aug 2011 23:30:27 GMT
Yesterday I worked on conversion scripts for the website. They are now in ooo/site/trunk/tools/.


The skeleton is now in good shape to handle Kenai based html. A change may be needed to preserve
some PDL license comments. Also the footer may need to be changed for PDL for some pages.
I have focused on two processes to be used on a project by project basis.

(1) ${project}

This is used to move a project from Kenai's svn to the correct place in ooo/site/trunk/content/openofficeorg/${project}

A dos2unix is applied to fix some mixed line endings. If there is an AL 2.0 compatible version
of  dos2unix then I'd like to include it.

If the project exists in AOOo then a diff is done to find files that differ. This can be because
they were changed in Kenai. More likely this will be customization that was required. The
why project will require it.

(2) ${project}

This applies a sed script to rewrite urls in the html for a project.

Other tools can be applied to find and properly take care of various licenses and copyrights.

The project should consider using Apache RAT at some point when we are ready to check for
AL 2.0 headers as applied.

(3) - I plan to convert to

It will run another script like or for each project in a project
list file like web-list.txt.

Once a project is copied then I recommend local builds until the new project is correct before
checking in the project. Raphael did this live and some intervention was required to clear
the buildbot for the project.

One key part is finding bad url references to images and adding images to content/openofficeorg/

View raw message