diff options
author | Jason van Zyl <jvanzyl@apache.org> | 2006-11-04 10:18:07 +0000 |
---|---|---|
committer | Jason van Zyl <jvanzyl@apache.org> | 2006-11-04 10:18:07 +0000 |
commit | 8b9dfddeaf8de7509906d74618bf92b86c83193e (patch) | |
tree | fcbbe11a8a27c3b2d6cbf54aa90ed8c2f29a8ffe /maven-meeper | |
parent | 9889093ccd4e7615c9c0feb9c565551b28bca1a1 (diff) | |
download | archiva-8b9dfddeaf8de7509906d74618bf92b86c83193e.tar.gz archiva-8b9dfddeaf8de7509906d74618bf92b86c83193e.zip |
o create properties files for repository conversion using archiva
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@471158 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven-meeper')
5 files changed, 15 insertions, 97 deletions
diff --git a/maven-meeper/src/bin/m1-m2-conversion/convert-m1-m2.sh b/maven-meeper/src/bin/m1-m2-conversion/convert-m1-m2.sh index 9046f6b33..8fb140f44 100755 --- a/maven-meeper/src/bin/m1-m2-conversion/convert-m1-m2.sh +++ b/maven-meeper/src/bin/m1-m2-conversion/convert-m1-m2.sh @@ -1,6 +1,17 @@ #!/bin/sh -java -jar archiva-cli-1.0-SNAPSHOT-cli.jar -c \ - -o /home/maven/repository-staging/to-ibiblio/maven \ - -n /home/maven/repository-staging/to-ibiblio/maven2-repoclean \ - -b **/*.pom,**/activation/**,**/javamail/**,**/jaxm/**,**/jaxp/**,**/jaxrpc/**,**/jca/**,**/jce/**,**/jdbc/**,**/jdo/**,**/jms/**,**/jndi/**,**/saaj/** +java -jar archiva-cli-1.0-SNAPSHOT-cli.jar -c synchronize.properties +java -jar archiva-cli-1.0-SNAPSHOT-cli.jar -c synchronize-java.net.properties + +dir=/home/maven/repository-staging/to-ibiblio +src=$dir/maven2-repoclean +dst=$dir/maven2 + +rsync --ignore-existing -rvpl $src/ $dst/ > $log + +for f in `cat $log | grep maven-metadata.xml$` ; do + md5sum $dst/$f > $dst/$f.md5; + sha1sum $dst/$f > $dst/$f.sha1; + md5sum $src/$f > $src/$f.md5; + sha1sum $src/$f > $src/$f.sha1; +done diff --git a/maven-meeper/src/bin/m1-m2-conversion/java.net/sync-repoclean.sh b/maven-meeper/src/bin/m1-m2-conversion/java.net/sync-repoclean.sh deleted file mode 100755 index 842492c7a..000000000 --- a/maven-meeper/src/bin/m1-m2-conversion/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/m1-m2-conversion/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/m1-m2-conversion/java.net/synchronize.properties b/maven-meeper/src/bin/m1-m2-conversion/java.net/synchronize.properties deleted file mode 100644 index dbb80590e..000000000 --- a/maven-meeper/src/bin/m1-m2-conversion/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/m1-m2-conversion/sync-repoclean.sh b/maven-meeper/src/bin/m1-m2-conversion/sync-repoclean.sh deleted file mode 100755 index 8f118d0d1..000000000 --- a/maven-meeper/src/bin/m1-m2-conversion/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/m1-m2-conversion/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/m1-m2-conversion/synchronize.properties b/maven-meeper/src/bin/m1-m2-conversion/synchronize.properties index c2e7e064a..cf7acb345 100644 --- a/maven-meeper/src/bin/m1-m2-conversion/synchronize.properties +++ b/maven-meeper/src/bin/m1-m2-conversion/synchronize.properties @@ -1,27 +1,3 @@ -# [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] |