{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/124","labels_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/124/comments","events_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/124/events","html_url":"https://github.com/projectatomic/rpm-ostree/pull/124","id":66977298,"number":124,"title":" Add a public shared library, with \"rpm -qa\" for commit functionality","user":{"login":"cgwalters","id":244096,"avatar_url":"https://avatars.githubusercontent.com/u/244096?v=3","gravatar_id":"","url":"https://api.github.com/users/cgwalters","html_url":"https://github.com/cgwalters","followers_url":"https://api.github.com/users/cgwalters/followers","following_url":"https://api.github.com/users/cgwalters/following{/other_user}","gists_url":"https://api.github.com/users/cgwalters/gists{/gist_id}","starred_url":"https://api.github.com/users/cgwalters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgwalters/subscriptions","organizations_url":"https://api.github.com/users/cgwalters/orgs","repos_url":"https://api.github.com/users/cgwalters/repos","events_url":"https://api.github.com/users/cgwalters/events{/privacy}","received_events_url":"https://api.github.com/users/cgwalters/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-07T19:51:52Z","updated_at":"2015-04-13T19:12:07Z","closed_at":"2015-04-13T19:12:07Z","pull_request":{"url":"https://api.github.com/repos/projectatomic/rpm-ostree/pulls/124","html_url":"https://github.com/projectatomic/rpm-ostree/pull/124","diff_url":"https://github.com/projectatomic/rpm-ostree/pull/124.diff","patch_url":"https://github.com/projectatomic/rpm-ostree/pull/124.patch"},"body":"This will help build release engineering and other types of tools;\r\nfor example, rather than parsing the output of `db diff`, one\r\nshould be able to call an API.\r\n\r\nInitially, this adds the generic infrastructure for a public shared\r\nlibrary, with a new function call to do the equivalent of `rpm -qa` on\r\na particular OSTree commit.\r\n\r\nCloses: #117\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/comments/92466273","html_url":"https://github.com/projectatomic/rpm-ostree/pull/124#issuecomment-92466273","issue_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/124","id":92466273,"user":{"login":"cgwalters","id":244096,"avatar_url":"https://avatars.githubusercontent.com/u/244096?v=3","gravatar_id":"","url":"https://api.github.com/users/cgwalters","html_url":"https://github.com/cgwalters","followers_url":"https://api.github.com/users/cgwalters/followers","following_url":"https://api.github.com/users/cgwalters/following{/other_user}","gists_url":"https://api.github.com/users/cgwalters/gists{/gist_id}","starred_url":"https://api.github.com/users/cgwalters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgwalters/subscriptions","organizations_url":"https://api.github.com/users/cgwalters/orgs","repos_url":"https://api.github.com/users/cgwalters/repos","events_url":"https://api.github.com/users/cgwalters/events{/privacy}","received_events_url":"https://api.github.com/users/cgwalters/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T19:12:07Z","updated_at":"2015-04-13T19:12:07Z","body":"I tend to write all APIs like it came out of a code generator by default, I admit.  But there's certainly nothing wrong with the \"return directly\" for structures.  I changed the code and merged, thanks!"}}