forrest-site-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r952109 - in /forrest/site: howto-forrestbot-svn.html procedures/How_to_publish_docs.html tools/forrestbot.html
Date Mon, 07 Jun 2010 05:42:37 GMT
Author: crossley
Date: Mon Jun  7 05:42:36 2010
New Revision: 952109

 Publish from forrestbot


Modified: forrest/site/howto-forrestbot-svn.html
--- forrest/site/howto-forrestbot-svn.html (original)
+++ forrest/site/howto-forrestbot-svn.html Mon Jun  7 05:42:36 2010
@@ -263,9 +263,6 @@ document.write("Last Published: " + docu
 <a href="#follow">Follow along on your local system</a>
-<a href="#settings">The deploy.svn.settings file</a>
 <a href="#buildfile">The Forrestbot buildfile</a>
@@ -369,18 +366,7 @@ document.write("Last Published: " + docu
         <a href="">$FORREST_HOME/etc/publishing_our_site.txt</a>
-<a name="N10066"></a><a name="settings"></a>
-<h3 class="underlined_5">The deploy.svn.settings file</h3>
-        As explained in the above document, each committer needs a
-        <span class="codefrag">deploy.svn.settings</span> file to provide their
-      </p>
-<pre class="code">&lt;?xml version="1.0"?&gt;
-  &lt;property name="deploy.svn.user" value="myApacheUsername"/&gt;
-  &lt;property name="deploy.svn.password" value="mySvnPassword"/&gt;
-<a name="N10077"></a><a name="buildfile"></a>
+<a name="N10066"></a><a name="buildfile"></a>
 <h3 class="underlined_5">The Forrestbot buildfile</h3>
         The Forrestbot buildfile sets some properties and declares the workstages (i.e. Ant
targets) that need to be carried out. Of course this is fully explained in the <a href="tools/forrestbot.html">Forrestbot</a>
@@ -395,7 +381,6 @@ document.write("Last Published: " + docu
 &lt;project name="forrest-docs" default="main"&gt;
   &lt;property name="getsrc.local.root-dir" location="."/&gt;
   &lt;target name="getsrc" depends="getsrc.clean-workdir, getsrc.local"/&gt;
-  &lt;import file="../deploy.svn.settings" optional="true"/&gt;
   &lt;property name="deploy.svn.url"
   &lt;target name="deploy" depends="deploy.svn"/&gt;
@@ -410,7 +395,7 @@ document.write("Last Published: " + docu
         It deploys the generated files directly to the forrest/site SVN repository.
-<a name="N10099"></a><a name="build"></a>
+<a name="N10088"></a><a name="build"></a>
 <h3 class="underlined_5">The "build" workstage</h3>
         After doing the usual process to edit source documents, review them with
@@ -427,7 +412,7 @@ forrest -f publish.xml build</pre>
         To review, see the built docs in <span class="codefrag">build/forrest-docs</span>
-<a name="N100B3"></a><a name="deploy"></a>
+<a name="N100A2"></a><a name="deploy"></a>
 <h3 class="underlined_5">The "deploy" workstage</h3>
         When satisfied, then deploy the built docs:
@@ -446,7 +431,7 @@ forrest -f publish.xml build</pre>
         The files that are being committed will now be listed. That is it.
         They are now in the "<a href="">forrest/site</a>"
SVN repository.
-<a name="N100CE"></a><a name="production"></a>
+<a name="N100BD"></a><a name="production"></a>
 <h3 class="underlined_5">Moving the documents into production</h3>
         Next a cron job on the server will automatically publish it.
@@ -462,12 +447,12 @@ svn update</pre>
         about how the ASF project websites are managed.
-<a name="N100E3"></a><a name="faqs"></a>
+<a name="N100D2"></a><a name="faqs"></a>
 <h2 class="underlined_10">Frequently Asked Questions</h2>
 <div class="section">
-<a name="N100E7"></a><a name="faq-general"></a>
+<a name="N100D6"></a><a name="faq-general"></a>
 <h3 class="underlined_5">1 General issues</h3>
-<a name="N100EB"></a><a name="1.1+Why+all+the+svn+warnings+about+%22is+already+under+version+control%22"></a>
+<a name="N100DA"></a><a name="1.1+Why+all+the+svn+warnings+about+%22is+already+under+version+control%22"></a>
 <h4>1.1 Why all the svn warnings about "is already under version control"</h4>
             The deploy workstage does 'svn add' for all the generated documents
@@ -476,14 +461,14 @@ svn update</pre>
             changed. So the warning messages are issued for the existing, updated
-<a name="N100F3"></a><a name="1.2+Why+is+every+PDF+document+being+deployed%2C+even+though+they+have+not+changed."></a>
+<a name="N100E2"></a><a name="1.2+Why+is+every+PDF+document+being+deployed%2C+even+though+they+have+not+changed."></a>
 <h4>1.2 Why is every PDF document being deployed, even though they have not changed.</h4>
             The PDF plugins FOP library is automatically adding a datestamp to
             every generated document. We need to find a solution.
-<a name="N100FB"></a><a name="Further-Reading"></a>
+<a name="N100EA"></a><a name="Further-Reading"></a>
 <h2 class="underlined_10">Further Reading</h2>
 <div class="section">

Modified: forrest/site/procedures/How_to_publish_docs.html
--- forrest/site/procedures/How_to_publish_docs.html (original)
+++ forrest/site/procedures/How_to_publish_docs.html Mon Jun  7 05:42:36 2010
@@ -285,19 +285,6 @@ document.write("Last Published: " + docu
 <h2 class="underlined_10">Updating the site with a local forrestbot</h2>
 <div class="section">
-        Do once, create $FORREST_HOME/deploy.svn.settings file. These
-        credentials are needed by forrestbot so that it can do your 'svn add'
-        and 'svn commit' etc. to the forrest/site/ repository. The
-        deploy.svn.settings file looks like:
-      </p>
-<pre class="code">
-&lt;?xml version="1.0"?&gt;
-    &lt;property name="deploy.svn.user" value="myApacheUsername"/&gt;
-    &lt;property name="deploy.svn.password" value="myPassword"/&gt;
-      </pre>
         Generating and publishing the main docs is very easy using a local
@@ -334,7 +321,7 @@ $FORREST_HOME/tools/ant/bin/ant deploy-d
-<a name="N10062"></a><a name="OrgDoc"></a>
+<a name="N1005B"></a><a name="OrgDoc"></a>
 <h2 class="underlined_10">original docs</h2>
 <div class="section">
@@ -346,21 +333,7 @@ $FORREST_HOME/tools/ant/bin/ant deploy-d
                 To publish from trunk/site-author/
-                Do once:
-                # Create $FORREST_HOME/deploy.svn.settings file. These credentials
-                # are needed by forrestbot so that it can do your 'svn add'
-                # and 'svn commit' etc. to the forrest/site/ repository.
-                # The deploy.svn.settings file looks like:
-                &lt;?xml version="1.0"?&gt;
-                &lt;project&gt;
-                    &lt;property name="deploy.svn.user" value="myApacheUsername"/&gt;
-                    &lt;property name="deploy.svn.password" value="myPassword"/&gt;
-                &lt;/project&gt;
                 # Make changes to sources, and then test, then commit.
-                # Best to wait on committing the source changes until
-                # you have built and reviewed the docs.
                 # Please, please, ensure valid xml docs. Errors will be
                 # reported during the 'build' phase if you don't.
@@ -386,10 +359,6 @@ $FORREST_HOME/tools/ant/bin/ant deploy-d
                 Note: The first time that you deploy, it will need to do
                 a long svn checkout first.
-                FIXME: That commit message technique does not work.
-                The second word is treated as an ant target to be called.
-                Just leave it out and forrestbot will use a default message.

Modified: forrest/site/tools/forrestbot.html
--- forrest/site/tools/forrestbot.html (original)
+++ forrest/site/tools/forrestbot.html Mon Jun  7 05:42:36 2010
@@ -887,17 +887,8 @@ document.write("Last Published: " + docu
 <td colspan="1" rowspan="1">deploy.svn.user</td>
               <td colspan="1" rowspan="1">SVN username to use when committing changes</td>
-              <td colspan="1" rowspan="1"></td>
-              <td colspan="1" rowspan="1">Yes</td>
-<td colspan="1" rowspan="1">deploy.svn.password</td>
-              <td colspan="1" rowspan="1">SVN password</td>
-              <td colspan="1" rowspan="1"></td>
-              <td colspan="1" rowspan="1">Yes</td>
+              <td colspan="1" rowspan="1">Default is the system username.</td>
+              <td colspan="1" rowspan="1">No</td>
@@ -921,7 +912,11 @@ document.write("Last Published: " + docu
-<a name="N104E8"></a><a name="deploy.ftp"></a>
+            This uses the "svn" executable expected to be present, and its
+            authorisation mechanism.
+          </p>
+<a name="N104D6"></a><a name="deploy.ftp"></a>
 <table class="ForrestTable" cellspacing="1" cellpadding="4">
@@ -972,7 +967,7 @@ document.write("Last Published: " + docu
-<a name="N10565"></a><a name="notify"></a>
+<a name="N10553"></a><a name="notify"></a>
             These settings are used by all notify implementations.
@@ -1045,12 +1040,12 @@ document.write("Last Published: " + docu
-<a name="N1060F"></a><a name="notify.local"></a>
+<a name="N105FD"></a><a name="notify.local"></a>
             No properties.
-<a name="N10619"></a><a name=""></a>
+<a name="N10607"></a><a name=""></a>
 <table class="ForrestTable" cellspacing="1" cellpadding="4">
@@ -1093,7 +1088,7 @@ document.write("Last Published: " + docu
-<a name="N10681"></a><a name="Forrestbot+Design"></a>
+<a name="N1066F"></a><a name="Forrestbot+Design"></a>
 <h2 class="underlined_10">Forrestbot Design</h2>
 <div class="section">
@@ -1141,7 +1136,7 @@ document.write("Last Published: " + docu
-<a name="N106B6"></a><a name="refs"></a>
+<a name="N106A4"></a><a name="refs"></a>
 <h2 class="underlined_10">Further Reading</h2>
 <div class="section">

View raw message