Details
-
Type:
Improvement
-
Status: Won't Fix
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: Continuous Integration
-
Labels:
-
Team:SQuaRE
Description
The elapsed-time meter on curl operations is extremely user-unfriendly on the larger packages (e.g. afwdata). During testing of DM-271, the following was successfully used in lsstsw/bin/deploy but not permanently installed:
diff --git a/bin/deploy b/bin/deploy |
index 8729ad2..762f3d7 100755
|
--- a/bin/deploy |
+++ b/bin/deploy |
@@ -15,10 +15,13 @@ export PATH="$LSSTSW/anaconda/bin:$PATH" |
export PATH="$LSSTSW/lfs/bin:$PATH" |
export PATH="$LSSTSW/bin:$PATH" |
+unset ELAPSED_METER |
+test -t 2 && ELAPSED_METER="-#" |
+
|
test -f "$LSSTSW/anaconda/.deployed" || ( # Anaconda |
echo "::: Deploying Anaconda" |
cd sources |
- curl -# -L -O http://repo.continuum.io/archive/Anaconda-1.8.0-Linux-x86_64.sh |
+ curl $ELAPSED_METER -L -O http://repo.continuum.io/archive/Anaconda-1.8.0-Linux-x86_64.sh |
bash Anaconda-1.8.0-Linux-x86_64.sh -b -p "$LSSTSW/anaconda" |
touch "$LSSTSW/anaconda/.deployed" |
)
|
@@ -26,8 +29,8 @@ test -f "$LSSTSW/anaconda/.deployed" || ( # Anaconda |
test -f "$LSSTSW/lfs/.git.deployed" || ( # git |
echo "::: Deploying git" |
cd sources |
- curl -# -L -O https://git-core.googlecode.com/files/git-1.9.0.tar.gz |
- curl -# -L -O https://git-core.googlecode.com/files/git-manpages-1.9.0.tar.gz |
+ curl $ELAPSED_METER -L -O https://git-core.googlecode.com/files/git-1.9.0.tar.gz |
+ curl $ELAPSED_METER -L -O https://git-core.googlecode.com/files/git-manpages-1.9.0.tar.gz |
tar xzf git-1.9.0.tar.gz |