From 650d249a5d7f6f163a227a1f2d3fd5461466e212 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Mon, 30 Jul 2012 18:16:47 +0200 Subject: First attempt to import AOOi into git. --- aooi-committers.txt | 38 ++++++++++++++++++++++++++++++++++++++ aooi-repositories.txt | 34 ++++++++++++++++++++++++++++++++++ aooi-svn-to-git.sh | 3 +++ 3 files changed, 75 insertions(+) create mode 100644 aooi-committers.txt create mode 100644 aooi-repositories.txt create mode 100755 aooi-svn-to-git.sh diff --git a/aooi-committers.txt b/aooi-committers.txt new file mode 100644 index 0000000..dd694b2 --- /dev/null +++ b/aooi-committers.txt @@ -0,0 +1,38 @@ +# The committers to the AOOi repository + +# default address when the committer is not known +@apache.org + +# mapping taken from http://git.apache.org/authors.txt +# grep '\' authors.txt | sed -e 's/ = /|/' -e 's/ $//' +af|Andre Fischer|af@apache.org +alg|Armin Le Grand|alg@apache.org +arielch|Ariel Constenla-Haile|arielch@apache.org +arist|Andrew Rist|arist@apache.org +damjan|Damjan Jovanovic|damjan@apache.org +erack|Eike Rathke|erack@apache.org +ericb2|Eric Bachard|ericb2@apache.org +hdu|Herbert Dürr|hdu@apache.org +hyan|Hongyun An|hyan@apache.org +chengjh|Jian Hong Cheng|chengjh@apache.org +imacat|Yang Shih-Ching|imacat@apache.org +jsc|Jürgen Schmidt|jsc@apache.org +jza|Alexandro Colorado|jza@apache.org +leidb|Lei De Bin|leidb@apache.org +leiw|Wang Lei|leiw@apache.org +liuzhe|Liu Zhe|liuzhe@apache.org +maho|Maho NAKATA|maho@apache.org +mayongl|Yong Lin Ma|mayongl@apache.org +mbauer|Mathias Bauer|mbauer@apache.org +mst|Michael Stahl|mst@apache.org +orw|Oliver-Rainer Wittmann|orw@apache.org +paveljanik|Pavel Janík|paveljanik@apache.org +pescetti|Andrea Pescetti|pescetti@apache.org +pfg|Pedro Giffuni|pfg@apache.org +rbircher|Raphael Bircher|rbircher@apache.org +rcweir|Rob Weir|robweir@apache.org +regina|Regina Henschel|regina@apache.org +robweir|Rob Weir|robweir@apache.org +wangzcdl|Zhe Wang|wangzcdl@apache.org +ydario|Yuri Dario|ydario@apache.org +zhangjf|Jian Fang Zhang|zhangjf@apache.org diff --git a/aooi-repositories.txt b/aooi-repositories.txt new file mode 100644 index 0000000..9b4c60d --- /dev/null +++ b/aooi-repositories.txt @@ -0,0 +1,34 @@ +# rewrite tabs to spaces +:set tabs_to_spaces=4,combined,\.(c|cpp|cxx|h|hrc|hxx|idl|inl|java|map|pl|pm|sdi|sh|src|tab|xcu|xml)$ +:set tabs_to_spaces=4,old,\$ +:set tabs_to_spaces=-1,none,^(.*/gbuild/.*|.*/gbuild.mk|[^/]*/[^/]*\.mk)$ +:set tabs_to_spaces=4,old,\.(mk|MK|pmk)$ + +# ignore some revisions completely (broken ones, mostly deletions of entire +# defunct CWSes) +#:revision ignore:XYZ + +# ignore some tags completely (broken ones) +#:tag ignore:DEV300_m99 + +# import of OOo into the Apache SVN +:revision from:1162288 + +# trunk is somewhere deep in the path +:set trunk=incubator/ooo/trunk/main + +# remove everything before starting the import +:set cleanup_first + +# the actual layout of the repositories (we care only about 'core') +core:e97f122464adca8d2face11be647666b9441af0c=^(buildbot_linux.sh|GNUmakefile|LICENSE|Makefile.in|MathMLDTD|Module_ooo.mk|NOTICE|ooo.lst|Repository.mk|RepositoryFixes.mk|UnoControls|accessibility|acinclude.m4|afms|agg|animations|apache-commons|apple_remote|autodoc|automation|avmedia|basctl|basebmp|basegfx|basic|bean|beanshell|berkeleydb|binaryurp|boost|bootstrap.1|bridges|buildscript.sh|cairo|canvas|chart2|cli_ure|codemaker|comphelper|config.sub|configmgr|configure.cmd|configure.in|connectivity|cosv|cppcanvas|cppu|cppuhelper|cppunit|cpputools|crashrep|cui|curl|dbaccess|default_images|desktop|dmake|drawinglayer|dtrans|editeng|embeddedobj|embedserv|epm|eventattacher|expat|extensions|external|extras|fetch_tarballs.sh|fileaccess|filter|forms|formula|fpicker|framework|gdk-pixbuf|gettext|glib|graphite|guw|hsqldb|hunspell|hwpfilter|hyphen|i18npool|i18nutil|icc|icu|idl|idlc|install-sh|instsetoo_native|io|javainstaller2|javaunohelper|jfreereport|jpeg|jurt|jvmaccess|jvmfwk|l10ntools|libcroco|libegg|libgsf|libpng|librsvg|libtextcat|libwpd|libxml2|libxmlsec|libxslt|lingucomponent|linguistic|lpsolve|lucene|makefile.rc|mdds|migrationanalysis|more_fonts|moz|mysqlc|mysqlcppconn|mythes|neon|np_sdk|nss|o3tl|odk|offapi|officecfg|offuh|ooo_custom_images|oovbaapi|oowintool|oox|openssl|package|packimages|padmin|pango|postprocess|psprint_config|python|pyuno|qadevOOo|rdbmaker|readlicense_oo|redland|regexp|registry|remotebridges|reportbuilder|reportdesign|rhino|ridljar|rsc|sal|salhelper|sane|sax|saxon|sc|scaddins|sccomp|scp2|scripting|sd|sdext|set_soenv.in|setup_native|sfx2|shell|slideshow|smoketestdoc|smoketestoo_native|soldep|solenv|soltools|sot|splitbuild|starmath|stax|stlport|stoc|store|svl|svtools|svx|sw|swext|sysui|test|testautomation|testgraphical|testtools|tomcat|toolkit|tools|twain|ucb|ucbhelper|udkapi|udm|unixODBC|unodevtools|unoil|unotools|unoxml|ure|uui|vbahelper|vcl|vigra|vos|wizards|writerfilter|writerperfect|x11_extensions|xmerge|xml2cmp|xmlhelp|xmloff|xmlreader|xmlscript|xmlsecurity|xpdf|xsltml|zlib)\> + +# mapping of the start of the history (ooo/OOO340_m1 git tag) +:commit map=core,1162287:e97f122464adca8d2face11be647666b9441af0c + +# parts of the svn tree that are going to be just dumped, not imported +ignore-binfilter:ignore=^binfilter\> +ignore-dictionaries:ignore=^dictionaries\> +ignore-helpcontent2:ignore=^(helpauthoring|helpcontent2)\> +ignore-we-do-not-want:ignore=^(.gitattributes|.gitignore|aclocal.m4|configure)\> +ignore-did-not-fit-anywhere:ignore=.* diff --git a/aooi-svn-to-git.sh b/aooi-svn-to-git.sh new file mode 100755 index 0000000..0bd6ae9 --- /dev/null +++ b/aooi-svn-to-git.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +exec ./to-git.sh svn $1 $2 "aooi-committers.txt" "aooi-repositories.txt" $3 -- cgit v1.2.3