Moved config files to conf

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@426814 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2006-07-29 14:57:06 +00:00
parent 268563a07b
commit e11df5befc
11 changed files with 23 additions and 31 deletions

View File

@ -7,5 +7,3 @@ SSH_OPTS="-i $HOME/.ssh/new-id_dsa"
## NOTE that codehaus only honours some rsync options. Others may be summarily discarded and/or cause the rsync to break - check
## with them if changing them
source ./m2-sync.sh

View File

@ -2,5 +2,3 @@
FROM=carlossg@shell.sourceforge.net:/home/groups/d/di/displaytag/htdocs/m2repo/displaytag/
TO=displaytag/
source ./m2-sync.sh

View File

@ -4,5 +4,3 @@ FROM=rsync://databinder.net/maven/net/databinder/
TO=net/databinder/
NO_SSH=true
source ./m2-sync.sh

View File

@ -2,5 +2,3 @@
FROM=carlossg@shell.sourceforge.net:/home/groups/j/jw/jwebunit/htdocs/m2-repo/net/sourceforge/jwebunit/
TO=net/sourceforge/jwebunit/
source ./m2-sync.sh

View File

@ -2,5 +2,3 @@
FROM=carlossg@shell.sourceforge.net:/home/groups/m/ma/maven-taglib/htdocs/m2repo/net/sourceforge/maven-taglib/
TO=net/sourceforge/maven-taglib/
source ./m2-sync.sh

View File

@ -2,5 +2,3 @@
FROM=carlossg@shell.sourceforge.net:/home/groups/a/ac/acegisecurity/htdocs/repository/releases/org/acegisecurity/
TO=org/acegisecurity/
source ./m2-sync.sh

View File

@ -2,5 +2,3 @@
FROM=jvanzyl@people.apache.org:/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/
TO=org/apache/
source ./m2-sync.sh

View File

@ -2,5 +2,3 @@
FROM=rsync@jetty.mortbay.org:maven2/release/org/mortbay/
TO=org/mortbay/
source ./m2-sync.sh

View File

@ -2,5 +2,3 @@
FROM=maven@forge.objectweb.org:../../groups/maven/htdocs/maven2/org/objectweb/
TO=org/objectweb/
source ./m2-sync.sh

View File

@ -2,5 +2,3 @@
FROM=carlossg@shell.sourceforge.net:/home/groups/w/wi/wicket/htdocs/maven2/wicket/
TO=wicket/
source ./m2-sync.sh

View File

@ -20,19 +20,31 @@ else
RSYNC_OPTS="$RSYNC_OPTS -n"
fi
cd $HOME/repository-staging/to-ibiblio/maven2
BASEDIR=$HOME/repository-staging/to-ibiblio/maven2
# ideally we would use --ignore-existing but we need to copy the metadata files
for f in `find conf -iname "*.sh"`
do
if [ -z $NO_SSH ]
then
if [ -z $SSH_OPTS ]
FROM=
TO=
NO_SSH=
SSH_OPTS=
RSYNC_SSH=
source $f
if [ -z $NO_SSH ]
then
RSYNC_SSH="-e ssh"
else
RSYNC_SSH="-e \"ssh $SSH_OPTS\""
if [ -z $SSH_OPTS ]
then
RSYNC_SSH="-e ssh"
else
RSYNC_SSH="-e \"ssh $SSH_OPTS\""
fi
fi
fi
echo "Syncing $FROM -> $TO"
rsync --exclude-from=$HOME/components/maven-meeper/src/bin/syncopate/exclusions.txt $RSYNC_OPTS -Lcrtivz $RSYNC_SSH $FROM $TO
echo "Syncing $FROM -> $TO"
rsync --include=*/ --include=**/maven-metadata.xml* --exclude=* --exclude-from=$HOME/components/maven-meeper/src/bin/syncopate/exclusions.txt $RSYNC_OPTS -Lrtivz $RSYNC_SSH $FROM $BASEDIR/$TO
rsync --exclude-from=$HOME/components/maven-meeper/src/bin/syncopate/exclusions.txt --ignore-existing $RSYNC_OPTS -Lrtivz $RSYNC_SSH $FROM $BASEDIR/$TO
done