Return-Path: X-Original-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9674188FE for ; Sun, 11 Sep 2011 23:27:48 +0000 (UTC) Received: (qmail 23676 invoked by uid 500); 11 Sep 2011 23:27:48 -0000 Delivered-To: apmail-incubator-ooo-commits-archive@incubator.apache.org Received: (qmail 23637 invoked by uid 500); 11 Sep 2011 23:27:48 -0000 Mailing-List: contact ooo-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-commits@incubator.apache.org Received: (qmail 23630 invoked by uid 99); 11 Sep 2011 23:27:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2011 23:27:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2011 23:27:45 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id AB6D7238890A; Sun, 11 Sep 2011 23:27:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: ooo-commits@incubator.apache.org From: wave@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110911232724.AB6D7238890A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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