This is an automated email from the ASF dual-hosted git repository. wave pushed a commit to branch asf-staging in repository https://gitbox.apache.org/repos/asf/openoffice-org.git
The following commit(s) were added to refs/heads/asf-staging by this push: new e794ce1 clearing out for staging 2 e794ce1 is described below commit e794ce1f7903755043c7060ce5f734cc7a97b61e Author: Dave Fisher <d...@davefisher.tech> AuthorDate: Wed Oct 28 18:37:35 2020 -0700 clearing out for staging 2 --- tools/dos2unix.pl | 44 ------ tools/fetch-all-web.sh | 55 ------- tools/kenai2website.sh | 83 ---------- tools/readme.txt | 60 -------- tools/redirect.table | 137 ----------------- tools/redirect.txt | 409 ------------------------------------------------- tools/urlrewrite.sed | 167 -------------------- tools/urlrewrite.sh | 65 -------- tools/urlrewrite2.sed | 33 ---- tools/urlrewrite2.sh | 65 -------- tools/web-list.txt | 39 ----- 11 files changed, 1157 deletions(-) diff --git a/tools/dos2unix.pl b/tools/dos2unix.pl deleted file mode 100755 index c4851a7..0000000 --- a/tools/dos2unix.pl +++ /dev/null @@ -1,44 +0,0 @@ -#! /usr/bin/perl - -# dos2unix.pl by David Efflandt <effla...@xnet.com> -# Modification of script from "Learning perl" p.353 -# O'Reilly & Associates, Inc. -# -# Run after transfering text files from DOS to UNIX system. -# Strips carriage returns from DOS files for use UNIX. -# Transfers file permissions to new file (except suid bit). -# -# Usage:\tdos2unix.pl FILELIST -# where FILELIST = one or more filenames -# -# If you edit this file in DOS you can run it on itself by typing: -# perl dos2unix.pl dos2unix.pl -# -# Modify variables below for other search and replace functions. - -$find = "\r"; # find this -$sub = ""; # substitute with this -$rm_bak = 1; # remove old file after conversion: 0 = no, 1 = yes - -while (<>) { - if ($ARGV ne $oldargv) { - ($dev,$ino,$mode,$nlink,$uid,$gid) = stat($ARGV); - $backup = $ARGV . '.bak'; - rename($ARGV, $backup); - open (ARGVOUT, ">$ARGV"); - chmod $mode, $ARGV; - select(ARGVOUT); - $oldargv = $ARGV; - } - s/$find/$sub/g; - s/\t/ /g; - s/ - /\n/g; -} continue { - print; - if (eof) { - print STDOUT "Converted: $oldargv\n"; - unlink $backup if $rm_bak; - } -} -select(STDOUT); diff --git a/tools/fetch-all-web.sh b/tools/fetch-all-web.sh deleted file mode 100755 index 2a35be4..0000000 --- a/tools/fetch-all-web.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# -# Use this script to fetch all a project's webcontent for the projects -# listed in the specified file (typically, webcontent-list.txt). -# -# See https://cwiki.apache.org/confluence/display/OOOUSERS/OOo-Sitemap -# for a note on the checkout from the Kenai svn repository. -# -# USAGE: -# $ ./fetch-all-web.sh WEB-LIST WORK-DIR -# -# WEB-LIST is a file containing the list of Projects to fetch -# (see the file tools/dev/webcontent-list.txt) -# WORK-DIR each project's webcontent will be created in a -# subdirectory of WORK-DIR -# -# Future steps will include scripts to transform the content for -# the Apache CMS or a Confluence Wiki import -# - -if test "$#" != 1; then - echo "USAGE: $0 WEB-LIST" - exit 1 -fi - -webdir=`dirname "$1"` -webfile=`basename "$1"` -weblist=`(cd "$webdir" ; pwd)`/$webfile - - -for webproject in `grep '^./' $weblist` ; do - echo "'$webproject'." - echo "=====================" - ./kenai2website.sh ${webproject} - echo " " -done diff --git a/tools/kenai2website.sh b/tools/kenai2website.sh deleted file mode 100755 index 453ef4e..0000000 --- a/tools/kenai2website.sh +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# -# Use this script to fetch all a project's webcontent for the projects -# listed in the specified file (typically, webcontent-list.txt). -# -# See https://cwiki.apache.org/confluence/display/OOOUSERS/OOo-Sitemap -# for a note on the checkout from the Kenai svn repository. -# -# USAGE: -# $ ./kenai2website.sh PROJECT -# -# PROJECT is the name of the project to convert. -# -# Here are the steps performed. -# -# 1. svn export. -# 2. dos2unix fixup. Change DOS2UNIX to fit your OS. -# 3. compare with AOOo site. Either -# a) if project exists in AOOo site then find out what differs -# b) if project does not exist then moves the directory into the AOOo site content. -# The contents are tested to see what url fixups may be needed. -# Additional steps are manual. Do test site builds, image url cleanup, other fixups. -# Once satisfied then do "svn add PROJECT" -# - -if test "$#" != 1; then - echo "USAGE: $0 PROJECT" - exit 1 -fi - -REPOS='https://svn.openoffice.org/svn/' -REPOS2='~webcontent' -toolsdir=`pwd` -DOS2UNIX=${toolsdir}/dos2unix.pl -contentdir=${toolsdir}/../content/ - -webproject=$1 - -cd /tmp -rm -rf ${webproject} - -webrepos=${REPOS}${webproject}${REPOS2} - -echo "============ '$webproject' is being exported ..." -svn export ${webrepos} ${webproject} -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 - echo "The files above differ. This can be from changes in either repository." -else - echo "============ installing '$webproject' ..." - mv ${webproject} ${contentdir}/. - cd ${contentdir}/. - echo "============ '$webproject' is installed ..." - echo "Need to change urls - possibly with sed." - 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 -echo " " diff --git a/tools/readme.txt b/tools/readme.txt deleted file mode 100644 index 6be4052..0000000 --- a/tools/readme.txt +++ /dev/null @@ -1,60 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# -# This file contains a list of every project's webcontent currently -# hosted on Oracle's Kenai svn repository at: -# https://svn.openoffice.org/svn/<$projectname>~webcontent -# -# The webcontent repositories that should not be pulled are commented out, -# with a short explanation why. -# -# Note: for automated processing of this file, use only lines that -# begin with "./". -# - -This directory contains the scripts used in converting content on the OOo websites. - -kenai2website.sh <project> -========================== - -This is used to pull a Kenai project webrepos to a /tmp directory. -dos2unix is applied to certain files. And either the directory moved to -ooo/site/trunk/content/openofficeorg/<project>/. or the two directories compared. - -fetch-all-web.sh <project-list> -=============================== - -This is used to call kenai2website for a list of projects. - -web-list.txt -============ - -This is a list of OOo projects from Kenai that have been moved into AOOo's repros. - -urlrewrite.sh -============= - -This script is used to rewrite urls in the project's html to fit the AOOo scheme. - -urlrewrite.sed -============== - -This contains the url rewrite rules. Used by urlrewrite.sh. - diff --git a/tools/redirect.table b/tools/redirect.table deleted file mode 100644 index 0aa0310..0000000 --- a/tools/redirect.table +++ /dev/null @@ -1,137 +0,0 @@ -|| subdomain || redirects || -| qa.openoffice.org | redirectMatch permanent /issues/(.*) https://issues.apache.org/ooo/$1 \\ redirectMatch permanent (.*) www.openoffice.org/qa/$1 | -| contributing.openoffice.org | redirectMatch permanent (.*) incubator.apache.org/openofficeorg/get-involved.html | -| security.openoffice.org | redirectMatch permanent (.*) incubator.apache.org/openofficeorg/security/ | -| aa.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/aa/$1 | -| about.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/about/$1 | -| af.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/af/$1 | -| am.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/am/$1 | -| api.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/api/$1 | -| ar.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ar/$1 | -| ast.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ast/$1 | -| az.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/az/$1 | -| bal.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/bal/$1 | -| bg.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/bg/$1 | -| bibliographic.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/bibliographic/$1 | -| bizdev.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/bizdev/$1 | -| bn.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/bn/$1 | -| bo.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/bo/$1 | -| bre.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/bre/$1 | -| bs.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/bs/$1 | -| ca.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ca/$1 | -| certification.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/certification/$1 | -| cs.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/cs/$1 | -| cy.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/cy/$1 | -| da.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/da/$1 | -| dba.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/dba/$1 | -| de.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/de/$1 | -| distribution.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/distribution/$1 | -| dm.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/dm/$1 | -| documentation.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/documentation/$1 | -| download.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/download/$1 | -| dz.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/dz/$1 | -| editorial.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/editorial/$1 | -| education.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/education/$1 | -| el.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/el/$1 | -| eo.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/eo/$1 | -| es.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/es/$1 | -| et.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/et/$1 | -| eu.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/eu/$1 | -| extensions.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/extensions/$1 | -| external.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/external/$1 | -| fa.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/fa/$1 | -| fi.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/fi/$1 | -| fr.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/fr/$1 | -| framework.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/framework/$1 | -| fur.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/fur/$1 | -| ga.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ga/$1 | -| gd.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/gd/$1 | -| gl.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/gl/$1 | -| graphics.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/graphics/$1 | -| groupware.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/groupware/$1 | -| gsl.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/gsl/$1 | -| gu.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/gu/$1 | -| he.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/he/$1 | -| hi.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/hi/$1 | -| hr.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/hr/$1 | -| ht.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ht/$1 | -| hu.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/hu/$1 | -| hy.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/hy/$1 | -| id.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/id/$1 | -| installation.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/installation/$1 | -| is.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/is/$1 | -| it.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/it/$1 | -| ja.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ja/$1 | -| ka.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ka/$1 | -| km.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/km/$1 | -| ko.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ko/$1 | -| ku.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ku/$1 | -| lingucomponent.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/lingucomponent/$1 | -| lo.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/lo/$1 | -| lt.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/lt/$1 | -| lv.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/lv/$1 | -| marketing.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/marketing/$1 | -| mg.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/mg/$1 | -| miq.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/miq/$1 | -| mk.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/mk/$1 | -| ml.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ml/$1 | -| mn.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/mn/$1 | -| modularization.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/modularization/$1 | -| mr.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/mr/$1 | -| ms.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ms/$1 | -| my.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/my/$1 | -| native-lang.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/native/$1 | -| ne.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ne/$1 | -| news.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/news/$1 | -| nl.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/nl/$1 | -| no.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/no/$1 | -| ny.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ny/$1 | -| om.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/om/$1 | -| oopm.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/oopm/$1 | -| pa.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/pa/$1 | -| pap.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/pap/$1 | -| performance.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/performance/$1 | -| pl.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/pl/$1 | -| porting.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/porting/$1 | -| projects.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/projects/$1 | -| ps.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ps/$1 | -| pt.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/pt/$1 | -| pt-br.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/pt/$1 | -| ro.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ro/$1 | -| ru.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ru/$1 | -| sc.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/sc/$1 | -| sg.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/sg/$1 | -| shs.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/shs/$1 | -| si.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/si/$1 | -| sk.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/sk/$1 | -| sl.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/sl/$1 | -| so.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/so/$1 | -| specs.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/specs/$1 | -| sq.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/sq/$1 | -| sr.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/sr/$1 | -| stats.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/stats/$1 | -| support.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/support/$1 | -| sv.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/sv/$1 | -| sw.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/sw/$1 | -| ta.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ta/$1 | -| te.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/te/$1 | -| test.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/test/$1 | -| tg.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/tg/$1 | -| th.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/th/$1 | -| ti.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ti/$1 | -| tools.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/tools/$1 | -| tr.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/tr/$1 | -| tt-crh.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/tt/$1 | -| ucb.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ucb/$1 | -| udk.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/udk/$1 | -| ui.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ui/$1 | -| uk.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/uk/$1 | -| uof.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/uof/$1 | -| urd.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/urd/$1 | -| ux.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/ux/$1 | -| uz.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/uz/$1 | -| vba.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/vba/$1 | -| vi.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/vi/$1 | -| why.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/why/$1 | -| xml.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/xml/$1 | -| zh.openoffice.org | redirectMatch permanent (.*) www.openoffice.org/zh/$1 | diff --git a/tools/redirect.txt b/tools/redirect.txt deleted file mode 100644 index b1fa3c4..0000000 --- a/tools/redirect.txt +++ /dev/null @@ -1,409 +0,0 @@ -qa.openoffice.org -redirectMatch permanent /issues/(.*) https://issues.apache.org/ooo/$1 -redirectMatch permanent (.*) www.openoffice.org/qa/$1 - -contributing.openoffice.org -redirectMatch permanent (.*) incubator.apache.org/openofficeorg/get-involved.html - -security.openoffice.org -redirectMatch permanent (.*) incubator.apache.org/openofficeorg/security/ - -aa.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/aa/$1 - -about.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/about/$1 - -af.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/af/$1 - -am.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/am/$1 - -api.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/api/$1 - -ar.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ar/$1 - -ast.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ast/$1 - -az.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/az/$1 - -bal.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/bal/$1 - -bg.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/bg/$1 - -bibliographic.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/bibliographic/$1 - -bizdev.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/bizdev/$1 - -bn.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/bn/$1 - -bo.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/bo/$1 - -bre.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/bre/$1 - -bs.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/bs/$1 - -ca.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ca/$1 - -certification.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/certification/$1 - -cs.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/cs/$1 - -cy.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/cy/$1 - -da.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/da/$1 - -dba.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/dba/$1 - -de.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/de/$1 - -distribution.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/distribution/$1 - -dm.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/dm/$1 - -documentation.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/documentation/$1 - -download.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/download/$1 - -dz.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/dz/$1 - -editorial.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/editorial/$1 - -education.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/education/$1 - -el.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/el/$1 - -eo.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/eo/$1 - -es.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/es/$1 - -et.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/et/$1 - -eu.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/eu/$1 - -extensions.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/extensions/$1 - -external.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/external/$1 - -fa.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/fa/$1 - -fi.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/fi/$1 - -fr.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/fr/$1 - -framework.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/framework/$1 - -fur.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/fur/$1 - -ga.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ga/$1 - -gd.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/gd/$1 - -gl.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/gl/$1 - -graphics.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/graphics/$1 - -groupware.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/groupware/$1 - -gsl.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/gsl/$1 - -gu.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/gu/$1 - -he.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/he/$1 - -hi.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/hi/$1 - -hr.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/hr/$1 - -ht.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ht/$1 - -hu.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/hu/$1 - -hy.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/hy/$1 - -id.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/id/$1 - -installation.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/installation/$1 - -is.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/is/$1 - -it.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/it/$1 - -ja.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ja/$1 - -ka.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ka/$1 - -km.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/km/$1 - -ko.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ko/$1 - -ku.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ku/$1 - -lingucomponent.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/lingucomponent/$1 - -lo.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/lo/$1 - -lt.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/lt/$1 - -lv.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/lv/$1 - -marketing.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/marketing/$1 - -mg.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/mg/$1 - -miq.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/miq/$1 - -mk.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/mk/$1 - -ml.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ml/$1 - -mn.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/mn/$1 - -modularization.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/modularization/$1 - -mr.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/mr/$1 - -ms.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ms/$1 - -my.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/my/$1 - -native-lang.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/native/$1 - -ne.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ne/$1 - -news.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/news/$1 - -nl.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/nl/$1 - -no.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/no/$1 - -ny.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ny/$1 - -om.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/om/$1 - -oopm.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/oopm/$1 - -pa.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/pa/$1 - -pap.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/pap/$1 - -performance.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/performance/$1 - -pl.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/pl/$1 - -porting.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/porting/$1 - -projects.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/projects/$1 - -ps.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ps/$1 - -pt.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/pt/$1 - -pt-br.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/pt/$1 - -ro.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ro/$1 - -ru.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ru/$1 - -sc.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/sc/$1 - -sg.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/sg/$1 - -shs.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/shs/$1 - -si.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/si/$1 - -sk.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/sk/$1 - -sl.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/sl/$1 - -so.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/so/$1 - -specs.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/specs/$1 - -sq.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/sq/$1 - -sr.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/sr/$1 - -stats.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/stats/$1 - -support.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/support/$1 - -sv.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/sv/$1 - -sw.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/sw/$1 - -ta.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ta/$1 - -te.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/te/$1 - -test.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/test/$1 - -tg.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/tg/$1 - -th.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/th/$1 - -ti.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ti/$1 - -tools.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/tools/$1 - -tr.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/tr/$1 - -tt-crh.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/tt/$1 - -ucb.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ucb/$1 - -udk.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/udk/$1 - -ui.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ui/$1 - -uk.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/uk/$1 - -uof.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/uof/$1 - -urd.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/urd/$1 - -ux.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/ux/$1 - -uz.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/uz/$1 - -vba.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/vba/$1 - -vi.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/vi/$1 - -why.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/why/$1 - -xml.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/xml/$1 - -zh.openoffice.org -redirectMatch permanent (.*) www.openoffice.org/zh/$1 - diff --git a/tools/urlrewrite.sed b/tools/urlrewrite.sed deleted file mode 100644 index ec71cf8..0000000 --- a/tools/urlrewrite.sed +++ /dev/null @@ -1,167 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# -# This file contains a set of url change commands. -# -#s/\/openofficeorg\/www/\//g -#s/\/openofficeorg\//\//g -s/http:\/\/www.openoffice.org\//\//g - -# -# For bugzilla: -s/http:\/\/openoffice.org\/bugzilla/https:\/\/issues.apache.org\/ooo/g -# -s/http:\/\/contributing.openoffice.org/\/contributing/g -s/http:\/\/security.openoffice.org/\/security/g - -s/http:\/\/aa.openoffice.org/\/aa/g -s/http:\/\/about.openoffice.org/\/about/g -s/http:\/\/af.openoffice.org/\/af/g -s/http:\/\/am.openoffice.org/\/am/g -s/http:\/\/api.openoffice.org/\/api/g -s/http:\/\/ar.openoffice.org/\/ar/g -s/http:\/\/ast.openoffice.org/\/ast/g -s/http:\/\/az.openoffice.org/\/az/g -s/http:\/\/bal.openoffice.org/\/bal/g -s/http:\/\/bg.openoffice.org/\/bg/g -s/http:\/\/bibliographic.openoffice.org/\/bibliographic/g -s/http:\/\/bizdev.openoffice.org/\/bizdev/g -s/http:\/\/bn.openoffice.org/\/bn/g -s/http:\/\/bo.openoffice.org/\/bo/g -s/http:\/\/bre.openoffice.org/\/bre/g -s/http:\/\/bs.openoffice.org/\/bs/g -s/http:\/\/ca.openoffice.org/\/ca/g -s/http:\/\/certification.openoffice.org/\/certification/g -s/http:\/\/cs.openoffice.org/\/cs/g -s/http:\/\/cy.openoffice.org/\/cy/g -s/http:\/\/da.openoffice.org/\/da/g -s/http:\/\/dba.openoffice.org/\/dba/g -s/http:\/\/de.openoffice.org/\/de/g -s/http:\/\/distribution.openoffice.org/\/distribution/g -s/http:\/\/dm.openoffice.org/\/dm/g -s/http:\/\/documentation.openoffice.org/\/documentation/g -s/http:\/\/download.openoffice.org/\/download/g -s/http:\/\/dz.openoffice.org/\/dz/g -s/http:\/\/editorial.openoffice.org/\/editorial/g -s/http:\/\/education.openoffice.org/\/education/g -s/http:\/\/el.openoffice.org/\/el/g -s/http:\/\/eo.openoffice.org/\/eo/g -s/http:\/\/es.openoffice.org/\/es/g -s/http:\/\/et.openoffice.org/\/et/g -s/http:\/\/eu.openoffice.org/\/eu/g -#s/http:\/\/extensions.openoffice.org/\/extensions/g -s/http:\/\/external.openoffice.org/\/external/g -s/http:\/\/fa.openoffice.org/\/fa/g -s/http:\/\/fi.openoffice.org/\/fi/g -s/http:\/\/fr.openoffice.org/\/fr/g -s/http:\/\/framework.openoffice.org/\/framework/g -s/http:\/\/fur.openoffice.org/\/fur/g -s/http:\/\/ga.openoffice.org/\/ga/g -s/http:\/\/gd.openoffice.org/\/gd/g -s/http:\/\/gl.openoffice.org/\/gl/g -s/http:\/\/graphics.openoffice.org/\/graphics/g -s/http:\/\/groupware.openoffice.org/\/groupware/g -s/http:\/\/gsl.openoffice.org/\/gsl/g -s/http:\/\/gu.openoffice.org/\/gu/g -s/http:\/\/he.openoffice.org/\/he/g -s/http:\/\/hi.openoffice.org/\/hi/g -s/http:\/\/hr.openoffice.org/\/hr/g -s/http:\/\/ht.openoffice.org/\/ht/g -s/http:\/\/hu.openoffice.org/\/hu/g -s/http:\/\/hy.openoffice.org/\/hy/g -s/http:\/\/id.openoffice.org/\/id/g -s/http:\/\/installation.openoffice.org/\/installation/g -s/http:\/\/is.openoffice.org/\/is/g -s/http:\/\/it.openoffice.org/\/it/g -s/http:\/\/ja.openoffice.org/\/ja/g -s/http:\/\/ka.openoffice.org/\/ka/g -s/http:\/\/km.openoffice.org/\/km/g -s/http:\/\/ko.openoffice.org/\/ko/g -s/http:\/\/ku.openoffice.org/\/ku/g -s/http:\/\/lingucomponent.openoffice.org/\/lingucomponent/g -s/http:\/\/lo.openoffice.org/\/lo/g -s/http:\/\/lt.openoffice.org/\/lt/g -s/http:\/\/lv.openoffice.org/\/lv/g -s/http:\/\/marketing.openoffice.org/\/marketing/g -s/http:\/\/mg.openoffice.org/\/mg/g -s/http:\/\/miq.openoffice.org/\/miq/g -s/http:\/\/mk.openoffice.org/\/mk/g -s/http:\/\/ml.openoffice.org/\/ml/g -s/http:\/\/mn.openoffice.org/\/mn/g -s/http:\/\/modularization.openoffice.org/\/modularization/g -s/http:\/\/mr.openoffice.org/\/mr/g -s/http:\/\/ms.openoffice.org/\/ms/g -s/http:\/\/my.openoffice.org/\/my/g -s/http:\/\/native-lang.openoffice.org/\/native/g -s/http:\/\/ne.openoffice.org/\/ne/g -s/http:\/\/news.openoffice.org/\/news/g -s/http:\/\/nl.openoffice.org/\/nl/g -s/http:\/\/no.openoffice.org/\/no/g -s/http:\/\/ny.openoffice.org/\/ny/g -s/http:\/\/om.openoffice.org/\/om/g -s/http:\/\/oopm.openoffice.org/\/oopm/g -s/http:\/\/pa.openoffice.org/\/pa/g -s/http:\/\/pap.openoffice.org/\/pap/g -s/http:\/\/performance.openoffice.org/\/performance/g -s/http:\/\/pl.openoffice.org/\/pl/g -s/http:\/\/porting.openoffice.org/\/porting/g -s/http:\/\/projects.openoffice.org/\/projects/g -s/http:\/\/ps.openoffice.org/\/ps/g -s/http:\/\/pt.openoffice.org/\/pt/g -s/http:\/\/pt-br.openoffice.org/\/pt-br/g -s/http:\/\/qa.openoffice.org/\/qa/g -s/http:\/\/ro.openoffice.org/\/ro/g -s/http:\/\/ru.openoffice.org/\/ru/g -s/http:\/\/sc.openoffice.org/\/sc/g -s/http:\/\/sg.openoffice.org/\/sg/g -s/http:\/\/shs.openoffice.org/\/shs/g -s/http:\/\/si.openoffice.org/\/si/g -s/http:\/\/sk.openoffice.org/\/sk/g -s/http:\/\/sl.openoffice.org/\/sl/g -s/http:\/\/so.openoffice.org/\/so/g -s/http:\/\/specs.openoffice.org/\/specs/g -s/http:\/\/sq.openoffice.org/\/sq/g -s/http:\/\/sr.openoffice.org/\/sr/g -s/http:\/\/stats.openoffice.org/\/stats/g -s/http:\/\/support.openoffice.org/\/support/g -s/http:\/\/sv.openoffice.org/\/sv/g -s/http:\/\/sw.openoffice.org/\/sw/g -s/http:\/\/ta.openoffice.org/\/ta/g -s/http:\/\/te.openoffice.org/\/te/g -s/http:\/\/test.openoffice.org/\/test/g -s/http:\/\/tg.openoffice.org/\/tg/g -s/http:\/\/th.openoffice.org/\/th/g -s/http:\/\/ti.openoffice.org/\/ti/g -s/http:\/\/tools.openoffice.org/\/tools/g -s/http:\/\/tr.openoffice.org/\/tr/g -s/http:\/\/tt-crh.openoffice.org/\/tt/g -s/http:\/\/ucb.openoffice.org/\/ucb/g -s/http:\/\/udk.openoffice.org/\/udk/g -s/http:\/\/ui.openoffice.org/\/ui/g -s/http:\/\/uk.openoffice.org/\/uk/g -s/http:\/\/uof.openoffice.org/\/uof/g -s/http:\/\/urd.openoffice.org/\/urd/g -s/http:\/\/ux.openoffice.org/\/ux/g -s/http:\/\/uz.openoffice.org/\/uz/g -s/http:\/\/vba.openoffice.org/\/vba/g -s/http:\/\/vi.openoffice.org/\/vi/g -s/http:\/\/why.openoffice.org/\/why/g -s/http:\/\/xml.openoffice.org/\/xml/g -s/http:\/\/zh.openoffice.org/\/zh/g diff --git a/tools/urlrewrite.sh b/tools/urlrewrite.sh deleted file mode 100755 index 299a505..0000000 --- a/tools/urlrewrite.sh +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# -# Use this script to fetch all a project's webcontent for the projects -# listed in the specified file (typically, webcontent-list.txt). -# -# See https://cwiki.apache.org/confluence/display/OOOUSERS/OOo-Sitemap -# for a note on the checkout from the Kenai svn repository. -# -# USAGE: -# $ ./urlrewrite.sh WEB-PROJECT -# -# WEB-PROJECT - the name of the project to apply the urlrewrite rules. -# -# This is used to change html according the rules in urlrewrite.sed -# The project directory is scanned at the end for other urls which eventually -# need fixup when the new url is known. -# -# Fixups may be needed for css, js and other types of files. -# - -if test "$#" != 2; then - echo "USAGE: $0 PROJECT SUFFIX" - exit 1 -fi - -toolsdir=`pwd` -sedscripts=${toolsdir}/urlrewrite.sed -contentdir=${toolsdir}/../content/ - -webproject=$1 -suffixmatch=$2 - -if test -d ${contentdir}${webproject}; then - echo "============ '$webproject' performing url fixups ..." - cd ${contentdir}${webproject} - for htmlfile in `find . -name "${suffixmatch}"` ; do - echo ${htmlfile} - mv ${htmlfile} ${htmlfile}.bak - sed -f ${sedscripts} ${htmlfile}.bak > ${htmlfile} - diff -q ${htmlfile}.bak ${htmlfile} - rm ${htmlfile}.bak - done - echo "============ '$webproject' performing url fixups ..." - find . -name "${suffixmatch}" -exec grep -o "http://.*openoffice.org/" {} \; -fi -echo " " diff --git a/tools/urlrewrite2.sed b/tools/urlrewrite2.sed deleted file mode 100644 index f8bee38..0000000 --- a/tools/urlrewrite2.sed +++ /dev/null @@ -1,33 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# -# This file contains a set of url change commands. -# -#s/\/openofficeorg\/www/\//g -#s/\/openofficeorg\//\//g -#s/https:\/\/www.openoffice.org/\//g - -# -# For wiki -s/http:\/\/wiki.services.openoffice.org\//https:\/\/wiki.openoffice.org\//g -s/http:\/\/wiki.openoffice.org\//https:\/\/wiki.openoffice.org\//g -# For forum -s/http:\/\/forum.openoffice.org\//https:\/\/forum.openoffice.org\//g -# diff --git a/tools/urlrewrite2.sh b/tools/urlrewrite2.sh deleted file mode 100755 index 286999e..0000000 --- a/tools/urlrewrite2.sh +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# -# Use this script to fetch all a project's webcontent for the projects -# listed in the specified file (typically, webcontent-list.txt). -# -# See https://cwiki.apache.org/confluence/display/OOOUSERS/OOo-Sitemap -# for a note on the checkout from the Kenai svn repository. -# -# USAGE: -# $ ./urlrewrite.sh WEB-PROJECT -# -# WEB-PROJECT - the name of the project to apply the urlrewrite rules. -# -# This is used to change html according the rules in urlrewrite.sed -# The project directory is scanned at the end for other urls which eventually -# need fixup when the new url is known. -# -# Fixups may be needed for css, js and other types of files. -# - -if test "$#" != 2; then - echo "USAGE: $0 PROJECT SUFFIX" - exit 1 -fi - -toolsdir=`pwd` -sedscripts=${toolsdir}/urlrewrite2.sed -contentdir=${toolsdir}/../content/ - -webproject=$1 -suffixmatch=$2 - -if test -d ${contentdir}${webproject}; then - echo "============ '$webproject' performing url fixups ..." - cd ${contentdir}${webproject} - for htmlfile in `find . -name "${suffixmatch}"` ; do - echo ${htmlfile} - mv ${htmlfile} ${htmlfile}.bak - sed -f ${sedscripts} ${htmlfile}.bak > ${htmlfile} - diff -q ${htmlfile}.bak ${htmlfile} - rm ${htmlfile}.bak - done - echo "============ '$webproject' performing url fixups ..." - find . -name "${suffixmatch}" -exec grep -o "https://.*openoffice.org/" {} \; -fi -echo " " diff --git a/tools/web-list.txt b/tools/web-list.txt deleted file mode 100644 index 09e26d7..0000000 --- a/tools/web-list.txt +++ /dev/null @@ -1,39 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# -# This file contains a list of every project whose webcontent -# has been transferred from -# -# https://svn.openoffice.org/svn/<$projectname>~webcontent -# -# to -# -# ooo/site/trunk/content/openofficeorg/<$projectname> -# -# Note: for automated processing of this file, use only lines that -# begin with "./". -# - -./. -./download -./de -./projects -./contributing -./support