--- trunk/bin/checkout-js.sh 2008/12/13 11:05:30 828 +++ trunk/bin/checkout-js.sh 2008/12/16 14:09:50 856 @@ -1,16 +1,11 @@ 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.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 -svn checkout http://wireit.googlecode.com/svn/trunk/ wireit - +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!'` @@ -18,13 +13,6 @@ test -d $dir/.git && cd $dir && git pull || git clone $url && cd - } -git_upstream git://github.com/BrianTheCoder/jquery-keyboard-navigation.git - -wget -nc http://blog.thejit.org/wp-content/jit.zip -unzip -u `ls -c jit*.zip | head -1` - -git_upstream git://github.com/nostrademons/jquery-combobox.git - function hg_upstream() { url=$1 dir=`echo $1 | sed -e 's!^.*/\([^/]*\)$!\1!'` @@ -32,4 +20,31 @@ 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 + +# 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