{"action":"created","issue":{"url":"https://api.github.com/repos/01org/ciao/issues/1254","repository_url":"https://api.github.com/repos/01org/ciao","labels_url":"https://api.github.com/repos/01org/ciao/issues/1254/labels{/name}","comments_url":"https://api.github.com/repos/01org/ciao/issues/1254/comments","events_url":"https://api.github.com/repos/01org/ciao/issues/1254/events","html_url":"https://github.com/01org/ciao/pull/1254","id":218513260,"number":1254,"title":"Templateutils: Separate template utility code into a separate package","user":{"login":"markdryan","id":984073,"avatar_url":"https://avatars0.githubusercontent.com/u/984073?v=3","gravatar_id":"","url":"https://api.github.com/users/markdryan","html_url":"https://github.com/markdryan","followers_url":"https://api.github.com/users/markdryan/followers","following_url":"https://api.github.com/users/markdryan/following{/other_user}","gists_url":"https://api.github.com/users/markdryan/gists{/gist_id}","starred_url":"https://api.github.com/users/markdryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markdryan/subscriptions","organizations_url":"https://api.github.com/users/markdryan/orgs","repos_url":"https://api.github.com/users/markdryan/repos","events_url":"https://api.github.com/users/markdryan/events{/privacy}","received_events_url":"https://api.github.com/users/markdryan/received_events","type":"User","site_admin":false},"labels":[{"id":387369784,"url":"https://api.github.com/repos/01org/ciao/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-03-31T14:08:34Z","updated_at":"2017-04-03T17:57:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/01org/ciao/pulls/1254","html_url":"https://github.com/01org/ciao/pull/1254","diff_url":"https://github.com/01org/ciao/pull/1254.diff","patch_url":"https://github.com/01org/ciao/pull/1254.patch"},"body":"This PR moves the template code in ciao-cli into a separate package called templateutils.  The old template code has been enhanced by:\r\n\r\n1. Some documentation\r\n2. More unit tests.\r\n3. Some new functions, e.g., table, sort, cols, head, rows, tail.\r\n4. The ability to select which functions to make available to script writers.\r\n5. The ability to add your own functions.\r\n\r\nHere's an example of some of the new functions in action\r\n\r\n```\r\nciao-cli workload list -f '{{table (cols . \"ID\" \"Name\" \"RAM\" \"Vcpus\")}}'\r\nID                                   Name                         RAM     Vcpus   \r\nb1650b0a-2813-4382-b08f-f9b45713ae13 Fedora test VM               128     2       \r\n528c7f8d-c87e-4b55-8aae-b292c0213cfa Clear Linux test VM          128     2       \r\ne56801a4-a6e5-4d9b-bdf7-4d0ebb389067 Ubuntu latest test container 128     2       \r\n28cc2f7d-7371-4c81-912b-245877b186f2 Debian latest test container 128     2       \r\n```"},"comment":{"url":"https://api.github.com/repos/01org/ciao/issues/comments/291222314","html_url":"https://github.com/01org/ciao/pull/1254#issuecomment-291222314","issue_url":"https://api.github.com/repos/01org/ciao/issues/1254","id":291222314,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars2.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2017-04-03T17:57:55Z","updated_at":"2017-04-03T17:57:55Z","body":"\n[![Coverage Status](https://coveralls.io/builds/10907251/badge)](https://coveralls.io/builds/10907251)\n\nCoverage increased (+0.3%) to 66.021% when pulling **6782174fcf5663dc075ef7eb952d81207111381a on markdryan:templateutils** into **15cef664197b1e82c2dcf6bc22f0ab9bc174edb7 on 01org:master**.\n"}}
{"actor":{"display_login":"coveralls"}}