summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamon Fernandez <ramon@mongodb.com>2016-08-24 18:24:30 -0400
committerRamon Fernandez <ramon@mongodb.com>2016-08-24 18:26:31 -0400
commita9e16fe69c97f2d32e5dbb98d1086fd906ef1d35 (patch)
tree38a1583eb2f0295444f300fc2e7a7ef05062f8bd
parentd57ef6a0c5a41729977f8d535a4c8de6d0cff8ba (diff)
downloadmongo-a9e16fe69c97f2d32e5dbb98d1086fd906ef1d35.tar.gz
SERVER-25786 remove buildscripts/update-vendor-wiredtiger
(cherry picked from commit 73ccc56a58ed5a8253e5859e4f528c7dad451831)
-rwxr-xr-xbuildscripts/update-vendor-wiredtiger55
1 files changed, 0 insertions, 55 deletions
diff --git a/buildscripts/update-vendor-wiredtiger b/buildscripts/update-vendor-wiredtiger
deleted file mode 100755
index e4fbf9ce64e..00000000000
--- a/buildscripts/update-vendor-wiredtiger
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/sh
-#
-# Updates src/third_party/wiredtiger contents
-# from github.com/wiredtiger/wiredtiger branch "develop"
-#
-
-set -o errexit
-
-REMOTEBRANCH="mongodb-3.0"
-LOCALBRANCH=$(git symbolic-ref HEAD)
-
-# Ensure working directory is TOPLEVEL/src/third_party
-STARTPWD=$(pwd)
-TOPLEVEL=$(git rev-parse --show-toplevel)
-cd ${TOPLEVEL}/src/third_party
-
-# Begin tracing commands
-set -o xtrace
-
-# Write file according to "Content-Disposition: attachment" header. Example:
-# Content-Disposition: attachment; filename=wiredtiger-wiredtiger-2.4.0-109-ge5aec44.tar.gz
-
-rm -f wiredtiger-wiredtiger-*.tar.gz
-curl -OJL https://api.github.com/repos/wiredtiger/wiredtiger/tarball/${REMOTEBRANCH}
-
-TARBALL=$(echo wiredtiger-wiredtiger-*.tar.gz)
-test -f "$TARBALL"
-
-# Delete everything in wiredtiger dir, then selectively undelete
-
-mkdir -p wiredtiger
-(cd wiredtiger;
- rm -rf *;
- git checkout -- .gitignore 'SCons*';
- git checkout -- 'build_*/wiredtiger_config.h')
-
-# Tar options:
-# - Exclude subdirs "api", "test", "src/docs"
-# - Strip 'wiredtiger-wiredtiger-e5aec44/' prefix after exclude applied
-# - Change to dir "wiredtiger" before extracting
-
-tar -x --strip-components 1 \
- --exclude '*/api' --exclude '*/dist/package' --exclude '*/examples' \
- --exclude '*/src/docs' --exclude '*/test' \
- --exclude '*/tools/wtperf_stats' \
- --exclude '*/tools/wtstats/template' \
- -C wiredtiger -f ${TARBALL}
-
-git add wiredtiger
-git commit -m "Import ${TARBALL} from wiredtiger branch ${REMOTEBRANCH}"
-git log -n 1
-
-set -o errexit
-cd $STARTPWD
-echo "Done applying $TARBALL to $LOCALBRANCH"