Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-402

lsstsw/bin/rebuild is too verbose for logs destined for real-time web display ala buildbot

    XMLWordPrintable

    Details

    • 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

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            mjuric Mario Juric
            Reporter:
            robyn Robyn Allsman [X] (Inactive)
            Watchers:
            Robyn Allsman [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: