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
This commit is contained in:
Brett Leslie Porter 2005-12-28 10:47:42 +00:00
parent b8c27119b5
commit f50854195c
1 changed files with 15 additions and 0 deletions

View File

@ -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/* .