diff mbox

[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
State Accepted
Headers show

Commit Message

Senthil Kumaran May 3, 2013, 7:57 a.m. UTC
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 <senthil.kumaran@linaro.org>
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
diff mbox

Patch

=== 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