Document: Website Update URL: https://lenya.zones.apache.org/cms/docu/live/docu/website-update.html Changed by user: Andreas Hartmann (andreas)
---- Removed: /document/body/section[1]/title/text() Prerequisites ---- Added: /document/body/section[1]/title/text() Introduction ---- Removed: /document/body/section[1]/p[1]/text() Before you try to update the Lenya website, make sure you meet the following requirements: ---- Added: /document/body/section[1]/p/text()[1] The Lenya website is managed with Lenya on the Zones server. The URL of the authoring environment is ---- Added: /document/body/section[1]/p/a[1] <a> (null) ---- Added: /document/body/section[1]/p/a[1]/@href [attr] href=/docu/authoring/ (null) ---- Added: /document/body/section[1]/p/a[1]/text() https://lenya.zones.apache.org/cms/docu/authoring/ ---- Added: /document/body/section[1]/p/text()[3] . The SVN URL is ---- Added: /document/body/section[1]/p/a[2] <a> (null) ---- Added: /document/body/section[1]/p/a[2]/@href [attr] href=http://svn.apache.org/viewvc/lenya/docu/ (null) ---- Added: /document/body/section[1]/p/a[2]/text() https://svn.apache.org/repos/asf/lenya/docu ---- Added: /document/body/section[1]/p/text()[5] . ---- Removed: /document/body/section[1]/ul <ul> (null) ---- Removed: /document/body/section[1]/ul/li[1] <li> (null) ---- Removed: /document/body/section[1]/ul/li[1]/text()[1] You have ---- Removed: /document/body/section[1]/ul/li[1]/a <a> (null) ---- Removed: /document/body/section[1]/ul/li[1]/a/@href [attr] href=ext:forrest.apache.org (null) ---- Removed: /document/body/section[1]/ul/li[1]/a/text() Apache Forrest ---- Removed: /document/body/section[1]/ul/li[1]/text()[3] installed on your machine (v 0.8-dev). This means you have your environment set up in a way that you can call ---- Removed: /document/body/section[1]/ul/li[1]/code <code> (null) ---- Removed: /document/body/section[1]/ul/li[1]/code/text() forrest ---- Removed: /document/body/section[1]/ul/li[1]/text()[5] in any directory. ---- Removed: /document/body/section[1]/ul/li[2] <li> (null) ---- Removed: /document/body/section[1]/ul/li[2]/text()[1] You have enabled ---- Removed: /document/body/section[1]/ul/li[2]/a[1] <a> (null) ---- Removed: /document/body/section[1]/ul/li[2]/a[1]/@href [attr] href=http://forrest.apache.org (null) ---- Removed: /document/body/section[1]/ul/li[2]/a[1]/text() Apache Forrest ---- Removed: /document/body/section[1]/ul/li[2]/text()[3] to handle all image types natively. (see ---- Removed: /document/body/section[1]/ul/li[2]/a[2] <a> (null) ---- Removed: /document/body/section[1]/ul/li[2]/a[2]/@href [attr] href=ext:forrest.apache.org/pdf (null) ---- Removed: /document/body/section[1]/ul/li[2]/a[2]/text() note ---- Removed: /document/body/section[1]/ul/li[2]/text()[5] ) ---- Removed: /document/body/section[1]/ul/li[3] <li> (null) ---- Removed: /document/body/section[1]/ul/li[3]/text() You are an active Lenya committer with write access to SVN. ---- Removed: /document/body/section[1]/ul/li[4] <li> (null) ---- Removed: /document/body/section[1]/ul/li[4]/text()[1] Your subversion is configured correctly (see ---- Removed: /document/body/section[1]/ul/li[4]/a <a> (null) ---- Removed: /document/body/section[1]/ul/li[4]/a/@href [attr] href=ext:asf/svn (null) ---- Removed: /document/body/section[1]/ul/li[4]/a/text() note ---- Removed: /document/body/section[1]/ul/li[4]/text()[3] ) ---- Removed: /document/body/section[1]/p[2] <p> (null) ---- Removed: /document/body/section[1]/p[2]/text() If you are not a committer but like to contribute to the documentation, you're most welcome as well. If you want to make additions or corrections to the lenya documentation/website, please keep on reading. ---- Removed: /document/body/section[1]/p[3] <p> (null) ---- Removed: /document/body/section[1]/p[3]/text()[1] Instead of committing please make an ---- Removed: /document/body/section[1]/p[3]/code[1] <code> (null) ---- Removed: /document/body/section[1]/p[3]/code[1]/text() svn diff ---- Removed: /document/body/section[1]/p[3]/text()[3] of ---- Removed: /document/body/section[1]/p[3]/code[2] <code> (null) ---- Removed: /document/body/section[1]/p[3]/code[2]/text() lenya.docu ---- Removed: /document/body/section[1]/p[3]/text()[5] (see above) and contribute the patch via our ---- Removed: /document/body/section[1]/p[3]/a <a> (null) ---- Removed: /document/body/section[1]/p[3]/a/@href [attr] href=ext:issues.list (null) ---- Removed: /document/body/section[1]/p[3]/a/text() bug tracker ---- Removed: /document/body/section[1]/p[3]/text()[7] . Let us know about it on the developer's mailing list. A committer will happily pick your patch up from the bug tracker and apply it. ---- Removed: /document/body/section[2]/title/text() First time checkout ---- Added: /document/body/section[2]/title/text() Setup ---- Removed: /document/body/section[2]/p/text() You will have to do this only the first time when doing the website. ---- Added: /document/body/section[2]/p[1]/text() The following directories on the Zones server are involved: ---- Removed: /document/body/section[2]/ul <ul> (null) ---- Removed: /document/body/section[2]/ul/li[1] <li> (null) ---- Removed: /document/body/section[2]/ul/li[1]/code[1] <code> (null) ---- Removed: /document/body/section[2]/ul/li[1]/code[1]/text() svn co https://svn.apache.org/repos/asf/lenya/docu/ lenya.docu ---- Removed: /document/body/section[2]/ul/li[1]/br[1] <br> (null) ---- Removed: /document/body/section[2]/ul/li[1]/br[2] <br> (null) ---- Removed: /document/body/section[2]/ul/li[1]/code[2] <code> (null) ---- Removed: /document/body/section[2]/ul/li[1]/code[2]/text() lenya.docu ---- Removed: /document/body/section[2]/ul/li[1]/text() ->This is our documentation and website source tree. Here you will edit the site. ---- Removed: /document/body/section[2]/ul/li[2] <li> (null) ---- Removed: /document/body/section[2]/ul/li[2]/code[1] <code> (null) ---- Removed: /document/body/section[2]/ul/li[2]/code[1]/text() svn co https://svn.apache.org/repos/asf/lenya/site/ lenya.apache.org ---- Removed: /document/body/section[2]/ul/li[2]/br[1] <br> (null) ---- Removed: /document/body/section[2]/ul/li[2]/br[2] <br> (null) ---- Removed: /document/body/section[2]/ul/li[2]/code[2] <code> (null) ---- Removed: /document/body/section[2]/ul/li[2]/code[2]/text() lenya.apache.org ---- Removed: /document/body/section[2]/ul/li[2]/text() ->This is our website live tree. Here you will have to copy the build of lenya.docu. ---- Added: /document/body/section[2]/source <source> (null) ---- Added: /document/body/section[2]/source/text() [EMAIL PROTECTED]/ src/ lenya-docu The documentation publication and modules. lenya-trunk-docu The Lenya instance for the authoring environment. apache-tomcat-5.5.26-docu The Tomcat instance for the authoring environment. ---- Added: /document/body/section[2]/p[2] <p> (null) ---- Added: /document/body/section[2]/p[2]/text() Tomcat references the web application using a context file. ---- Removed: /document/body/section[3]/title/text() Generating changes based on svn ---- Added: /document/body/section[3]/title/text() Creating an Account ---- Removed: /document/body/section[3]/p[1]/text() The multiple changes files can be directly generated from the SVN commit logs with the following procedure: ---- Added: /document/body/section[3]/p[1]/text() To be able to edit the Lenya website on the Zones server, you have to create an account: ---- Removed: /document/body/section[3]/ul <ul> (null) ---- Removed: /document/body/section[3]/ul/li[1] <li> (null) ---- Removed: /document/body/section[3]/ul/li[1]/text()[1] run ---- Removed: /document/body/section[3]/ul/li[1]/code <code> (null) ---- Removed: /document/body/section[3]/ul/li[1]/code/text() svn log -v -r $LAST:HEAD --xml http://svn.apache.org/repos/asf/lenya > src/documentation/content/svn-log/tlp-HEAD.svn.xml ---- Removed: /document/body/section[3]/ul/li[1]/text()[3] in the root of the docu branch. Where $LAST is the revision number of the last commit from the last month. ---- Removed: /document/body/section[3]/ul/li[2] <li> (null) ---- Removed: /document/body/section[3]/ul/li[2]/text() Each month somebody need to create a new log file for the last month and link it to the changes section. Do ---- Removed: /document/body/section[3]/ul/li[2]/code <code> (null) ---- Removed: /document/body/section[3]/ul/li[2]/code/text() forrest run ---- Added: /document/body/section[3]/ol <ol> (null) ---- Added: /document/body/section[3]/ol/li[1] <li> (null) ---- Added: /document/body/section[3]/ol/li[1]/text()[1] Add your .iml file to the passwd directory to the SVN repository at ---- Added: /document/body/section[3]/ol/li[1]/code <code> (null) ---- Added: /document/body/section[3]/ol/li[1]/code/text() $DOCU_SVN/pubs/docu/config/access-control/passwd/ ---- Added: /document/body/section[3]/ol/li[1]/text()[3] . Don't forget to add you to the groups ---- Added: /document/body/section[3]/ol/li[1]/em[1] <em> (null) ---- Added: /document/body/section[3]/ol/li[1]/em[1]/text() editor ---- Added: /document/body/section[3]/ol/li[1]/text()[5] , ---- Added: /document/body/section[3]/ol/li[1]/em[2] <em> (null) ---- Added: /document/body/section[3]/ol/li[1]/em[2]/text() reviewer ---- Added: /document/body/section[3]/ol/li[1]/text()[7] , ---- Added: /document/body/section[3]/ol/li[1]/em[3] <em> (null) ---- Added: /document/body/section[3]/ol/li[1]/em[3]/text() sitemanager ---- Added: /document/body/section[3]/ol/li[1]/text()[9] , and ---- Added: /document/body/section[3]/ol/li[1]/em[4] <em> (null) ---- Added: /document/body/section[3]/ol/li[1]/em[4]/text() admin ---- Added: /document/body/section[3]/ol/li[1]/text()[11] . ---- Added: /document/body/section[3]/ol/li[2] <li> (null) ---- Added: /document/body/section[3]/ol/li[2]/text() Log in to the Zones server. ---- Added: /document/body/section[3]/ol/li[3] <li> (null) ---- Added: /document/body/section[3]/ol/li[3]/text() Execute the following commands: ---- Added: /document/body/section[3]/ol/li[3]/source <source> (null) ---- Added: /document/body/section[3]/ol/li[3]/source/text() svn up ~/src/lenya-docu/pubs/docu/config/access-control/passwd/cd ~/src/lenya-trunk-docu/./build.sh ---- Removed: /document/body/section[3]/p[2]/text()[1] You can find out the first and last revision (till it was updated) of the current HEAD by requesting ---- Added: /document/body/section[3]/p[2]/text()[1] Now you can log in to the ---- Removed: /document/body/section[3]/p[2]/a[1]/text() http://localhost:8888/tlp-HEAD.svn-revision.xml ---- Added: /document/body/section[3]/p[2]/a/text() authoring environment ---- Removed: /document/body/section[3]/p[2]/text()[3] numbers. If this file contains more then one month then you can request ---- Removed: /document/body/section[3]/p[2]/a[2] <a> (null) ---- Removed: /document/body/section[3]/p[2]/a[2]/@href [attr] href=site:tlp-HEAD-sh (null) ---- Removed: /document/body/section[3]/p[2]/a[2]/text() http://localhost:8888/tlp-HEAD.svn-sh.xml ---- Removed: /document/body/section[3]/p[2]/text()[5] to generate shell commands, which you can execute in the src/documentation/content/svn-log dir (you need to edit them before execute). ---- Added: /document/body/section[3]/p[2]/text()[3] . ---- Removed: /document/body/section[4]/p[1]/text()[1] The Website at ---- Added: /document/body/section[4]/p[1]/text()[1] The Website at ---- Removed: /document/body/section[4]/p[1]/text()[3] is a static site, which is served from the checkout dir ---- Added: /document/body/section[4]/p[1]/text()[3] is a static site, which is served from the checkout dir ---- Removed: /document/body/section[4]/p[1]/text()[5] on the server based on ---- Added: /document/body/section[4]/p[1]/text()[5] on the server based on ---- Removed: /document/body/section[4]/p[1]/text()[7] by an Apache httpd server. ---- Added: /document/body/section[4]/p[1]/text()[7] by an Apache httpd server. ---- Removed: /document/body/section[4]/p[2]/text()[1] The content of ---- Added: /document/body/section[4]/p[2]/text()[1] The content of ---- Removed: /document/body/section[4]/p[2]/text()[3] has to be generated by forrest based on the ---- Removed: /document/body/section[4]/p[2]/code[2] <code> (null) ---- Removed: /document/body/section[4]/p[2]/code[2]/text() lenya.docu ---- Removed: /document/body/section[4]/p[2]/text()[5] . This has to be done on your local machine because forrest is ---- Removed: /document/body/section[4]/p[2]/strong <strong> (null) ---- Removed: /document/body/section[4]/p[2]/strong/text() not ---- Removed: /document/body/section[4]/p[2]/text()[7] installed on the server. ---- Added: /document/body/section[4]/p[2]/text()[3] is a static export of the live area of the Zones server. This has to be done on your local machine because we cannot commit to SVN on the Zones server. ---- Removed: /document/body/section[4]/p[3] <p> (null) ---- Removed: /document/body/section[4]/p[3]/text()[1] Copy the deloyed files to your ---- Removed: /document/body/section[4]/p[3]/code[1] <code> (null) ---- Removed: /document/body/section[4]/p[3]/code[1]/text() lenya.apache.org ---- Removed: /document/body/section[4]/p[3]/text()[3] . Commit the changes in ---- Removed: /document/body/section[4]/p[3]/code[2] <code> (null) ---- Removed: /document/body/section[4]/p[3]/code[2]/text() lenya.apache.org ---- Removed: /document/body/section[4]/p[3]/text()[5] . A cron job updates the static files in ---- Removed: /document/body/section[4]/p[3]/code[3] <code> (null) ---- Removed: /document/body/section[4]/p[3]/code[3]/text() lenya.apache.org ---- Removed: /document/body/section[4]/p[3]/text()[7] of the server every 24 hours via a simple ---- Removed: /document/body/section[4]/p[3]/code[4] <code> (null) ---- Removed: /document/body/section[4]/p[3]/code[4]/text() svn up ---- Removed: /document/body/section[4]/p[3]/text()[9] . ---- Removed: /document/body/section[5]/title/text() Roundtrip website update ---- Added: /document/body/section[5]/title/text() Roundtrip Website Update ---- Removed: /document/body/section[5]/p[1]/text() The typical roundtrip process to update the website has the following steps. ---- Added: /document/body/section[5]/p/text() The typical roundtrip process to update the website has the following steps: ---- Removed: /document/body/section[5]/p[2] <p> (null) ---- Removed: /document/body/section[5]/p[2]/text() 1) edit the documentation src -> lenya.docu ---- Removed: /document/body/section[5]/ul[1] <ul> (null) ---- Removed: /document/body/section[5]/ul[1]/li[1] <li> (null) ---- Removed: /document/body/section[5]/ul[1]/li[1]/code <code> (null) ---- Removed: /document/body/section[5]/ul[1]/li[1]/code/text() cd $lenya.docu; svn up ---- Removed: /document/body/section[5]/ul[1]/li[1]/text() - change to your local checkout of the docu and update it. ---- Removed: /document/body/section[5]/ul[1]/li[2] <li> (null) ---- Removed: /document/body/section[5]/ul[1]/li[2]/text() Follow "Generating changes based on svn"! ---- Removed: /document/body/section[5]/ul[1]/li[3] <li> (null) ---- Removed: /document/body/section[5]/ul[1]/li[3]/text()[1] Run ---- Removed: /document/body/section[5]/ul[1]/li[3]/code[1] <code> (null) ---- Removed: /document/body/section[5]/ul[1]/li[3]/code[1]/text() forrest run ---- Removed: /document/body/section[5]/ul[1]/li[3]/text()[3] locally on your machine. You can now browse the website at ---- Removed: /document/body/section[5]/ul[1]/li[3]/code[2] <code> (null) ---- Removed: /document/body/section[5]/ul[1]/li[3]/code[2]/text() http://localhost:8888/ ---- Removed: /document/body/section[5]/ul[1]/li[3]/text()[5] . ---- Removed: /document/body/section[5]/ul[1]/li[4] <li> (null) ---- Removed: /document/body/section[5]/ul[1]/li[4]/text() Edit the content using your favourite editor. Refer to the forrest documentation if necessary. Hit the Reload button in your browser and test your changes locally on your machine until they work the way you intended. ---- Removed: /document/body/section[5]/p[3] <p> (null) ---- Removed: /document/body/section[5]/p[3]/text() 2) deploy and commit your changes to the documentation src -> lenya.docu ---- Removed: /document/body/section[5]/ul[2] <ul> (null) ---- Removed: /document/body/section[5]/ul[2]/li[1] <li> (null) ---- Removed: /document/body/section[5]/ul[2]/li[1]/text()[1] Run ---- Removed: /document/body/section[5]/ul[2]/li[1]/code[1] <code> (null) ---- Removed: /document/body/section[5]/ul[2]/li[1]/code[1]/text() forrest ---- Removed: /document/body/section[5]/ul[2]/li[1]/text()[3] -> This will create the site in ---- Removed: /document/body/section[5]/ul[2]/li[1]/code[2] <code> (null) ---- Removed: /document/body/section[5]/ul[2]/li[1]/code[2]/text() lenya.docu/build/site ---- Removed: /document/body/section[5]/ul[2]/li[1]/br <br> (null) ---- Removed: /document/body/section[5]/ul[2]/li[1]/text()[6] (Note that Forrest sometimes claims that the build failed, please see the broken-links.xml. Here you can find the pages that have errors and which pages refer to them.) ---- Removed: /document/body/section[5]/ul[2]/li[2] <li> (null) ---- Removed: /document/body/section[5]/ul[2]/li[2]/text()[1] Check in your changes (if you are a committer) ---- Removed: /document/body/section[5]/ul[2]/li[2]/code[1] <code> (null) ---- Removed: /document/body/section[5]/ul[2]/li[2]/code[1]/text() svn ci -m "my changes message" ---- Removed: /document/body/section[5]/ul[2]/li[2]/text()[3] or prepare a patch (if you aren't) ---- Removed: /document/body/section[5]/ul[2]/li[2]/code[2] <code> (null) ---- Removed: /document/body/section[5]/ul[2]/li[2]/code[2]/text() svn diff > patch.txt ---- Removed: /document/body/section[5]/ul[2]/li[2]/text()[5] of ---- Removed: /document/body/section[5]/ul[2]/li[2]/code[3] <code> (null) ---- Removed: /document/body/section[5]/ul[2]/li[2]/code[3]/text() lenya.docu ---- Removed: /document/body/section[5]/p[4] <p> (null) ---- Removed: /document/body/section[5]/p[4]/text() 3) copy deployed changes from the documentation src to the website checkout-> lenya.apache.org ---- Removed: /document/body/section[5]/ul[3] <ul> (null) ---- Removed: /document/body/section[5]/ul[3]/li[1] <li> (null) ---- Removed: /document/body/section[5]/ul[3]/li[1]/code <code> (null) ---- Removed: /document/body/section[5]/ul[3]/li[1]/code/text() cd $lenya.apache.org; svn up ---- Removed: /document/body/section[5]/ul[3]/li[1]/text() - change to your local checkout of the website and update it. ---- Removed: /document/body/section[5]/ul[3]/li[2] <li> (null) ---- Removed: /document/body/section[5]/ul[3]/li[2]/code <code> (null) ---- Removed: /document/body/section[5]/ul[3]/li[2]/code/text() cp -r $lenya.docu/build/site/* . ---- Removed: /document/body/section[5]/ul[3]/li[2]/text() - copy the deployed site from step 2. ---- Removed: /document/body/section[5]/ul[3]/li[3] <li> (null) ---- Removed: /document/body/section[5]/ul[3]/li[3]/text()[1] Create and copy the Javadoc for both branches ( ---- Removed: /document/body/section[5]/ul[3]/li[3]/code[1] <code> (null) ---- Removed: /document/body/section[5]/ul[3]/li[3]/code[1]/text() build javadocs ---- Removed: /document/body/section[5]/ul[3]/li[3]/text()[3] , Copy from ---- Removed: /document/body/section[5]/ul[3]/li[3]/code[2] <code> (null) ---- Removed: /document/body/section[5]/ul[3]/li[3]/code[2]/text() build/webapp/site/apidocs ---- Removed: /document/body/section[5]/ul[3]/li[3]/text()[5] to ---- Removed: /document/body/section[5]/ul[3]/li[3]/code[3] <code> (null) ---- Removed: /document/body/section[5]/ul[3]/li[3]/code[3]/text() lenya/site/apidocs/1.2 ---- Removed: /document/body/section[5]/ul[3]/li[3]/text()[7] and ---- Removed: /document/body/section[5]/ul[3]/li[3]/code[4] <code> (null) ---- Removed: /document/body/section[5]/ul[3]/li[3]/code[4]/text() lenya/site/apidocs/2.0 ---- Removed: /document/body/section[5]/ul[3]/li[3]/text()[9] ) ---- Removed: /document/body/section[5]/ul[3]/li[4] <li> (null) ---- Removed: /document/body/section[5]/ul[3]/li[4]/text()[1] Commit your changes to lenya.apache.org ---- Removed: /document/body/section[5]/ul[3]/li[4]/code <code> (null) ---- Removed: /document/body/section[5]/ul[3]/li[4]/code/text() svn ci -m "my changes message" ---- Removed: /document/body/section[5]/ul[3]/li[4]/text()[3] . ---- Added: /document/body/section[5]/ol <ol> (null) ---- Added: /document/body/section[5]/ol/li[1] <li> (null) ---- Added: /document/body/section[5]/ol/li[1]/p <p> (null) ---- Added: /document/body/section[5]/ol/li[1]/p/text() Log in to the authoring area and make your changes. ---- Added: /document/body/section[5]/ol/li[2] <li> (null) ---- Added: /document/body/section[5]/ol/li[2]/p <p> (null) ---- Added: /document/body/section[5]/ol/li[2]/p/text()[1] Update the SVN changes via the menu item ---- Added: /document/body/section[5]/ol/li[2]/p/em <em> (null) ---- Added: /document/body/section[5]/ol/li[2]/p/em/text() File → Update Code Changes ---- Added: /document/body/section[5]/ol/li[2]/p/text()[3] . This can take a while, depending on the timespan since the last update. ---- Added: /document/body/section[5]/ol/li[3] <li> (null) ---- Added: /document/body/section[5]/ol/li[3]/p <p> (null) ---- Added: /document/body/section[5]/ol/li[3]/p/text() Publish the edited pages, including the SVN change pages. ---- Added: /document/body/section[5]/ol/li[4] <li> (null) ---- Added: /document/body/section[5]/ol/li[4]/p <p> (null) ---- Added: /document/body/section[5]/ol/li[4]/p/text() Dowload the live area to your machine using the following command: ---- Added: /document/body/section[5]/ol/li[4]/source <source> (null) ---- Added: /document/body/section[5]/ol/li[4]/source/text() wget -t 1 -T 5 --no-check-certificate -p --cut-dirs=3 -nH -r -L -e robots=off \ https://lenya.zones.apache.org/cms/docu/live/index.html ---- Added: /document/body/section[5]/ol/li[5] <li> (null) ---- Added: /document/body/section[5]/ol/li[5]/p <p> (null) ---- Added: /document/body/section[5]/ol/li[5]/p/text()[1] Copy the exported pages to ---- Added: /document/body/section[5]/ol/li[5]/p/code <code> (null) ---- Added: /document/body/section[5]/ol/li[5]/p/code/text() $SITE_SVN ---- Added: /document/body/section[5]/ol/li[5]/p/text()[3] . ---- Added: /document/body/section[5]/ol/li[6] <li> (null) ---- Added: /document/body/section[5]/ol/li[6]/p <p> (null) ---- Added: /document/body/section[5]/ol/li[6]/p/text() Create and copy the Javadoc for all branches: ---- Added: /document/body/section[5]/ol/li[6]/source <source> (null) ---- Added: /document/body/section[5]/ol/li[6]/source/text() cd $LENYA_HOME_{$VERSION}./build.sh javadocscp build/webapp/site/apidocs/* $SITE_SVN/apidocs/{$VERSION}/ ---- Added: /document/body/section[5]/ol/li[7] <li> (null) ---- Added: /document/body/section[5]/ol/li[7]/p <p> (null) ---- Added: /document/body/section[5]/ol/li[7]/p/text()[1] Commit the changes to ---- Added: /document/body/section[5]/ol/li[7]/p/code <code> (null) ---- Added: /document/body/section[5]/ol/li[7]/p/code/text() $SITE_SVN ---- Added: /document/body/section[5]/ol/li[7]/p/text()[3] . ---- Removed: /document/body/section[6]/title/text() Let forrestbot help you ---- Added: /document/body/section[6]/title/text() Updating the Apache httpd Server on people.apache.org ---- Removed: /document/body/section[6]/p[1]/text()[1] If you are looking into a way to short the steps described in the ---- Removed: /document/body/section[6]/p[1]/a <a> (null) ---- Removed: /document/body/section[6]/p[1]/a/@href [attr] href=#trip (null) ---- Removed: /document/body/section[6]/p[1]/a/text() Roundtrip website update ---- Removed: /document/body/section[6]/p[1]/text()[3] , then do the following (please still test your changes first). ---- Added: /document/body/section[6]/p[1]/text()[1] There is a cron job on people which will do ---- Added: /document/body/section[6]/p[1]/code[1] <code> (null) ---- Added: /document/body/section[6]/p[1]/code[1]/text() svn update ---- Added: /document/body/section[6]/p[1]/text()[3] in the server ---- Added: /document/body/section[6]/p[1]/code[2] <code> (null) ---- Added: /document/body/section[6]/p[1]/code[2]/text() lenya.apache.org ---- Added: /document/body/section[6]/p[1]/text()[5] directory every 24 hours (see ---- Added: /document/body/section[6]/p[1]/code[3] <code> (null) ---- Added: /document/body/section[6]/p[1]/code[3]/text() /x1/home/thorsten/thorsten.ct ---- Added: /document/body/section[6]/p[1]/text()[7] ). If you want to invoke the script manually then ... ---- Removed: /document/body/section[6]/p[2] <p> (null) ---- Removed: /document/body/section[6]/p[2]/text() Do once, create $lenya.docu/deploy.svn.settings file. These credentials are needed by forrestbot so that it can do your 'svn add' and 'svn commit' etc. to the lenya/site/ repository. The deploy.svn.settings file looks like: ---- Removed: /document/body/section[6]/source[1]/text() <?xml version="1.0"?><project> <property name="deploy.svn.user" value="myApacheUsername"/> <property name="deploy.svn.password" value="myPassword"/></project> ---- Added: /document/body/section[6]/source[1]/text() ssh people.apache.org/x1/home/thorsten/bin/lenya-update.sh ---- Removed: /document/body/section[6]/p[3]/text() Generating and publishing the main docs is very easy using a local forrestbot: ---- Added: /document/body/section[6]/p[2]/text() Alternatively you can do the following (this is basically what the script does): ---- Removed: /document/body/section[6]/source[2]/text() cd $lenya.docuforrest -f publish.xml buildforrest -f publish.xml deploy ---- Added: /document/body/section[6]/source[2]/text() ssh people.apache.orgcd /www/lenya.apache.orgumask 0002svn update ---- Removed: /document/body/section[6]/p[4] <p> (null) ---- Removed: /document/body/section[6]/p[4]/text()[1] This builds the documentation locally then deploys it by committing it to the ---- Removed: /document/body/section[6]/p[4]/a <a> (null) ---- Removed: /document/body/section[6]/p[4]/a/@href [attr] href=https://svn.apache.org/repos/asf/lenya/site (null) ---- Removed: /document/body/section[6]/p[4]/a/text() lenya/site SVN ---- Removed: /document/body/section[6]/p[4]/text()[3] . Then a cronjob on the server will automatically publish it (see next section). ---- Removed: /document/body/section[6]/p[5] <p> (null) ---- Removed: /document/body/section[6]/p[5]/text() You can use a similar script we are using on the zones server in $lenya.docu. ---- Removed: /document/body/section[6]/source[3] <source> (null) ---- Removed: /document/body/section[6]/source[3]/@space [attr] space=preserve (http://www.w3.org/XML/1998/namespace) ---- Removed: /document/body/section[6]/source[3]/text() #!/bin/bashsvn upsource SVN-HEAD-REV.txtsvn log -r $LAST:HEAD -v --xml http://svn.apache.org/repos/asf/lenya > src/documentation/content/svn-log/tlp-HEAD.svn.xmlforrest -f publish.xml buildforrest -f publish.xml deploy ---- Removed: /document/body/section[7] <section> (null) ---- Removed: /document/body/section[7]/title <title> (null) ---- Removed: /document/body/section[7]/title/text() Update of the Apache httpd server on people.apache.org ---- Removed: /document/body/section[7]/p[1] <p> (null) ---- Removed: /document/body/section[7]/p[1]/text()[1] There is a cron job on people which will do 'svn update' in the server ---- Removed: /document/body/section[7]/p[1]/code <code> (null) ---- Removed: /document/body/section[7]/p[1]/code/text() lenya.apache.org ---- Removed: /document/body/section[7]/p[1]/text()[3] direvery 24 hours (see /x1/home/thorsten/thorsten.ct). If you want to invoke the script manually then ... ---- Removed: /document/body/section[7]/source[1] <source> (null) ---- Removed: /document/body/section[7]/source[1]/@space [attr] space=preserve (http://www.w3.org/XML/1998/namespace) ---- Removed: /document/body/section[7]/source[1]/text() ssh people.apache.org/x1/home/thorsten/bin/lenya-update.sh ---- Removed: /document/body/section[7]/p[2] <p> (null) ---- Removed: /document/body/section[7]/p[2]/text() Alternatively you can do the following (this is basicly what the script does). ---- Removed: /document/body/section[7]/source[2] <source> (null) ---- Removed: /document/body/section[7]/source[2]/@space [attr] space=preserve (http://www.w3.org/XML/1998/namespace) ---- Removed: /document/body/section[7]/source[2]/text() ssh people.apache.orgcd /www/lenya.apache.orgumask 0002svn update ---- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]