incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject svn commit: r1169581 - in /incubator/ooo/site/trunk/tools: kenai2website.sh urlrewrite.sed web-list.txt
Date Sun, 11 Sep 2011 23:27:24 GMT
Author: wave
Date: Sun Sep 11 23:27:24 2011
New Revision: 1169581

URL: http://svn.apache.org/viewvc?rev=1169581&view=rev
Log:
adjusted scripts handle larger Kenai projects

Modified:
    incubator/ooo/site/trunk/tools/kenai2website.sh
    incubator/ooo/site/trunk/tools/urlrewrite.sed
    incubator/ooo/site/trunk/tools/web-list.txt

Modified: incubator/ooo/site/trunk/tools/kenai2website.sh
URL: http://svn.apache.org/viewvc/incubator/ooo/site/trunk/tools/kenai2website.sh?rev=1169581&r1=1169580&r2=1169581&view=diff
==============================================================================
--- incubator/ooo/site/trunk/tools/kenai2website.sh (original)
+++ incubator/ooo/site/trunk/tools/kenai2website.sh Sun Sep 11 23:27:24 2011
@@ -62,10 +62,10 @@ webrepos=${REPOS}${webproject}${REPOS2}
 
 echo "============ '$webproject' is being exported ..."
 svn export ${webrepos} ${webproject}
-${DOS2UNIX} `find ${webproject} -name "*.html"`
-${DOS2UNIX} `find ${webproject} -name "*.css"`
-${DOS2UNIX} `find ${webproject} -name "*.js"`
-${DOS2UNIX} `find ${webproject} -name "*.svg"`
+find ${webproject} -name "*.html" -exec ${DOS2UNIX} {} \;
+find ${webproject} -name "*.css" -exec ${DOS2UNIX} {} \;
+find ${webproject} -name "*.js" -exec ${DOS2UNIX} {} \;
+find ${webproject} -name "*.svg" -exec ${DOS2UNIX} {} \;
 if test -d ${contentdir}${webproject}; then
     echo "============ '$webproject' looking for differences ..."
     diff -rqw ${webproject} ${contentdir}/${webproject} | grep differ
@@ -76,7 +76,7 @@ else
     cd ${contentdir}/.
     echo "============ '$webproject' is installed ..."
     echo "Need to change urls - possibly with sed."
-    grep -o "http://.*openoffice.org/" `find ${webproject} -name "*.html"`
+    find ${webproject} -name "*.html" -exec grep -o "http://.*openoffice.org/" {} \;
     echo "suggest local build until satisified."
     echo "remove unneeded files before svn add ${webproject}"
 fi

Modified: incubator/ooo/site/trunk/tools/urlrewrite.sed
URL: http://svn.apache.org/viewvc/incubator/ooo/site/trunk/tools/urlrewrite.sed?rev=1169581&r1=1169580&r2=1169581&view=diff
==============================================================================
--- incubator/ooo/site/trunk/tools/urlrewrite.sed (original)
+++ incubator/ooo/site/trunk/tools/urlrewrite.sed Sun Sep 11 23:27:24 2011
@@ -26,3 +26,6 @@ s/http:\/\/support.openoffice.org/\/open
 s/http:\/\/contributing.openoffice.org/\/openofficeorg\/contributing/g
 s/http:\/\/projects.openoffice.org/\/openofficeorg\/projects/g
 s/http:\/\/why.openoffice.org/\/openofficeorg\/why/g
+#
+# For bugzilla:
+s/http:\/\/openoffice.org\/bugzilla/https:\/\/issues.apache.org\/ooo/g

Modified: incubator/ooo/site/trunk/tools/web-list.txt
URL: http://svn.apache.org/viewvc/incubator/ooo/site/trunk/tools/web-list.txt?rev=1169581&r1=1169580&r2=1169581&view=diff
==============================================================================
--- incubator/ooo/site/trunk/tools/web-list.txt (original)
+++ incubator/ooo/site/trunk/tools/web-list.txt Sun Sep 11 23:27:24 2011
@@ -31,10 +31,33 @@
 # begin with "./".
 #
 
-./www
-./download
-./de
-./projects
-./contributing
-./support
-./why
+#./www
+#./download
+#./de
+#./projects
+#./contributing
+#./support
+#./why
+./api
+./framework
+./bibliographic
+./tools
+./dba
+./documentation
+./external
+./graphics
+./gsl
+./installation
+./lingucomponent
+./l10n
+./marketing
+./porting
+./qa
+./sc
+./ucb
+./udk
+./ux
+./ui
+./website
+./sw
+./xml



Mime
View raw message