mirror of https://github.com/apache/maven.git
Avoid duplication in scripts
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@376891 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2aa65d1490
commit
a7fe486fe8
|
@ -0,0 +1,18 @@
|
|||
#!/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=
|
||||
else
|
||||
echo Not syncing
|
||||
fi
|
||||
|
||||
cd $HOME/repository-staging/to-ibiblio/maven2
|
||||
CMD="rsync --exclude="README.txt" -e ssh $OPTS -avz $FROM $TO"
|
||||
echo Syncing $FROM -> $TO
|
||||
$CMD
|
|
@ -1,15 +1,6 @@
|
|||
#!/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.
|
||||
FROM=jvanzyl@cvs.apache.org:/www/www.apache.org/dist/maven-repository/*
|
||||
TO=.
|
||||
|
||||
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/* .
|
||||
./m2-sync.sh
|
||||
|
|
|
@ -1,15 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo This script is very temporary. Please validate all input files in the repository before blindly copying them in.
|
||||
echo Ensure all artifacts have a valid POM.
|
||||
echo This will be removed when the repository manager is in place.
|
||||
FROM=carlossg@shell.sourceforge.net:/home/groups/m/ma/maven-taglib/htdocs/m2repo/net/sourceforge/maven-taglib/*
|
||||
TO=net/sourceforge/maven-taglib/
|
||||
|
||||
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 carlossg@shell.sourceforge.net:/home/groups/m/ma/maven-taglib/htdocs/m2repo/net/sourceforge/maven-taglib/* net/sourceforge/maven-taglib/
|
||||
rsync --exclude="README.txt" -e ssh $OPTS -avz carlossg@shell.sourceforge.net:/home/groups/m/ma/maven-taglib/htdocs/m2repo/net/sourceforge/maven-taglib/* net/sourceforge/maven-taglib/
|
||||
./m2-sync.sh
|
||||
|
|
|
@ -1,16 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo This script is very temporary. Please validate all input files in the repository before blindly copying them in.
|
||||
echo Ensure all artifacts have a valid POM.
|
||||
echo This will be removed when the repository manager is in place.
|
||||
FROM=maven@forge.objectweb.org:../../groups/maven/htdocs/maven2/org/objectweb
|
||||
TO=org
|
||||
|
||||
OPTS=-n
|
||||
if [ "$1" == "go" ]; then
|
||||
echo Doing sync for real
|
||||
OPTS=
|
||||
fi
|
||||
|
||||
cd $HOME/repository-staging/to-ibiblio/maven2
|
||||
CMD="rsync --exclude="README.txt" -e ssh $OPTS -avz maven@forge.objectweb.org:../../groups/maven/htdocs/maven2/org/objectweb org"
|
||||
echo $CMD
|
||||
$CMD
|
||||
./m2-sync.sh
|
||||
|
|
Loading…
Reference in New Issue