maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r700148 - in /maven/repository-tools/trunk/src/bin: cmd-for-rssh.sh synchronize-central-to-exist.sh synchronize.properties
Date Mon, 29 Sep 2008 15:10:17 GMT
Author: brett
Date: Mon Sep 29 08:10:16 2008
New Revision: 700148

URL: http://svn.apache.org/viewvc?rev=700148&view=rev
Log:
setting up public mirror at repo.exist.com - command set to dry run until ready to go

Added:
    maven/repository-tools/trunk/src/bin/cmd-for-rssh.sh   (with props)
    maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh   (with props)
Modified:
    maven/repository-tools/trunk/src/bin/synchronize.properties

Added: maven/repository-tools/trunk/src/bin/cmd-for-rssh.sh
URL: http://svn.apache.org/viewvc/maven/repository-tools/trunk/src/bin/cmd-for-rssh.sh?rev=700148&view=auto
==============================================================================
--- maven/repository-tools/trunk/src/bin/cmd-for-rssh.sh (added)
+++ maven/repository-tools/trunk/src/bin/cmd-for-rssh.sh Mon Sep 29 08:10:16 2008
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+ssh `echo $@ | sed 's/e\.//'`
+

Propchange: maven/repository-tools/trunk/src/bin/cmd-for-rssh.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/repository-tools/trunk/src/bin/cmd-for-rssh.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh
URL: http://svn.apache.org/viewvc/maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh?rev=700148&view=auto
==============================================================================
--- maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh (added)
+++ maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh Mon Sep 29 08:10:16
2008
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+[ "$1" = "" ] && echo && echo "You must pass in the synchronize.properties
file!" && echo && exit
+
+. $1
+
+echo ">>>>>>>>>>>>>>>>>> Syncing Maven
2.x repository to Exist"
+
+rsync -e cmd-for-rssh.sh --dry-run --delete --max-delete=10 -v -z -riplt $MAVEN2_REPO/ $EXIST_USERNAME@$EXIST_SYNC_HOST:$M2_EXIST_SYNC_DIR
+

Propchange: maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh
------------------------------------------------------------------------------
    svn:executable = *

Modified: maven/repository-tools/trunk/src/bin/synchronize.properties
URL: http://svn.apache.org/viewvc/maven/repository-tools/trunk/src/bin/synchronize.properties?rev=700148&r1=700147&r2=700148&view=diff
==============================================================================
--- maven/repository-tools/trunk/src/bin/synchronize.properties (original)
+++ maven/repository-tools/trunk/src/bin/synchronize.properties Mon Sep 29 08:10:16 2008
@@ -45,3 +45,8 @@
 export CICA_USERNAME=m-maven
 export CICA_SYNC_HOST=ftp.cica.es
 export M2_CICA_SYNC_DIR=/home/m-maven/maven2
+
+# exist.com
+export EXIST_USERNAME=ibiblio
+export EXIST_SYNC_HOST=boo.exist.com
+export M2_EXIST_SYNC_DIR=~/maven2



Mime
View raw message