From patchwork Fri May 3 07:57:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Senthil Kumaran X-Patchwork-Id: 16613 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-bk0-f70.google.com (mail-bk0-f70.google.com [209.85.214.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1FACB23905 for ; Fri, 3 May 2013 07:57:31 +0000 (UTC) Received: by mail-bk0-f70.google.com with SMTP id j4sf1882893bkw.1 for ; Fri, 03 May 2013 00:57:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-beenthere:x-received:received-spf:x-received :x-forwarded-to:x-forwarded-for:delivered-to:x-received:received-spf :mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state:x-original-sender :x-original-authentication-results:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=XDSFBzTSVB/QLTZrGMakwzyYhDQNKhe+Z+I9HH6BEgs=; b=RoNgN6yz/XGsN9DSuf3OUyB5qtjcP0kBBa72TQvqkHR+dSOBIm7rdR9ZaYtg+gWnM/ 1BF6VCazZD6s0CZdF87SY2xflUW0qUyhQON2W92VajlAm1M43WoLCZdv/y9vONT/0lPR qvt+OGRszGuJcG6IuFvjQRBC9ogZXWKITu4VCs4C0qzV1x/JdO7G7xgt0nLIZMuXKrn+ Q1nhxW7Hg0M+Ba/1zhwNlz+wfBnJgGPfWDVc3rlDxYBCbNV3XFbXzLD/oeS1M0vPwgQa fjzB9wY1EMFC9gvgmEWAPo2b330zIMr/b1ne4GHjj5W4Qd5gWZXeWTWv3Rvoopv39V/l tekg== X-Received: by 10.180.106.161 with SMTP id gv1mr11461276wib.4.1367567841070; Fri, 03 May 2013 00:57:21 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.87.36 with SMTP id u4ls95268wiz.19.gmail; Fri, 03 May 2013 00:57:20 -0700 (PDT) X-Received: by 10.194.143.50 with SMTP id sb18mr12016683wjb.44.1367567840925; Fri, 03 May 2013 00:57:20 -0700 (PDT) Received: from mail-ve0-x22d.google.com (mail-ve0-x22d.google.com [2607:f8b0:400c:c01::22d]) by mx.google.com with ESMTPS id ep6si670376wid.127.2013.05.03.00.57.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 00:57:20 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22d is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::22d; Received: by mail-ve0-f173.google.com with SMTP id ox1so1286738veb.32 for ; Fri, 03 May 2013 00:57:19 -0700 (PDT) X-Received: by 10.220.169.78 with SMTP id x14mr3331733vcy.41.1367567839758; Fri, 03 May 2013 00:57:19 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp10469veb; Fri, 3 May 2013 00:57:19 -0700 (PDT) X-Received: by 10.180.21.193 with SMTP id x1mr11542869wie.31.1367567838446; Fri, 03 May 2013 00:57:18 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id b13si1312026wik.32.2013.05.03.00.57.17 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 03 May 2013 00:57:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1UYArl-0002TS-Gj for ; Fri, 03 May 2013 07:57:17 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 6DED8E0122 for ; Fri, 3 May 2013 07:57:17 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-tool X-Launchpad-Branch: ~linaro-validation/lava-tool/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 184 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-tool/trunk] Rev 184: Add lava-dashboard-tool commands to lava-tool. Message-Id: <20130503075717.32767.4691.launchpad@ackee.canonical.com> Date: Fri, 03 May 2013 07:57:17 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16598"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 732fff1390af97677933aedb56d65e3ce03afb05 X-Gm-Message-State: ALoCoQnnmqbIhmIp9HOR/JpTgQp5iVmOpIwqO7NOldJeu8fcig7n2ZQ8xndQRZUbe1ZIsXlRMOb4 X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22d is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Merge authors: Senthil Kumaran S (stylesen) Related merge proposals: https://code.launchpad.net/~stylesen/lava-tool/add-dashboard-cmds/+merge/162060 proposed by: Senthil Kumaran S (stylesen) review: Approve - Antonio Terceiro (terceiro) ------------------------------------------------------------ revno: 184 [merge] committer: Senthil Kumaran branch nick: trunk timestamp: Fri 2013-05-03 13:26:27 +0530 message: Add lava-dashboard-tool commands to lava-tool. modified: lava_dashboard_tool/commands.py setup.py --- lp:lava-tool https://code.launchpad.net/~linaro-validation/lava-tool/trunk You are subscribed to branch lp:lava-tool. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-tool/trunk/+edit-subscription === modified file 'lava_dashboard_tool/commands.py' --- lava_dashboard_tool/commands.py 2013-04-22 17:33:58 +0000 +++ lava_dashboard_tool/commands.py 2013-05-02 14:43:20 +0000 @@ -610,7 +610,7 @@ row_formatter={ 'is_deserialized': lambda x: "yes" if x else "no", 'uploaded_by': lambda x: x or "(anonymous)", - 'uploaded_on': lambda x: x.strftime("%Y-%m-%d %H:%M:%S")}, + 'uploaded_on': lambda x: x}, order=('content_sha1', 'content_filename', 'uploaded_by', 'uploaded_on', 'is_deserialized'), empty="There are no bundles in this stream", === modified file 'setup.py' --- setup.py 2013-04-30 18:43:30 +0000 +++ setup.py 2013-05-02 09:22:04 +0000 @@ -40,7 +40,7 @@ [lava.commands] help = lava.tool.commands.help:help scheduler = lava_scheduler_tool.commands:scheduler - dashboard=lava_dashboard_tool.commands:dashboard + dashboard = lava_dashboard_tool.commands:dashboard [lava_tool.commands] help = lava.tool.commands.help:help auth-add = lava_tool.commands.auth:auth_add @@ -48,6 +48,19 @@ resubmit-job = lava_scheduler_tool.commands:resubmit_job cancel-job = lava_scheduler_tool.commands:cancel_job job-output = lava_scheduler_tool.commands:job_output + backup=lava_dashboard_tool.commands:backup + bundles=lava_dashboard_tool.commands:bundles + data_views=lava_dashboard_tool.commands:data_views + deserialize=lava_dashboard_tool.commands:deserialize + get=lava_dashboard_tool.commands:get + make_stream=lava_dashboard_tool.commands:make_stream + pull=lava_dashboard_tool.commands:pull + put=lava_dashboard_tool.commands:put + query_data_view=lava_dashboard_tool.commands:query_data_view + restore=lava_dashboard_tool.commands:restore + server_version=lava_dashboard_tool.commands:server_version + streams=lava_dashboard_tool.commands:streams + version=lava_dashboard_tool.commands:version [lava.scheduler.commands] submit-job = lava_scheduler_tool.commands:submit_job resubmit-job = lava_scheduler_tool.commands:resubmit_job