{"action":"created","issue":{"url":"https://api.github.com/repos/quattor/ncm-query/issues/6","labels_url":"https://api.github.com/repos/quattor/ncm-query/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/quattor/ncm-query/issues/6/comments","events_url":"https://api.github.com/repos/quattor/ncm-query/issues/6/events","html_url":"https://github.com/quattor/ncm-query/issues/6","id":52085829,"number":6,"title":"ncm-query to support different output formats","user":{"login":"msmark","id":5436152,"avatar_url":"https://avatars.githubusercontent.com/u/5436152?v=3","gravatar_id":"","url":"https://api.github.com/users/msmark","html_url":"https://github.com/msmark","followers_url":"https://api.github.com/users/msmark/followers","following_url":"https://api.github.com/users/msmark/following{/other_user}","gists_url":"https://api.github.com/users/msmark/gists{/gist_id}","starred_url":"https://api.github.com/users/msmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msmark/subscriptions","organizations_url":"https://api.github.com/users/msmark/orgs","repos_url":"https://api.github.com/users/msmark/repos","events_url":"https://api.github.com/users/msmark/events{/privacy}","received_events_url":"https://api.github.com/users/msmark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"stdweird","id":1517606,"avatar_url":"https://avatars.githubusercontent.com/u/1517606?v=3","gravatar_id":"","url":"https://api.github.com/users/stdweird","html_url":"https://github.com/stdweird","followers_url":"https://api.github.com/users/stdweird/followers","following_url":"https://api.github.com/users/stdweird/following{/other_user}","gists_url":"https://api.github.com/users/stdweird/gists{/gist_id}","starred_url":"https://api.github.com/users/stdweird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stdweird/subscriptions","organizations_url":"https://api.github.com/users/stdweird/orgs","repos_url":"https://api.github.com/users/stdweird/repos","events_url":"https://api.github.com/users/stdweird/events{/privacy}","received_events_url":"https://api.github.com/users/stdweird/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/quattor/ncm-query/milestones/8","html_url":"https://github.com/quattor/ncm-query/milestones/15.6","labels_url":"https://api.github.com/repos/quattor/ncm-query/milestones/8/labels","id":811180,"number":8,"title":"15.6","description":null,"creator":{"login":"jrha","id":323309,"avatar_url":"https://avatars.githubusercontent.com/u/323309?v=3","gravatar_id":"","url":"https://api.github.com/users/jrha","html_url":"https://github.com/jrha","followers_url":"https://api.github.com/users/jrha/followers","following_url":"https://api.github.com/users/jrha/following{/other_user}","gists_url":"https://api.github.com/users/jrha/gists{/gist_id}","starred_url":"https://api.github.com/users/jrha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrha/subscriptions","organizations_url":"https://api.github.com/users/jrha/orgs","repos_url":"https://api.github.com/users/jrha/repos","events_url":"https://api.github.com/users/jrha/events{/privacy}","received_events_url":"https://api.github.com/users/jrha/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2014-10-02T10:35:50Z","updated_at":"2015-04-11T09:37:40Z","due_on":"2015-06-30T07:00:00Z","closed_at":null},"comments":11,"created_at":"2014-12-16T08:37:24Z","updated_at":"2015-06-01T07:44:15Z","closed_at":null,"body":"Sometimes it is necessary for programs to run `ncm-query` directly to lookup information in the current host profile.  Unfortunately, the output of `ncm-query` is not so easy for a computer to parse.\r\n\r\nThe contents of a host profile are easy to get hold of from within an NCM component, but problematic when running a tool that is not an NCM component.\r\n\r\nI suggest there are multiple ways of tackling this, and we might provide all of them:\r\n\r\n   * `ncm-query --format native` that outputs the profile, or portions of the profile, in whatever the native format is (XML or JSON, depending on what is being used).\r\n   * `ncm-query --format json` that outputs the profile, or portions thereof, in JSON.\r\n   * `ncm-query --format xml` for XML format.\r\n   * `ncm-query --format yaml` for YAML format.\r\n   * Perl API that allows a non-NCM component to get hold of a configuration hash similar to that passed through to the `Configure` subroutine in an NCM component (this isn't an `ncm-query` issue, but I thought I'd put it here to keep things all together for discussion at first).\r\n"},"comment":{"url":"https://api.github.com/repos/quattor/ncm-query/issues/comments/107342491","html_url":"https://github.com/quattor/ncm-query/issues/6#issuecomment-107342491","issue_url":"https://api.github.com/repos/quattor/ncm-query/issues/6","id":107342491,"user":{"login":"msmark","id":5436152,"avatar_url":"https://avatars.githubusercontent.com/u/5436152?v=3","gravatar_id":"","url":"https://api.github.com/users/msmark","html_url":"https://github.com/msmark","followers_url":"https://api.github.com/users/msmark/followers","following_url":"https://api.github.com/users/msmark/following{/other_user}","gists_url":"https://api.github.com/users/msmark/gists{/gist_id}","starred_url":"https://api.github.com/users/msmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msmark/subscriptions","organizations_url":"https://api.github.com/users/msmark/orgs","repos_url":"https://api.github.com/users/msmark/repos","events_url":"https://api.github.com/users/msmark/events{/privacy}","received_events_url":"https://api.github.com/users/msmark/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T07:44:15Z","updated_at":"2015-06-01T07:44:15Z","body":"Well we use XML::LibXML here."}}