{"action":"created","issue":{"url":"https://api.github.com/repos/ARM-software/workload-automation/issues/610","repository_url":"https://api.github.com/repos/ARM-software/workload-automation","labels_url":"https://api.github.com/repos/ARM-software/workload-automation/issues/610/labels{/name}","comments_url":"https://api.github.com/repos/ARM-software/workload-automation/issues/610/comments","events_url":"https://api.github.com/repos/ARM-software/workload-automation/issues/610/events","html_url":"https://github.com/ARM-software/workload-automation/issues/610","id":295108199,"number":610,"title":"Add \"process\" command","user":{"login":"marcbonnici","id":22317974,"avatar_url":"https://avatars0.githubusercontent.com/u/22317974?v=4","gravatar_id":"","url":"https://api.github.com/users/marcbonnici","html_url":"https://github.com/marcbonnici","followers_url":"https://api.github.com/users/marcbonnici/followers","following_url":"https://api.github.com/users/marcbonnici/following{/other_user}","gists_url":"https://api.github.com/users/marcbonnici/gists{/gist_id}","starred_url":"https://api.github.com/users/marcbonnici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcbonnici/subscriptions","organizations_url":"https://api.github.com/users/marcbonnici/orgs","repos_url":"https://api.github.com/users/marcbonnici/repos","events_url":"https://api.github.com/users/marcbonnici/events{/privacy}","received_events_url":"https://api.github.com/users/marcbonnici/received_events","type":"User","site_admin":false},"labels":[{"id":829886234,"url":"https://api.github.com/repos/ARM-software/workload-automation/labels/version_3","name":"version_3","color":"fc92b2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ARM-software/workload-automation/milestones/1","html_url":"https://github.com/ARM-software/workload-automation/milestone/1","labels_url":"https://api.github.com/repos/ARM-software/workload-automation/milestones/1/labels","id":3096367,"number":1,"title":"rel 3.0/2.7","description":"First version 3 release. Includes a major refactoring of the framework, re-implementation of functionality on top of `devlib`, more powerful configuration, and support for ChromeOS and the more recent Android versions.","creator":{"login":"setrofim","id":904685,"avatar_url":"https://avatars0.githubusercontent.com/u/904685?v=4","gravatar_id":"","url":"https://api.github.com/users/setrofim","html_url":"https://github.com/setrofim","followers_url":"https://api.github.com/users/setrofim/followers","following_url":"https://api.github.com/users/setrofim/following{/other_user}","gists_url":"https://api.github.com/users/setrofim/gists{/gist_id}","starred_url":"https://api.github.com/users/setrofim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/setrofim/subscriptions","organizations_url":"https://api.github.com/users/setrofim/orgs","repos_url":"https://api.github.com/users/setrofim/repos","events_url":"https://api.github.com/users/setrofim/events{/privacy}","received_events_url":"https://api.github.com/users/setrofim/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":6,"state":"open","created_at":"2018-02-07T11:03:09Z","updated_at":"2018-03-15T17:52:17Z","due_on":"2018-04-02T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-02-07T11:48:01Z","updated_at":"2018-03-16T10:41:23Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Enable output processors to be easily run offline."},"comment":{"url":"https://api.github.com/repos/ARM-software/workload-automation/issues/comments/373674811","html_url":"https://github.com/ARM-software/workload-automation/issues/610#issuecomment-373674811","issue_url":"https://api.github.com/repos/ARM-software/workload-automation/issues/610","id":373674811,"user":{"login":"setrofim","id":904685,"avatar_url":"https://avatars0.githubusercontent.com/u/904685?v=4","gravatar_id":"","url":"https://api.github.com/users/setrofim","html_url":"https://github.com/setrofim","followers_url":"https://api.github.com/users/setrofim/followers","following_url":"https://api.github.com/users/setrofim/following{/other_user}","gists_url":"https://api.github.com/users/setrofim/gists{/gist_id}","starred_url":"https://api.github.com/users/setrofim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/setrofim/subscriptions","organizations_url":"https://api.github.com/users/setrofim/orgs","repos_url":"https://api.github.com/users/setrofim/repos","events_url":"https://api.github.com/users/setrofim/events{/privacy}","received_events_url":"https://api.github.com/users/setrofim/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T10:41:23Z","updated_at":"2018-03-16T10:41:23Z","author_association":"CONTRIBUTOR","body":"> I'm new to python but would like to have a go at completing this.\r\n\r\nSure, this should be relatively straight-forward, and is a good first task to tackle.\r\n\r\n>  this would be a new command to perform the process part of the run command independently and without access to the device.\r\n\r\nCorrect.  `OutputProcessor`'s  do not assume assume the presence of a target connection, and instead rely on results and metadata collected by other parts of the framework. So it should be possible to run then \"offline\", it's the just the case of implementing a command to do that.\r\n\r\nIn the past, I've needed to run the `csv` processor on existing results so I've written a short script to do \r\nthat:\r\n\r\nhttps://pastebin.com/EcwxPjkQ\r\n\r\nThe command implementation would be a generalisation of that, so it might serve as a good starting point for your implementation.\r\n\r\nI would also recommend skimming through this:\r\n\r\nhttp://mabonnici-wlauto-doc-test.readthedocs.io/en/documentation_a/developer_guide.html\r\n\r\nThis is currently a work-in-progress and needs polishing in places, but will provide a general overview of how WA framework works.\r\n\r\n>  Would the run command also want an optional argument adding to allow it to stop before the processing step?\r\n\r\nNo, this is not necessary. If processing is not desirable during a run,  one would simply disable the processor in the agenda."}}
{"actor":{"display_login":"setrofim"}}