--- trunk/bin/checkout-js.sh 2008/08/31 14:51:06 177 +++ trunk/bin/checkout-js.sh 2008/12/16 14:09:50 856 @@ -1,8 +1,50 @@ cd static/js || exit -svn co http://ext-ux-livegrid.googlecode.com/svn/trunk/ ext-ux-livegrid -wget -nc http://extjs.com/deploy/ext-2.1.zip -unzip -u ext*.zip + +function svn_upstream() { + url=$1 + dir=$2 + echo "** svn $url -> $dir" + test -d $dir/.svn && cd $dir && svn update || svn co $url $dir && cd - +} +function git_upstream() { + url=$1 + dir=`echo $1 | sed -e 's!^.*/\([^/]*\).git$!\1!'` + echo "** git $url -> $dir" + test -d $dir/.git && cd $dir && git pull || git clone $url && cd - +} + +function hg_upstream() { + url=$1 + dir=`echo $1 | sed -e 's!^.*/\([^/]*\)$!\1!'` + echo "** hg $url -> $dir" + test -d $dir/.hg && cd $dir && hg pull || hg clone $url && cd - +} + + +wget -nc http://extjs.com/deploy/ext-2.2.zip +unzip -u `ls -c ext*.zip | head -1` + wget -nc http://ondras.zarovi.cz/sql/sql-2.1.1.zip unzip -u sql*.zip -svn checkout http://inputex.googlecode.com/svn/trunk/ inputex -git clone git://github.com/BrianTheCoder/jquery-keyboard-navigation.git + +# YUI + +svn_upstream http://inputex.googlecode.com/svn/trunk/ inputex +svn_upstream http://wireit.googlecode.com/svn/trunk/ wireit + +# jquery based + +svn_upstream http://ext-ux-livegrid.googlecode.com/svn/trunk/ ext-ux-livegrid + +git_upstream git://github.com/BrianTheCoder/jquery-keyboard-navigation.git + +git_upstream git://github.com/nostrademons/jquery-combobox.git + +# graphics + +wget -nc http://blog.thejit.org/wp-content/jit.zip +unzip -u `ls -c jit*.zip | head -1` + +hg_upstream http://hg.mozilla.org/users/bsmedberg_mozilla.com/wordmap + +svn_upstream http://flot.googlecode.com/svn/trunk/ flot