From f50854195c96cc3547c0bb111082e10b410e4322 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Wed, 28 Dec 2005 10:47:42 +0000 Subject: [PATCH] add script to sync from apache m2 repo git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@359476 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/bin/ibiblio-sync/sync-apache-m2.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 maven-meeper/src/bin/ibiblio-sync/sync-apache-m2.sh diff --git a/maven-meeper/src/bin/ibiblio-sync/sync-apache-m2.sh b/maven-meeper/src/bin/ibiblio-sync/sync-apache-m2.sh new file mode 100755 index 0000000000..7b18ea80cb --- /dev/null +++ b/maven-meeper/src/bin/ibiblio-sync/sync-apache-m2.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +echo This script is very temporary. Please validate all input files in the apache repository before blindly copying them in. +echo Ensure all artifacts have a valid POM, and are signed used PGP. +echo This will be removed when the repository manager is in place. + +OPTS=-n +if [ "$1" == "go" ]; then + echo Doing sync for real + OPTS= +fi + +cd $HOME/repository-staging/to-ibiblio/maven2 +echo rsync --exclude="README.txt" -e ssh $OPTS -avz jvanzyl@cvs.apache.org:/www/www.apache.org/dist/maven-repository/* . +rsync --exclude="README.txt" -e ssh $OPTS -avz jvanzyl@cvs.apache.org:/www/www.apache.org/dist/maven-repository/* .