You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2005/03/08 04:54:33 UTC

svn commit: r156493 - in lenya/docu/src/documentation/content/xdocs: community/index.xml community/website-update.xml site.xml

Author: thorsten
Date: Mon Mar  7 19:54:32 2005
New Revision: 156493

URL: http://svn.apache.org/viewcvs?view=rev&rev=156493
Log:
Fixed wrong instructions on website-update and added some note on contrib page.

Modified:
    lenya/docu/src/documentation/content/xdocs/community/index.xml
    lenya/docu/src/documentation/content/xdocs/community/website-update.xml
    lenya/docu/src/documentation/content/xdocs/site.xml

Modified: lenya/docu/src/documentation/content/xdocs/community/index.xml
URL: http://svn.apache.org/viewcvs/lenya/docu/src/documentation/content/xdocs/community/index.xml?view=diff&r1=156492&r2=156493
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/community/index.xml (original)
+++ lenya/docu/src/documentation/content/xdocs/community/index.xml Mon Mar  7 19:54:32 2005
@@ -28,7 +28,8 @@
   <body>
 	<p>
 		Here you will find information on how to interact with and become a member 
-		of the Apache Lenya community.
+		of the Apache Lenya community. Please read as well <link href="ext:forrest.contrib">Contributing to Apache Forrest</link> 
+    from the forrest community because it contains some more information about the process.
 	</p>
 
   <section>
@@ -40,8 +41,12 @@
 
   <section>
 	<title>Contribute code</title>
+  <note>Please use our <link href="site:issue.add">Bug tracker</link> to submit patches instead of sending them to the mailing list. 
+    All our committer started in creating an account here. ;-)<br/>
+    
+    </note>
 	<p>
-		You can contribute code as e.g. an "Enhancement Patch". 
+		You can contribute code as patch via our <link href="site:issue.add">Bug tracker</link>. 
 		For this, you file a bug entry in Bugzilla, using the links provided below. 
 		The bug entries in Bugzilla should provide a description of what the patch does, 
 		and how to apply it. Any further discussion should occur on the Lenya Developer list (see <link href="site:ml">mailing lists</link>)
@@ -49,7 +54,10 @@
 	<section>
 		<title>Preparing a Patch</title>
 			<ul>
-				<li>For general procedures please see the Cocoon documentation <link href="site:cocoon.howto.patch">How to Prepare a Patch</link> and <link href="site:cocoon.howto.bugzilla">How to Contribute a Patch via Bugzilla</link>. Note that the actual command to create the patch is <code>svn diff</code> (instead of <code>cvs diff -u</code> as suggested in said documents).</li>
+				<li>For general procedures please see the Cocoon documentation <link href="site:cocoon.howto.patch">How to Prepare a Patch</link> and 
+          <link href="site:cocoon.howto.bugzilla">How to Contribute a Patch via Bugzilla</link>. 
+          Note that the actual command to create the patch is <code>svn diff</code> (instead of <code>cvs diff -u</code> as 
+          suggested in said documents).</li>
 				<li>Make sure you follow the <link href="site:coding">coding guidelines</link>.</li>
 				<li>Test your patch by applying it to a fresh checkout of Lenya. In Eclipse for instance, this is done by choosing "apply patch" in the team perspective.</li>
 				<li>Follow this link to enter your patch in Bugzilla: <link href="site:issue.add">add a new patch</link>.</li>

Modified: lenya/docu/src/documentation/content/xdocs/community/website-update.xml
URL: http://svn.apache.org/viewcvs/lenya/docu/src/documentation/content/xdocs/community/website-update.xml?view=diff&r1=156492&r2=156493
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/community/website-update.xml (original)
+++ lenya/docu/src/documentation/content/xdocs/community/website-update.xml Mon Mar  7 19:54:32 2005
@@ -29,39 +29,21 @@
 		<p>Before you try to update the Lenya website, make sure you meet the following requirements:</p>
 		<ul>
 			<li>You have <link href="http://forrest.apache.org">Apache Forrest</link> installed on your machine. This means you have your environment set up
-			in a way that you can call <code>forrest run</code> in any directory.</li>
+			in a way that you can call <code>forrest</code> in any directory.</li>
 			<li>You are an active Lenya committer with write access to SVN.</li>
 		</ul>
-		<p>If you are not a committer but you would like to contribute to the documentation, you're most welcome as well. If case you
-		just want to make little additions or corrections to the Lenya documentation or the Lenya website, please follow this
-		instructions, but instead of committing please make an <code>svn diff</code> and post it on the developer's mailing list. 
-		A committer will happily pick your patch up and apply it.</p>
-		
-		</section>
-
-		<section>
-		<title>Understanding the Apache infrastructure</title>
-		<p>The Website at <code>http://lenya.apache.org/</code> is a static site, which is served directly from the directory
-		<code>/site</code> in the Apache Lenya SVN repository by a plain Apache httpd server. No Cocoon or even Lenya is 
-		involved in this very situation.</p>
-		<p>But the content of <code>/site</code> is never touched directly by any human editor. Instead, it is generated
-		through Forrest from the input files in the <code>/docu</code> directory of the Lenya SVN repository. A cron job 
-		updates the static files in <code>/site</code> every 12 hours to reflect any changes that got checked into to 
-		<code>/docu</code>.</p>
-		<p>The typical roundtrip process to update the website therefore is:</p>
-		<ul>
-		<li>Checkout <code>https://svn.apache.org/repos/asf/lenya/docu</code> into a working directory.</li>
-		<li>Run <code>forrest</code> locally on your machine. You can browse your checked-out copy of the website at
-		<code>http://localhost:8888/</code>.</li>
-		<li>Edit the content using your favourite editor. Refer to the Forrest Documentation if necessary.</li>
-		<li>Hit the Reload button in your browser and test your changes locally on your machine until they work the way you 
-		intended.</li>
-		<li>Check in your changes (if you are a committer) or prepare a patch (if you aren't)</li>
-		<li>Wait until your changes show up at <code>http://lenya.apache.org/</code>. This will take a maximum of 12 hours.</li>
-		</ul>
-		<p>See below for more detailed instructions and some more hints.</p>
-		</section>
-
+		<p>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.</p>
+     <p> Instead of committing please make an <code>svn diff</code> of <code>lenya.docu</code> (see above) and contribute the patch via our <link href="site:issue.add">bug tracker</link>. 
+    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.</p>
+    <section>
+		<title>First time checkout</title>
+    <p>You will have to do this only the first time when doing the website.</p>
+    <ul>
+      <li><code>svn co https://svn.apache.org/repos/asf/lenya/docu/ lenya.docu</code> <br/><br/><code>lenya.docu</code>->This is our documentation and website source tree. Here you will edit the site.</li>
+      <li><code>svn co https://svn.apache.org/repos/asf/lenya/site/ lenya.apache.org</code> <br/><br/><code>lenya.apache.org</code>->This is our website live tree. Here you will have to copy the build of lenya.docu.</li>
+    </ul>
+    </section>
 		<section>
 			<title>Generating changes.html</title>
 			<p>changes.html can be directly generated from the SVN commit logs with the following procedure:</p>
@@ -73,28 +55,51 @@
 				<li>run <code>forest</code> (You may have to increase <code>forrest.maxmemory</code> in forrest.properties to get around out of memory exceptions.) Forrest will take a LONG TIME to generate changes.html.</li>
 			</ul>
 			<p>If everything went alright, you will find changes.html, changes.pdf and changes.rss inside your xdocs directory.</p>
+
 		</section>
+		</section>
+
 		<section>
-			<title>Updating the Lenya website</title>
-			<ul>
-				<li>
-					<code>svn co https://svn.apache.org/repos/asf/lenya/docu/ lenya.docu</code> ->This is our documentation and website source tree</li>
-				
-				<li>
-					<link href="ext:forrest.install">Install Forrest 0.6</link> (Note that you need to use 0.6, other version do not work)</li>
-				<li>
-					<code>go to the root of lenya/docu</code>
-				</li>
-				<li>
-					<code>forrest</code> (Note that Forrest may claim that the build failed, most of the time this is only because of entries in brokenlinks that
+		<title>Understanding the Apache infrastructure</title>
+		<p>The Website at <code>http://lenya.apache.org/</code> is a static site, which is served from the checkout dir <code>lenya.apache.org</code> on the server based on
+		<code>http://svn.apache.org/repos/asf/lenya/site/</code> by an Apache httpd server.</p>
+		<p>The content of <code>lenya.apache.org</code> has to be generated by forrest based on the <code>lenya.docu</code>. 
+      This has to be done on your local machine because forrest is <strong>not</strong> installed on the server. </p>
+    <p>Copy the deloyed files to your <code>lenya.apache.org</code>. 
+      Commit the changes in <code>lenya.apache.org</code>. A cron job updates the static files in <code>lenya.apache.org</code> 
+      of the server every 24 hours via a simple <code>svn up</code>.
+		</p>
+   	</section>
+		<section>
+			<title>Roundtrip website update</title>
+    
+		<p>The typical roundtrip process to update the website has the following steps.</p>
+    <p>1) edit the documentation src -> lenya.docu</p>
+		<ul>
+		<li><code>cd $lenya.docu; svn up</code> - change to your local checkout of the docu and update it.</li>
+    <li>Follow "Generating changes.html"!</li>
+		<li>Run <code>forrest run</code> locally on your machine. You can now browse the website at
+		<code>http://localhost:8888/</code>.</li>
+		<li>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.</li>
+    </ul>
+    <p>2) deploy and commit your changes to the documentation src -> lenya.docu</p>
+    <ul>
+      <li>Run <code>forrest</code> -> This will create the site in <code>lenya.docu/build/site</code><br/>(Note that Forrest may claim that the build failed, most of the time this is only because of entries in brokenlinks that
     can be ignored. If the site looks ok to you, and there were no validation errors, go for it.)</li>
-				<li>Create and copy the Javadoc for both branches (<code>build javadocs</code>, Copy from <code>build/webapp/site/apidocs</code> to <code>lenya/site/apidocs/1.2</code> and
+		<li>Check in your changes (if you are a committer) <code>svn ci -m "my changes message"</code> or prepare a patch (if you aren't) <code>svn diff > patch.txt</code> of <code>lenya.docu</code></li>
+    </ul>
+    <p>3) copy deployed changes from the documentation src to the website checkout-> lenya.apache.org</p>
+    <ul>
+    <li><code>cd $lenya.apache.org; svn up</code> - change to your local checkout of the website and update it.</li>
+    <li><code>cp -r $lenya.docu/build/site/* .</code> - copy the deployed site from step 2.</li>
+    <li>Create and copy the Javadoc for both branches (<code>build javadocs</code>, Copy from <code>build/webapp/site/apidocs</code> to <code>lenya/site/apidocs/1.2</code> and
     <code>lenya/site/apidocs/1.4</code>)</li>
-				<li>Add, remove, commit to <code>lenya/site</code>
-				</li>
-			</ul>
-			<p>There is a cron job on minotaur which will do 'svn update'
-every 12 hours (see ~thorsten/bin/mycrontab). If you want to do it manually then ...</p>
+		<li>Commit your changes to lenya.apache.org <code>svn ci -m "my changes message"</code>.</li>
+		</ul>
+		<p>There is a cron job on minotaur which will do 'svn update' in the server <code>lenya.apache.org</code> dir
+every 24 hours (see ~thorsten/thorsten.ct). If you want to do it manually then ...</p>
 			<ul>
 				<li>Login to <code>minotaur.apache.org</code>
 				</li>
@@ -103,5 +108,7 @@
 				</li>
 			</ul>
 		</section>
+
+		
 	</body>
 </document>

Modified: lenya/docu/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/lenya/docu/src/documentation/content/xdocs/site.xml?view=diff&r1=156492&r2=156493
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/site.xml (original)
+++ lenya/docu/src/documentation/content/xdocs/site.xml Mon Mar  7 19:54:32 2005
@@ -241,6 +241,7 @@
         <forrest.apache.org href="http://forrest.apache.org/">
             <forrest.build href="build.html"/>
             <forrest.install href="docs/your-project.html#installing"/>
+            <forrest.contrib href="contrib.html"/>
         </forrest.apache.org>
         <issues href="http://issues.apache.org/bugzilla/">
             <issue.add href="enter_bug.cgi?reporter=&amp;product=Lenya&amp;version=Current+CVS&amp;component=core&amp;rep_platform=Other&amp;op_sys=other&amp;priority=Other&amp;bug_severity=Enhancement&amp;bug_status=NEW&amp;assigned_to=&amp;cc=&amp;bug_file_loc=&amp;short_desc=%5BPatch%5D&amp;comment=&amp;maketemplate=Remember+values+as+bookmarkable+template&amp;form_name=enter_bug"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org