commit bfa5ab28e2d27499cdebcdc656751d0b555e1e37 Author: Mike Perry mikeperry-git@torproject.org Date: Mon Dec 2 17:24:31 2013 -0800
Pull git updates if we're not verifying tags.
The tags are likely branches in that case. --- gitian/fetch-inputs.sh | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/gitian/fetch-inputs.sh b/gitian/fetch-inputs.sh index 5831002..9f54f61 100755 --- a/gitian/fetch-inputs.sh +++ b/gitian/fetch-inputs.sh @@ -97,6 +97,13 @@ update_git() { if [ -n "$tag" ]; then (cd "$dir" && git checkout "$tag") fi + + # If we're not verifying tags, then some of the tags + # may actually be branch names that require an update + if [ $VERIFY_TAGS -eq 0 -a -n "$tag" ]; + then + (cd "$dir" && git pull || true ) + fi }
checkout_mingw() { @@ -246,14 +253,14 @@ cd inputs while read dir url tag; do update_git "$dir" "$url" "$tag" done << EOF -tbb-windows-installer https://github.com/moba/tbb-windows-installer.git -openssl https://github.com/nmathewson/openssl.git -zlib https://github.com/madler/zlib.git -libevent https://github.com/libevent/libevent.git -tor-launcher https://git.torproject.org/tor-launcher.git -tor https://git.torproject.org/tor.git -torbutton https://git.torproject.org/torbutton.git -https-everywhere https://git.torproject.org/https-everywhere.git +tbb-windows-installer https://github.com/moba/tbb-windows-installer.git $NSIS_TAG +openssl https://github.com/nmathewson/openssl.git $OPENSSL_TAG +zlib https://github.com/madler/zlib.git $ZLIB_TAG +libevent https://github.com/libevent/libevent.git $LIBEVENT_TAG +tor https://git.torproject.org/tor.git $TOR_TAG +https-everywhere https://git.torproject.org/https-everywhere.git $HTTPSE_TAG +torbutton https://git.torproject.org/torbutton.git $TORBUTTON_TAG +tor-launcher https://git.torproject.org/tor-launcher.git $TORLAUNCHER_TAG tor-browser https://git.torproject.org/tor-browser.git $TORBROWSER_TAG EOF
tor-commits@lists.torproject.org