2 # Pull in a new snapshot of external projects that are included in
3 # our source tree for users that don't have them installed on their system
5 # Third party directory
6 THIRD_PARTY_DIR
="`dirname $0`/../third_party"
7 # Library directory where projects live that haven't been migrated to
8 # $THIRD_PARTY_DIR yet.
12 echo "Updating subunit..."
13 git clone git
://github.com
/testing-cabal
/subunit
"$WORKDIR/subunit"
14 rm -rf "$WORKDIR/subunit/.git"
15 # Preserve wscript file
16 cp "$LIBDIR/subunit/c/wscript" "$WORKDIR/subunit/c/wscript"
17 rsync
-avz --delete "$WORKDIR/subunit/" "$LIBDIR/subunit/"
19 echo "Updating testtools..."
20 git clone git
://github.com
/testing-cabal
/testtools
"$WORKDIR/testtools"
21 rm -rf "$WORKDIR/testtools/.git"
22 rsync
-avz --delete "$WORKDIR/testtools/" "$LIBDIR/testtools/"
24 echo "Updating dnspython..."
25 git clone git
://www.dnspython.org
/dnspython.git
"$WORKDIR/dnspython"
26 rm -rf "$WORKDIR/dnspython/.git"
27 rsync
-avz --delete "$WORKDIR/dnspython/" "$LIBDIR/dnspython/"
29 echo "Updating pep8..."
30 git clone git
://github.com
/jcrocholl
/pep8
"$WORKDIR/pep8"
31 rm -rf "$WORKDIR/pep8/.git"
32 rsync
-avz --delete "$WORKDIR/pep8/" "$LIBDIR/pep8/"
34 echo "Updating zlib..."
35 git clone git
://github.com
/madler
/zlib
"$WORKDIR/zlib"
36 rm -rf "$WORKDIR/zlib/.git"
37 rsync
--exclude=wscript
-avz --delete "$WORKDIR/zlib/" "$THIRD_PARTY_DIR/zlib/"
39 echo "Updating extra..."
40 git clone git
://github.com
/testing-cabal
/extras
"$WORKDIR/extras"
41 rm -rf "$WORKDIR/extras/.git"
42 rsync
-avz --delete "$WORKDIR/extras/" "$LIBDIR/extras/"
44 echo "Updating extra..."
45 git clone git
://github.com
/testing-cabal
/extras
"$WORKDIR/extras"
46 rm -rf "$WORKDIR/extras/.git"
47 rsync
-avz --delete "$WORKDIR/extras/" "$LIBDIR/extras/"
49 echo "Updating mimeparse..."
50 svn co http
://mimeparse.googlecode.com
/svn
/trunk
/ "$WORKDIR/mimeparse"
51 rm -rf "$WORKDIR/mimeparse/.svn"
52 rsync
-avz --delete "$WORKDIR/mimeparse/" "$LIBDIR/mimeparse/"