Merge lp:~stylesen/lava-tool/add-dashboard-cmds into lp:~linaro-validation/lava-tool/trunk

Proposed by Senthil Kumaran S
Status: Merged
Merged at revision: 184
Proposed branch: lp:~stylesen/lava-tool/add-dashboard-cmds
Merge into: lp:~linaro-validation/lava-tool/trunk
Diff against target: 45 lines (+15/-2)
2 files modified
lava_dashboard_tool/commands.py (+1/-1)
setup.py (+14/-1)
To merge this branch: bzr merge lp:~stylesen/lava-tool/add-dashboard-cmds
Reviewer Review Type Date Requested Status
Antonio Terceiro Approve
Review via email: mp+162060@code.launchpad.net

Description of the change

Add lava-dashboard-tool commands to lava-tool.

To post a comment you must log in.
185. By Senthil Kumaran S

Fix bug #1175591 - lava-dashboard-tool bundles raises python exception.

Revision history for this message
Antonio Terceiro (terceiro) wrote :

LGTM

 review approve

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lava_dashboard_tool/commands.py'
2--- lava_dashboard_tool/commands.py 2013-04-22 17:33:58 +0000
3+++ lava_dashboard_tool/commands.py 2013-05-02 14:46:30 +0000
4@@ -610,7 +610,7 @@
5 row_formatter={
6 'is_deserialized': lambda x: "yes" if x else "no",
7 'uploaded_by': lambda x: x or "(anonymous)",
8- 'uploaded_on': lambda x: x.strftime("%Y-%m-%d %H:%M:%S")},
9+ 'uploaded_on': lambda x: x},
10 order=('content_sha1', 'content_filename', 'uploaded_by',
11 'uploaded_on', 'is_deserialized'),
12 empty="There are no bundles in this stream",
13
14=== modified file 'setup.py'
15--- setup.py 2013-04-30 18:43:30 +0000
16+++ setup.py 2013-05-02 14:46:30 +0000
17@@ -40,7 +40,7 @@
18 [lava.commands]
19 help = lava.tool.commands.help:help
20 scheduler = lava_scheduler_tool.commands:scheduler
21- dashboard=lava_dashboard_tool.commands:dashboard
22+ dashboard = lava_dashboard_tool.commands:dashboard
23 [lava_tool.commands]
24 help = lava.tool.commands.help:help
25 auth-add = lava_tool.commands.auth:auth_add
26@@ -48,6 +48,19 @@
27 resubmit-job = lava_scheduler_tool.commands:resubmit_job
28 cancel-job = lava_scheduler_tool.commands:cancel_job
29 job-output = lava_scheduler_tool.commands:job_output
30+ backup=lava_dashboard_tool.commands:backup
31+ bundles=lava_dashboard_tool.commands:bundles
32+ data_views=lava_dashboard_tool.commands:data_views
33+ deserialize=lava_dashboard_tool.commands:deserialize
34+ get=lava_dashboard_tool.commands:get
35+ make_stream=lava_dashboard_tool.commands:make_stream
36+ pull=lava_dashboard_tool.commands:pull
37+ put=lava_dashboard_tool.commands:put
38+ query_data_view=lava_dashboard_tool.commands:query_data_view
39+ restore=lava_dashboard_tool.commands:restore
40+ server_version=lava_dashboard_tool.commands:server_version
41+ streams=lava_dashboard_tool.commands:streams
42+ version=lava_dashboard_tool.commands:version
43 [lava.scheduler.commands]
44 submit-job = lava_scheduler_tool.commands:submit_job
45 resubmit-job = lava_scheduler_tool.commands:resubmit_job

Subscribers

People subscribed via source and target branches