From 03d06b17942c82aca6c80e65c8d585fce26fa271 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Wed, 11 Oct 2006 21:23:42 +0000 Subject: o name conversion tools appropriately git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@462951 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/bin/convert/java.net/sync-repoclean.sh | 23 ++++++++++++++++++ .../bin/convert/java.net/synchronize.properties | 27 ++++++++++++++++++++++ maven-meeper/src/bin/convert/sync-repoclean.sh | 19 +++++++++++++++ .../src/bin/convert/synchronize.properties | 27 ++++++++++++++++++++++ .../src/bin/repoclean/java.net/sync-repoclean.sh | 23 ------------------ .../bin/repoclean/java.net/synchronize.properties | 27 ---------------------- maven-meeper/src/bin/repoclean/sync-repoclean.sh | 19 --------------- .../src/bin/repoclean/synchronize.properties | 27 ---------------------- 8 files changed, 96 insertions(+), 96 deletions(-) create mode 100755 maven-meeper/src/bin/convert/java.net/sync-repoclean.sh create mode 100644 maven-meeper/src/bin/convert/java.net/synchronize.properties create mode 100755 maven-meeper/src/bin/convert/sync-repoclean.sh create mode 100644 maven-meeper/src/bin/convert/synchronize.properties delete mode 100755 maven-meeper/src/bin/repoclean/java.net/sync-repoclean.sh delete mode 100644 maven-meeper/src/bin/repoclean/java.net/synchronize.properties delete mode 100755 maven-meeper/src/bin/repoclean/sync-repoclean.sh delete mode 100644 maven-meeper/src/bin/repoclean/synchronize.properties (limited to 'maven-meeper') diff --git a/maven-meeper/src/bin/convert/java.net/sync-repoclean.sh b/maven-meeper/src/bin/convert/java.net/sync-repoclean.sh new file mode 100755 index 000000000..3f0a81740 --- /dev/null +++ b/maven-meeper/src/bin/convert/java.net/sync-repoclean.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +dir=/home/maven/repository-staging/to-ibiblio +repocleanhome=$HOME/repository-tools/repoclean +log=$repocleanhome/last-changes-java.net.log + +src=maven2-repoclean-java.net/com/sun +dst=maven2/com/sun + +cd $dir/maven-java.net + +cvs update -P + +$repocleanhome/repoclean.sh ~/components/maven-meeper/src/bin/repoclean/java.net/synchronize.properties + +rsync --ignore-existing -rvpl $dir/$src/ $dir/$dst/ > $log + +for f in `cat $log | grep maven-metadata.xml$` ; do + md5sum $dir/$dst/$f > $dir/$dst/$f.md5; + sha1sum $dir/$dst/$f > $dir/$dst/$f.sha1; + md5sum $dir/$src/$f > $dir/$src/$f.md5; + sha1sum $dir/$src/$f > $dir/$src/$f.sha1; +done diff --git a/maven-meeper/src/bin/convert/java.net/synchronize.properties b/maven-meeper/src/bin/convert/java.net/synchronize.properties new file mode 100644 index 000000000..dbb80590e --- /dev/null +++ b/maven-meeper/src/bin/convert/java.net/synchronize.properties @@ -0,0 +1,27 @@ +# [REQUIRED OPTIONS] +sourceRepositoryPath=/home/maven/repository-staging/to-ibiblio/maven-java.net +targetRepositoryPath=/home/maven/repository-staging/to-ibiblio/maven2-repoclean-java.net +reportsPath=/home/maven/repository-staging/to-ibiblio/reports/repoclean + +blacklistedPatterns=**/*.pom + +reportOnly=false +reportWarnings=false + +errorReport.mailOnError=true +errorReport.fromName=REPOCLEAN +errorReport.fromAddress=maven@codehaus.org +errorReport.toName=Maven Developer List +errorReport.toAddress=notifications@maven.apache.org +errorReport.subject=[REPOCLEAN] Error(s) occurred while converting repository +errorReport.link=http://www.maven.org/reports/repoclean/#date/repository.report.txt + + +# [DEFAULT VALUE: legacy] +#sourceRepositoryLayout=[legacy|default] + +# [DEFAULT VALUE: v3] +#sourcePomType=[v3|v4] + +# [DEFAULT VALUE: default] +#targetRepositoryLayout=[legacy|default] diff --git a/maven-meeper/src/bin/convert/sync-repoclean.sh b/maven-meeper/src/bin/convert/sync-repoclean.sh new file mode 100755 index 000000000..60cfdfdac --- /dev/null +++ b/maven-meeper/src/bin/convert/sync-repoclean.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +dir=/home/maven/repository-staging/to-ibiblio +repocleanhome=$HOME/repository-tools/repoclean +log=$repocleanhome/last-changes.log + +src=maven2-repoclean +dst=maven2 + +$repocleanhome/repoclean.sh ~/components/maven-meeper/src/bin/repoclean/synchronize.properties + +rsync --ignore-existing -rvpl $dir/$src/ $dir/$dst/ > $log + +for f in `cat $log | grep maven-metadata.xml$` ; do + md5sum $dir/$dst/$f > $dir/$dst/$f.md5; + sha1sum $dir/$dst/$f > $dir/$dst/$f.sha1; + md5sum $dir/$src/$f > $dir/$src/$f.md5; + sha1sum $dir/$src/$f > $dir/$src/$f.sha1; +done diff --git a/maven-meeper/src/bin/convert/synchronize.properties b/maven-meeper/src/bin/convert/synchronize.properties new file mode 100644 index 000000000..c2e7e064a --- /dev/null +++ b/maven-meeper/src/bin/convert/synchronize.properties @@ -0,0 +1,27 @@ +# [REQUIRED OPTIONS] +sourceRepositoryPath=/home/maven/repository-staging/to-ibiblio/maven +targetRepositoryPath=/home/maven/repository-staging/to-ibiblio/maven2-repoclean +reportsPath=/home/maven/repository-staging/to-ibiblio/reports/repoclean + +blacklistedPatterns=**/*.pom,**/activation/**,**/javamail/**,**/jaxm/**,**/jaxp/**,**/jaxrpc/**,**/jca/**,**/jce/**,**/jdbc/**,**/jdo/**,**/jms/**,**/jndi/**,**/saaj/** + +reportOnly=false +reportWarnings=false + +errorReport.mailOnError=true +errorReport.fromName=REPOCLEAN +errorReport.fromAddress=maven@codehaus.org +errorReport.toName=Maven Developer List +errorReport.toAddress=notifications@maven.apache.org +errorReport.subject=[REPOCLEAN] Error(s) occurred while converting repository +errorReport.link=http://www.maven.org/reports/repoclean/#date/repository.report.txt + + +# [DEFAULT VALUE: legacy] +#sourceRepositoryLayout=[legacy|default] + +# [DEFAULT VALUE: v3] +#sourcePomType=[v3|v4] + +# [DEFAULT VALUE: default] +#targetRepositoryLayout=[legacy|default] diff --git a/maven-meeper/src/bin/repoclean/java.net/sync-repoclean.sh b/maven-meeper/src/bin/repoclean/java.net/sync-repoclean.sh deleted file mode 100755 index 3f0a81740..000000000 --- a/maven-meeper/src/bin/repoclean/java.net/sync-repoclean.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -dir=/home/maven/repository-staging/to-ibiblio -repocleanhome=$HOME/repository-tools/repoclean -log=$repocleanhome/last-changes-java.net.log - -src=maven2-repoclean-java.net/com/sun -dst=maven2/com/sun - -cd $dir/maven-java.net - -cvs update -P - -$repocleanhome/repoclean.sh ~/components/maven-meeper/src/bin/repoclean/java.net/synchronize.properties - -rsync --ignore-existing -rvpl $dir/$src/ $dir/$dst/ > $log - -for f in `cat $log | grep maven-metadata.xml$` ; do - md5sum $dir/$dst/$f > $dir/$dst/$f.md5; - sha1sum $dir/$dst/$f > $dir/$dst/$f.sha1; - md5sum $dir/$src/$f > $dir/$src/$f.md5; - sha1sum $dir/$src/$f > $dir/$src/$f.sha1; -done diff --git a/maven-meeper/src/bin/repoclean/java.net/synchronize.properties b/maven-meeper/src/bin/repoclean/java.net/synchronize.properties deleted file mode 100644 index dbb80590e..000000000 --- a/maven-meeper/src/bin/repoclean/java.net/synchronize.properties +++ /dev/null @@ -1,27 +0,0 @@ -# [REQUIRED OPTIONS] -sourceRepositoryPath=/home/maven/repository-staging/to-ibiblio/maven-java.net -targetRepositoryPath=/home/maven/repository-staging/to-ibiblio/maven2-repoclean-java.net -reportsPath=/home/maven/repository-staging/to-ibiblio/reports/repoclean - -blacklistedPatterns=**/*.pom - -reportOnly=false -reportWarnings=false - -errorReport.mailOnError=true -errorReport.fromName=REPOCLEAN -errorReport.fromAddress=maven@codehaus.org -errorReport.toName=Maven Developer List -errorReport.toAddress=notifications@maven.apache.org -errorReport.subject=[REPOCLEAN] Error(s) occurred while converting repository -errorReport.link=http://www.maven.org/reports/repoclean/#date/repository.report.txt - - -# [DEFAULT VALUE: legacy] -#sourceRepositoryLayout=[legacy|default] - -# [DEFAULT VALUE: v3] -#sourcePomType=[v3|v4] - -# [DEFAULT VALUE: default] -#targetRepositoryLayout=[legacy|default] diff --git a/maven-meeper/src/bin/repoclean/sync-repoclean.sh b/maven-meeper/src/bin/repoclean/sync-repoclean.sh deleted file mode 100755 index 60cfdfdac..000000000 --- a/maven-meeper/src/bin/repoclean/sync-repoclean.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -dir=/home/maven/repository-staging/to-ibiblio -repocleanhome=$HOME/repository-tools/repoclean -log=$repocleanhome/last-changes.log - -src=maven2-repoclean -dst=maven2 - -$repocleanhome/repoclean.sh ~/components/maven-meeper/src/bin/repoclean/synchronize.properties - -rsync --ignore-existing -rvpl $dir/$src/ $dir/$dst/ > $log - -for f in `cat $log | grep maven-metadata.xml$` ; do - md5sum $dir/$dst/$f > $dir/$dst/$f.md5; - sha1sum $dir/$dst/$f > $dir/$dst/$f.sha1; - md5sum $dir/$src/$f > $dir/$src/$f.md5; - sha1sum $dir/$src/$f > $dir/$src/$f.sha1; -done diff --git a/maven-meeper/src/bin/repoclean/synchronize.properties b/maven-meeper/src/bin/repoclean/synchronize.properties deleted file mode 100644 index c2e7e064a..000000000 --- a/maven-meeper/src/bin/repoclean/synchronize.properties +++ /dev/null @@ -1,27 +0,0 @@ -# [REQUIRED OPTIONS] -sourceRepositoryPath=/home/maven/repository-staging/to-ibiblio/maven -targetRepositoryPath=/home/maven/repository-staging/to-ibiblio/maven2-repoclean -reportsPath=/home/maven/repository-staging/to-ibiblio/reports/repoclean - -blacklistedPatterns=**/*.pom,**/activation/**,**/javamail/**,**/jaxm/**,**/jaxp/**,**/jaxrpc/**,**/jca/**,**/jce/**,**/jdbc/**,**/jdo/**,**/jms/**,**/jndi/**,**/saaj/** - -reportOnly=false -reportWarnings=false - -errorReport.mailOnError=true -errorReport.fromName=REPOCLEAN -errorReport.fromAddress=maven@codehaus.org -errorReport.toName=Maven Developer List -errorReport.toAddress=notifications@maven.apache.org -errorReport.subject=[REPOCLEAN] Error(s) occurred while converting repository -errorReport.link=http://www.maven.org/reports/repoclean/#date/repository.report.txt - - -# [DEFAULT VALUE: legacy] -#sourceRepositoryLayout=[legacy|default] - -# [DEFAULT VALUE: v3] -#sourcePomType=[v3|v4] - -# [DEFAULT VALUE: default] -#targetRepositoryLayout=[legacy|default] -- cgit v1.2.3