as you may have remarked from some "little" commit logs, Joe put a test site 
for CMS+svnpubsub of Maven site online [1], with a full CMS integration of 
site build using Maven (thank you Joe)

What was done to adapt the site to the CMS integration is quickly documented 
in CMS adoption page [2]


The result is as follow: each page of the Maven site can be edited and 
published directly from the CMS web interface. If you added the CMS 
bookmarklet, in one click, you're on the source of the page, ready to edit and 
publish. A few clicks later, the site is staged, then you can publish it. 
There is actually a bug in svnpubsub that prevents immediate publish, infra is 
working on it, but the workflow is really natural.
It should help everyone to modify the plugins versions, for example, and 
publish without great experience from the site publication commands.


For the components publication, which is to be done only during the release 
process, the wrokflow is totally different. After staging the site locally 
during the release, you have to import it into website's production svn [3], 
as a versionned component path.
Then edit content/resources/extpaths.txt in the Maven main site svn to add the 
relative path and protect the diretory to be removed later on Maven site 
edits.
When you're happy with the release, you can change component's unversionned 
path to symlink to the actual version.
I did this manually with /ant-tasks which is a symlink to /ant-tasks-2.1.3

Having this process will make IMHO the asf-svnpubsub-plugin requirements even 
easier than expected: no need to update a svn tree, just import.


There is still work to do before activating the solution for the real Maven 
site, but the actual result is really good, IMHO, since these 2 workflows are 
very intuitive. 
Any thoughts?

Regards,

Hervé


[1] http://maventest.apache.org/

[2] http://www.staging.apache.org/dev/cmsadoption.html

[3] https://svn.apache.org/repos/infra/websites/production/maventest/content/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to