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
|
#!/bin/sh
|
||||||
|
|
||||||
echo This script is very temporary. Please validate all input files in the apache repository before blindly copying them in.
|
FROM=jvanzyl@cvs.apache.org:/www/www.apache.org/dist/maven-repository/*
|
||||||
echo Ensure all artifacts have a valid POM, and are signed used PGP.
|
TO=.
|
||||||
echo This will be removed when the repository manager is in place.
|
|
||||||
|
|
||||||
OPTS=-n
|
./m2-sync.sh
|
||||||
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/* .
|
|
||||||
|
|
|
@ -1,15 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
echo This script is very temporary. Please validate all input files in the repository before blindly copying them in.
|
FROM=carlossg@shell.sourceforge.net:/home/groups/m/ma/maven-taglib/htdocs/m2repo/net/sourceforge/maven-taglib/*
|
||||||
echo Ensure all artifacts have a valid POM.
|
TO=net/sourceforge/maven-taglib/
|
||||||
echo This will be removed when the repository manager is in place.
|
|
||||||
|
|
||||||
OPTS=-n
|
./m2-sync.sh
|
||||||
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/
|
|
||||||
|
|
|
@ -1,16 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
echo This script is very temporary. Please validate all input files in the repository before blindly copying them in.
|
FROM=maven@forge.objectweb.org:../../groups/maven/htdocs/maven2/org/objectweb
|
||||||
echo Ensure all artifacts have a valid POM.
|
TO=org
|
||||||
echo This will be removed when the repository manager is in place.
|
|
||||||
|
|
||||||
OPTS=-n
|
./m2-sync.sh
|
||||||
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
|
|
||||||
|
|
Loading…
Reference in New Issue