From patchwork Sun Jun 26 09:15:39 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 2316 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 339CB2404C for ; Sun, 26 Jun 2011 09:15:47 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id F3622A18470 for ; Sun, 26 Jun 2011 09:15:46 +0000 (UTC) Received: by qwb8 with SMTP id 8so2875966qwb.11 for ; Sun, 26 Jun 2011 02:15:46 -0700 (PDT) Received: by 10.229.137.19 with SMTP id u19mr3682906qct.173.1309079746289; Sun, 26 Jun 2011 02:15:46 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.230.139 with SMTP id jm11cs25817qcb; Sun, 26 Jun 2011 02:15:45 -0700 (PDT) Received: by 10.216.173.14 with SMTP id u14mr1300256wel.38.1309079744387; Sun, 26 Jun 2011 02:15:44 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id s10si4771401weq.110.2011.06.26.02.15.43; Sun, 26 Jun 2011 02:15:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) client-ip=91.189.90.139; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) smtp.mail=bounces@canonical.com Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QalRN-0006cM-9l for ; Sun, 26 Jun 2011 09:15:41 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 4852F2E8911 for ; Sun, 26 Jun 2011 09:15:39 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dashboard X-Launchpad-Branch: ~linaro-validation/lava-dashboard/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 231 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dashboard/trunk] Rev 231: Use lava-dev-tool in setup-dev-env.sh Message-Id: <20110626091539.17606.85356.launchpad@loganberry.canonical.com> Date: Sun, 26 Jun 2011 09:15:39 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13265"; Instance="initZopeless config overlay" X-Launchpad-Hash: 7128727aa534a822ebe42d6d8d4c5dcc85979b80 ------------------------------------------------------------ revno: 231 committer: Zygmunt Krynicki branch nick: trunk timestamp: Sun 2011-06-26 11:13:57 +0200 message: Use lava-dev-tool in setup-dev-env.sh modified: setup-dev-env.sh --- lp:lava-dashboard https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk You are subscribed to branch lp:lava-dashboard. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk/+edit-subscription === modified file 'setup-dev-env.sh' --- setup-dev-env.sh 2011-06-06 09:29:08 +0000 +++ setup-dev-env.sh 2011-06-26 09:13:57 +0000 @@ -11,7 +11,7 @@ PORT=8000 fi fi -# Setup dashboard URL for lc-tool +# Setup dashboard URL for lava-dashboard-tool export DASHBOARD_URL=http://localhost:$PORT/dashboard # Find root directory ROOT="$(bzr root)" @@ -69,18 +69,18 @@ echo " * waiting for server to start up" sleep 5 echo " * creating bundle stream for example data" - lc-tool make-stream /anonymous/examples/ --name "Demo content loaded from examples/bundles" + lava-dashboard-tool make-stream /anonymous/examples/ --name "Demo content loaded from examples/bundles" for BUNDLE_PATHNAME in $ROOT/examples/bundles/*.json; do BUNDLE=$(basename $BUNDLE_PATHNAME .json) echo " * importing bundle: $BUNDLE" - lc-tool put $BUNDLE_PATHNAME >/dev/null + lava-dashboard-tool put $BUNDLE_PATHNAME >/dev/null done for BUNDLE_PATHNAME in $ROOT/examples/bundles/templates/*.json; do BUNDLE=$(basename $BUNDLE_PATHNAME .json) echo " * importing bundle template: $BUNDLE" for i in $(seq 1 20); do sed "$BUNDLE_PATHNAME" -e "s!@TEMPLATE@!$(printf %04d $i)!g" > "$i-$BUNDLE" - lc-tool put "$i-$BUNDLE" /anonymous/examples/ >/dev/null + lava-dashboard-tool put "$i-$BUNDLE" /anonymous/examples/ >/dev/null rm -f "$i-$BUNDLE" done done