You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ps...@apache.org on 2007/04/23 07:15:43 UTC

svn commit: r531337 - /jakarta/commons/proper/commons-nightly/trunk/get_files.sh

Author: psteitz
Date: Sun Apr 22 22:15:42 2007
New Revision: 531337

URL: http://svn.apache.org/viewvc?view=rev&rev=531337
Log:
Initial commit.

Added:
    jakarta/commons/proper/commons-nightly/trunk/get_files.sh   (with props)

Added: jakarta/commons/proper/commons-nightly/trunk/get_files.sh
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-nightly/trunk/get_files.sh?view=auto&rev=531337
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/get_files.sh (added)
+++ jakarta/commons/proper/commons-nightly/trunk/get_files.sh Sun Apr 22 22:15:42 2007
@@ -0,0 +1,27 @@
+#!/bin/sh
+#
+# Pulls recent commons nightly build artifacts from vmbuild.
+# Currently only grabs distros (no jars for maven repos).
+# 
+#
+cd $HOME
+
+# Get list of recent builds generated by commons_nightly.sh on vmbuild
+wget http://vmbuild.apache.org/~commons/nightly/new_dist_files.txt
+
+# Loop over files, munging names to wget and move into place
+file_list="new_dist_files.txt"
+files=`<$file_list`
+for file in $files
+do
+  # Get the file, creating vmbuild.apache.org dir structure under $HOME
+  url=${file/\/home\/commons\/public_html\/nightly\/\//http:\/\/vmbuild.apache.org\/~commons\/nightly/}
+  wget -x -w 2 $url
+
+  # Move the file to people web space
+  source=${file/\/home\/commons\/public_html\/nightly\/\//vmbuild.apache.org/~commons/nightly/}
+  source_path=`dirname $source`
+  dest_path=${source_path/vmbuild.apache.org\/~commons\/nightly\//\/www\/people.apache.org\/builds\/jakarta-commons\/nightly/}
+  mkdir -p $dest_path
+  mv $source $dest_path
+done

Propchange: jakarta/commons/proper/commons-nightly/trunk/get_files.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: jakarta/commons/proper/commons-nightly/trunk/get_files.sh
------------------------------------------------------------------------------
    svn:executable = *



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org