]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
coverage: Fetch source from github.
authorTommi Virtanen <tommi.virtanen@dreamhost.com>
Fri, 16 Sep 2011 18:08:38 +0000 (11:08 -0700)
committerTommi Virtanen <tommi.virtanen@dreamhost.com>
Fri, 16 Sep 2011 18:08:38 +0000 (11:08 -0700)
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
coverage/cov-init.sh

index 5be67067d347fda777a7bfe49a7dbc19dd65bf78..6b59ff5d78509ea7e1673cab7a8671960a8082d4 100755 (executable)
@@ -18,7 +18,7 @@ SHA1=`cat $TEST_DIR/ceph-sha1`
 mkdir -p $OUTPUT_DIR/ceph
 
 echo "Retrieving source and .gcno files..."
-git archive --format tar --remote git://ceph.newdream.net/git/ceph.git $SHA1 | tar xf - -C $OUTPUT_DIR/ceph
+wget -q -O- "https://github.com/NewDreamNetwork/ceph/tarball/$SHA1" | tar xzf - --strip-components=1 -C $OUTPUT_DIR/ceph
 wget "http://gitbuilder-gcov-amd64.ceph.newdream.net/output/sha1/$SHA1/ceph.x86_64.tgz" -P $OUTPUT_DIR
 tar zxf $OUTPUT_DIR/ceph.x86_64.tgz -C $OUTPUT_DIR
 cp $OUTPUT_DIR/usr/local/lib/ceph/coverage/*.gcno $OUTPUT_DIR/ceph/src