manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1345566 - in /incubator/lcf/site/trunk: README.txt build.xml
Date Sat, 02 Jun 2012 19:51:03 GMT
Author: kwright
Date: Sat Jun  2 19:51:02 2012
New Revision: 1345566

URL: http://svn.apache.org/viewvc?rev=1345566&view=rev
Log:
Modify build to include doap file, and update README.

Modified:
    incubator/lcf/site/trunk/README.txt
    incubator/lcf/site/trunk/build.xml

Modified: incubator/lcf/site/trunk/README.txt
URL: http://svn.apache.org/viewvc/incubator/lcf/site/trunk/README.txt?rev=1345566&r1=1345565&r2=1345566&view=diff
==============================================================================
--- incubator/lcf/site/trunk/README.txt (original)
+++ incubator/lcf/site/trunk/README.txt Sat Jun  2 19:51:02 2012
@@ -1,16 +1,29 @@
-This directory contains the ManifoldCF web site.
-To update the site, do the following:
+This directory contains the ManifoldCF web site.  To update the site, do the following:
 
     1. Modify the site sources in ./src
 
-    2. Run "forrest site" to generate the site in ./build
+    2. Run "ant build" to generate the site in ./build/site.  You will need
+        internet access (for downloading dependencies and older MCF releases), and svn 1.7+
installed.
 
-    3. Run "forrest run" to review the built site
+    3. Review the site by opening ./build/site/index.html.
     
-    4. Commit the changes
+    4. Commit the changes.
+    
+    5. To publish the site, perform the following steps, which require Python 2.6+:
+    
+      (a) Check out the site image at https://svn.apache.org/repos/asf/incubator/lcf/site/publish
+          to a place of your choice, e.g. "svn co https://svn.apache.org/repos/asf/incubator/lcf/site/publish
../publish"
+          
+      (b) Run the following script:
+      
+          python ./scripts/update-site.py ./build/site <svn_root>
+          
+          e.g.
+          
+          python ./scripts/update-site.py ./build/site ../publish"
+          
+
+    6. The site will be mirrored from the svn image on a schedule by a cron job, currently
owned by kwright.
     
-    5. For externally-viewable site publishing, copy build/site to https://svn.apache.org/repos/asf/incubator/lcf/site/publish,
and commit
 
-    6. Run "umask 002; svn up /www/incubator.apache.org/lcf"
-       on people.apache.org (you'll need incubator karma for this)
 

Modified: incubator/lcf/site/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/site/trunk/build.xml?rev=1345566&r1=1345565&r2=1345566&view=diff
==============================================================================
--- incubator/lcf/site/trunk/build.xml (original)
+++ incubator/lcf/site/trunk/build.xml Sat Jun  2 19:51:02 2012
@@ -46,9 +46,10 @@
         <property name="release-base-url" value="http://archive.apache.org/dist/incubator/manifoldcf"/>
     </target>
     
-    <target name="transfer-htaccess">
+    <target name="transfer-root-files">
         <mkdir dir="build/site"/>
         <copy todir="build/site" file=".htaccess"/>
+        <copy todir="build/site" file="doap_ManifoldCF.rdf"/>
     </target>
     
     <target name="download-release" depends="setup-release-base-url">
@@ -400,7 +401,7 @@
         </condition>
     </target>
     
-    <target name="build" depends="setup-local-forrest,build-ipa-fonts,build-dejavu-fonts,get-releases-doc,transfer-htaccess,dependencies-check"
if="dependenciesAvailable">
+    <target name="build" depends="setup-local-forrest,build-ipa-fonts,build-dejavu-fonts,get-releases-doc,transfer-root-files,dependencies-check"
if="dependenciesAvailable">
         <dirname file="tmp/forrest/LICENSE.txt" property="forrest-dir"/>
         <echo message="${forrest-dir}"/>
         <exec executable="cmd.exe" dir="." searchpath="true" failonerror="true" osfamily="windows">



Mime
View raw message