mirror of https://github.com/apache/maven.git
Added delete and exclusions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326014 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8f20679d8d
commit
c2c5b3893f
|
@ -1,10 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
dest=/home/projects/maven/repository-staging/to-ibiblio
|
||||
|
||||
#date > $dest/maven/last-sync.txt
|
||||
#rsync -e ssh -v -rt $dest/maven login.ibiblio.org:/public/html/maven
|
||||
|
||||
date > $dest/maven2/last-sync.txt
|
||||
chmod a+r $dest/maven2/last-sync.txt
|
||||
rsync -e ssh -v -rtp $dest/maven2/ login.ibiblio.org:/public/html/maven2
|
|
@ -4,8 +4,8 @@ dest=/home/projects/maven/repository-staging/to-ibiblio
|
|||
|
||||
date > $dest/maven/last-sync.txt
|
||||
chmod a+r $dest/maven/last-sync.txt
|
||||
rsync -e ssh --exclude='*/distributions/*' -v -rplt $dest/maven/ login.ibiblio.org:/public/html/maven
|
||||
rsync -e ssh --delete --exclude-from=$dest/exclusions.txt -v -rplt $dest/maven/ login.ibiblio.org:/public/html/maven
|
||||
|
||||
date > $dest/maven2/last-sync.txt
|
||||
chmod a+r $dest/maven2/last-sync.txt
|
||||
rsync -e ssh --delete -v -rplt $dest/maven2/ login.ibiblio.org:/public/html/maven2
|
||||
rsync -e ssh --delete --exclude-from=$dest/exclusions.txt -v -rplt $dest/maven2/ login.ibiblio.org:/public/html/maven2
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[syncopate]
|
||||
repoDirectory=/home/projects/maven/repository-staging/to-ibiblio/maven
|
||||
options=--log-format="artifact %f %l %t" -rvl -L --size-only -q
|
||||
options=--log-format="artifact %f %l %t" -rvl -L --size-only -q --exclude-from=/home/projects/maven/repository-staging/to-ibiblio/exclusions.txt
|
||||
rsyncUser=rsync
|
||||
|
||||
reportUrl=http://repo1.maven.org/reports
|
||||
|
|
Loading…
Reference in New Issue