]> source.dussan.org Git - archiva.git/commitdiff
o create properties files for repository conversion using archiva
authorJason van Zyl <jvanzyl@apache.org>
Sat, 4 Nov 2006 10:18:07 +0000 (10:18 +0000)
committerJason van Zyl <jvanzyl@apache.org>
Sat, 4 Nov 2006 10:18:07 +0000 (10:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@471158 13f79535-47bb-0310-9956-ffa450edef68

maven-meeper/src/bin/m1-m2-conversion/convert-m1-m2.sh
maven-meeper/src/bin/m1-m2-conversion/java.net/sync-repoclean.sh [deleted file]
maven-meeper/src/bin/m1-m2-conversion/java.net/synchronize.properties [deleted file]
maven-meeper/src/bin/m1-m2-conversion/sync-repoclean.sh [deleted file]
maven-meeper/src/bin/m1-m2-conversion/synchronize.properties

index 9046f6b33b30b9b2fb2f616a497e71ed1ab43a2a..8fb140f44bf427343517302220fb6f352f2e5c97 100755 (executable)
@@ -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 (executable)
index 842492c..0000000
+++ /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 (file)
index dbb8059..0000000
+++ /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 (executable)
index 8f118d0..0000000
+++ /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
index c2e7e064a7da5612bb8e38a0bc4ef7330ac8b6ad..cf7acb345d338c6678955de2b98c328132e4e0e5 100644 (file)
@@ -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]