mirror of https://github.com/apache/maven.git
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:
parent
268563a07b
commit
e11df5befc
|
@ -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
|
## 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
|
## with them if changing them
|
||||||
|
|
||||||
source ./m2-sync.sh
|
|
|
@ -2,5 +2,3 @@
|
||||||
|
|
||||||
FROM=carlossg@shell.sourceforge.net:/home/groups/d/di/displaytag/htdocs/m2repo/displaytag/
|
FROM=carlossg@shell.sourceforge.net:/home/groups/d/di/displaytag/htdocs/m2repo/displaytag/
|
||||||
TO=displaytag/
|
TO=displaytag/
|
||||||
|
|
||||||
source ./m2-sync.sh
|
|
|
@ -4,5 +4,3 @@ FROM=rsync://databinder.net/maven/net/databinder/
|
||||||
TO=net/databinder/
|
TO=net/databinder/
|
||||||
|
|
||||||
NO_SSH=true
|
NO_SSH=true
|
||||||
|
|
||||||
source ./m2-sync.sh
|
|
|
@ -2,5 +2,3 @@
|
||||||
|
|
||||||
FROM=carlossg@shell.sourceforge.net:/home/groups/j/jw/jwebunit/htdocs/m2-repo/net/sourceforge/jwebunit/
|
FROM=carlossg@shell.sourceforge.net:/home/groups/j/jw/jwebunit/htdocs/m2-repo/net/sourceforge/jwebunit/
|
||||||
TO=net/sourceforge/jwebunit/
|
TO=net/sourceforge/jwebunit/
|
||||||
|
|
||||||
source ./m2-sync.sh
|
|
|
@ -2,5 +2,3 @@
|
||||||
|
|
||||||
FROM=carlossg@shell.sourceforge.net:/home/groups/m/ma/maven-taglib/htdocs/m2repo/net/sourceforge/maven-taglib/
|
FROM=carlossg@shell.sourceforge.net:/home/groups/m/ma/maven-taglib/htdocs/m2repo/net/sourceforge/maven-taglib/
|
||||||
TO=net/sourceforge/maven-taglib/
|
TO=net/sourceforge/maven-taglib/
|
||||||
|
|
||||||
source ./m2-sync.sh
|
|
|
@ -2,5 +2,3 @@
|
||||||
|
|
||||||
FROM=carlossg@shell.sourceforge.net:/home/groups/a/ac/acegisecurity/htdocs/repository/releases/org/acegisecurity/
|
FROM=carlossg@shell.sourceforge.net:/home/groups/a/ac/acegisecurity/htdocs/repository/releases/org/acegisecurity/
|
||||||
TO=org/acegisecurity/
|
TO=org/acegisecurity/
|
||||||
|
|
||||||
source ./m2-sync.sh
|
|
|
@ -2,5 +2,3 @@
|
||||||
|
|
||||||
FROM=jvanzyl@people.apache.org:/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/
|
FROM=jvanzyl@people.apache.org:/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/
|
||||||
TO=org/apache/
|
TO=org/apache/
|
||||||
|
|
||||||
source ./m2-sync.sh
|
|
|
@ -2,5 +2,3 @@
|
||||||
|
|
||||||
FROM=rsync@jetty.mortbay.org:maven2/release/org/mortbay/
|
FROM=rsync@jetty.mortbay.org:maven2/release/org/mortbay/
|
||||||
TO=org/mortbay/
|
TO=org/mortbay/
|
||||||
|
|
||||||
source ./m2-sync.sh
|
|
|
@ -2,5 +2,3 @@
|
||||||
|
|
||||||
FROM=maven@forge.objectweb.org:../../groups/maven/htdocs/maven2/org/objectweb/
|
FROM=maven@forge.objectweb.org:../../groups/maven/htdocs/maven2/org/objectweb/
|
||||||
TO=org/objectweb/
|
TO=org/objectweb/
|
||||||
|
|
||||||
source ./m2-sync.sh
|
|
|
@ -2,5 +2,3 @@
|
||||||
|
|
||||||
FROM=carlossg@shell.sourceforge.net:/home/groups/w/wi/wicket/htdocs/maven2/wicket/
|
FROM=carlossg@shell.sourceforge.net:/home/groups/w/wi/wicket/htdocs/maven2/wicket/
|
||||||
TO=wicket/
|
TO=wicket/
|
||||||
|
|
||||||
source ./m2-sync.sh
|
|
|
@ -20,19 +20,31 @@ else
|
||||||
RSYNC_OPTS="$RSYNC_OPTS -n"
|
RSYNC_OPTS="$RSYNC_OPTS -n"
|
||||||
fi
|
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 ]
|
FROM=
|
||||||
then
|
TO=
|
||||||
|
NO_SSH=
|
||||||
|
SSH_OPTS=
|
||||||
|
RSYNC_SSH=
|
||||||
|
|
||||||
|
source $f
|
||||||
|
|
||||||
|
if [ -z $NO_SSH ]
|
||||||
|
then
|
||||||
if [ -z $SSH_OPTS ]
|
if [ -z $SSH_OPTS ]
|
||||||
then
|
then
|
||||||
RSYNC_SSH="-e ssh"
|
RSYNC_SSH="-e ssh"
|
||||||
else
|
else
|
||||||
RSYNC_SSH="-e \"ssh $SSH_OPTS\""
|
RSYNC_SSH="-e \"ssh $SSH_OPTS\""
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Syncing $FROM -> $TO"
|
echo "Syncing $FROM -> $TO"
|
||||||
rsync --exclude-from=$HOME/components/maven-meeper/src/bin/syncopate/exclusions.txt $RSYNC_OPTS -Lcrtivz $RSYNC_SSH $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
|
Loading…
Reference in New Issue