--- trunk/bin/checkout-js.sh 2008/12/09 22:50:07 787 +++ trunk/bin/checkout-js.sh 2008/12/13 11:05:30 828 @@ -1,12 +1,35 @@ 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 -test -d jquery-keyboard-navigation && cd jquery-keyboard-navigation && git pull || git clone git://github.com/BrianTheCoder/jquery-keyboard-navigation.git && 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 - +} + +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 clone git://github.com/nostrademons/jquery-combobox.git + +git_upstream git://github.com/nostrademons/jquery-combobox.git + +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 - +} + +hg_upstream http://hg.mozilla.org/users/bsmedberg_mozilla.com/wordmap