Mercurial > hg > sonic-visualiser
annotate deploy/src/archive.sh @ 1480:f1e1745acc3b 3.0-integration
Make the colour 3d plot renderer able to support more than one level of peak cache; introduce a second "peak" cache for the spectrogram layer that actually has a 1-1 column relationship with the underlying FFT model, and use it in addition to the existing peak cache if memory is plentiful. Makes spectrograms appear much faster in many common situations.
author | Chris Cannam |
---|---|
date | Thu, 05 Jan 2017 14:02:54 +0000 |
parents | 0fd39f67a6ee |
children | bd14a0f69b60 |
rev | line source |
---|---|
Chris@654 | 1 #!/bin/bash |
Chris@654 | 2 |
Chris@1158 | 3 set -eu |
Chris@1158 | 4 |
Chris@654 | 5 tag=`hg tags | grep '^sv_v' | head -1 | awk '{ print $1; }'` |
Chris@654 | 6 |
Chris@1158 | 7 v=`echo "$tag" | sed 's/sv_v//' | sed 's/_.*$//'` |
Chris@654 | 8 |
Chris@1158 | 9 echo |
Chris@1158 | 10 echo -n "Packaging up version $v from tag $tag... " |
Chris@654 | 11 |
Chris@654 | 12 hg archive -r"$tag" --subrepos --exclude sv-dependency-builds /tmp/sonic-visualiser-"$v".tar.gz |
Chris@654 | 13 |
Chris@1158 | 14 echo Done |
Chris@1158 | 15 echo |
Chris@1158 | 16 |
Chris@1158 | 17 # Test that the appropriate version of the docs exist on the website |
Chris@1158 | 18 |
Chris@1158 | 19 doc_url="http://sonicvisualiser.org/doc/reference/$v/en/" |
Chris@1158 | 20 doc_status=$(curl -sL -w "%{http_code}" "$doc_url" -o /dev/null) |
Chris@1158 | 21 |
Chris@1158 | 22 if [ "$doc_status" = "404" ]; then |
Chris@1158 | 23 echo "*** WARNING: Documentation URL returns a 404:" |
Chris@1158 | 24 echo "*** $doc_url" |
Chris@1158 | 25 echo "*** Please fix this before release!" |
Chris@1158 | 26 echo |
Chris@1158 | 27 fi |