diff options
author | Jason van Zyl <jvanzyl@apache.org> | 2006-11-29 17:19:50 +0000 |
---|---|---|
committer | Jason van Zyl <jvanzyl@apache.org> | 2006-11-29 17:19:50 +0000 |
commit | d42a4e7d4c01f38cd43621be7286da53a6f5316f (patch) | |
tree | 36b6dfb96ab24c134eb31db737e6916086d5e9b6 /maven-meeper/src | |
parent | 267ee12e7d89d512b3d368d180b025542c754938 (diff) | |
download | archiva-d42a4e7d4c01f38cd43621be7286da53a6f5316f.tar.gz archiva-d42a4e7d4c01f38cd43621be7286da53a6f5316f.zip |
o create a property for the new ibiblio sync directory
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@480632 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven-meeper/src')
-rw-r--r-- | maven-meeper/src/bin/synchronize.properties | 1 | ||||
-rwxr-xr-x | maven-meeper/src/bin/synchronize/sync-central-to-ibiblio.sh | 22 |
2 files changed, 6 insertions, 17 deletions
diff --git a/maven-meeper/src/bin/synchronize.properties b/maven-meeper/src/bin/synchronize.properties index af4022c5d..d409b2c60 100644 --- a/maven-meeper/src/bin/synchronize.properties +++ b/maven-meeper/src/bin/synchronize.properties @@ -8,6 +8,7 @@ export M2_SYNC=$SYNC_TOOLS/m2-sync export REPOCLEAN=$TOOLS_BASE/m1-m2-conversion export M1_M2_REWRITE_RULES=$SYNC_TOOLS/m1-m2-mod-rewrite-rules.txt export SYNC_REPORTS=$HOME/repository-staging/to-ibiblio/reports/sync +export IBIBLIO_SYNC_DIR=/export/mirrors/maven and /export/mirrors/maven2 export JAVA_HOME=/opt/java/sdk/current export JAVA_CMD=$JAVA_HOME/bin/java export JAVA_OPTS="-ms32m -mx256m" diff --git a/maven-meeper/src/bin/synchronize/sync-central-to-ibiblio.sh b/maven-meeper/src/bin/synchronize/sync-central-to-ibiblio.sh index aff6ace16..59ab18e45 100755 --- a/maven-meeper/src/bin/synchronize/sync-central-to-ibiblio.sh +++ b/maven-meeper/src/bin/synchronize/sync-central-to-ibiblio.sh @@ -1,5 +1,9 @@ #!/bin/bash +syncProperties=$1 + +. $syncProperties + dest=/home/maven/repository-staging/to-ibiblio rsync -e ssh --delete --max-delete=10 -v -riplt $dest/maven2/ login.ibiblio.org:/public/html/maven2 @@ -7,21 +11,5 @@ rsync -e ssh --delete --max-delete=10 -v -riplt $dest/maven2/ login.ibiblio.org: date > $dest/maven2/last-sync.txt chmod a+r $dest/maven2/last-sync.txt - -# NO MORE m1 SYNC - -#date > $dest/maven/last-sync.txt -#chmod a+r $dest/maven/last-sync.txt -#rsync -e ssh --delete --max-delete=10 -v -riplt $dest/maven/ login.ibiblio.org:/public/html/maven - -# EXCEPT FOR PLUGINS -# TODO - FIX +# M1 Sync only for plugins ... rsync -e ssh --delete --max-delete=10 -v -riplt $dest/maven/ login.ibiblio.org:/public/html/maven -#( - #cd $dest/maven - #rsync -n -e ssh --delete --max-delete=10 -v -riplt --include='*/plugins/*' ./ login.ibiblio.org:/public/html/maven - #for i in */plugins - #do - #rsync -e ssh --delete --max-delete=10 -v -riplt $i login.ibiblio.org:/public/html/maven/$i - #done -#) |