{"action":"created","issue":{"url":"https://api.github.com/repos/pulp/pulp_ostree/issues/39","labels_url":"https://api.github.com/repos/pulp/pulp_ostree/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/pulp/pulp_ostree/issues/39/comments","events_url":"https://api.github.com/repos/pulp/pulp_ostree/issues/39/events","html_url":"https://github.com/pulp/pulp_ostree/pull/39","id":97148556,"number":39,"title":"Support listing remote references.","user":{"login":"jortel","id":1126767,"avatar_url":"https://avatars.githubusercontent.com/u/1126767?v=3","gravatar_id":"","url":"https://api.github.com/users/jortel","html_url":"https://github.com/jortel","followers_url":"https://api.github.com/users/jortel/followers","following_url":"https://api.github.com/users/jortel/following{/other_user}","gists_url":"https://api.github.com/users/jortel/gists{/gist_id}","starred_url":"https://api.github.com/users/jortel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jortel/subscriptions","organizations_url":"https://api.github.com/users/jortel/orgs","repos_url":"https://api.github.com/users/jortel/repos","events_url":"https://api.github.com/users/jortel/events{/privacy}","received_events_url":"https://api.github.com/users/jortel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pulp/pulp_ostree/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/pulp/pulp_ostree/labels/LGTM","name":"LGTM","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-24T21:14:21Z","updated_at":"2015-08-06T05:33:56Z","closed_at":"2015-08-05T19:32:53Z","pull_request":{"url":"https://api.github.com/repos/pulp/pulp_ostree/pulls/39","html_url":"https://github.com/pulp/pulp_ostree/pull/39","diff_url":"https://github.com/pulp/pulp_ostree/pull/39.diff","patch_url":"https://github.com/pulp/pulp_ostree/pull/39.patch"},"body":"Add lib support for listing remote references in support of https://pulp.plan.io/issues/897.\r\n\r\nAdded Remote.list_refs()\r\n\r\nIn addition, added convenience methods impl() and open() to the Remote and Summary classes and updated methods to use them.\r\n\r\nThis requires libostree support added by:\r\n- https://bugzilla.gnome.org/show_bug.cgi?id=748059\r\n- https://github.com/GNOME/ostree/pull/127\r\n\r\nTested using build:  ostree-2015.7.46.g11ba905-3.fc21.x86_64.  The spec file will needs to be updated when it is released.\r\n\r\nTESTING:\r\nThe following shell script can be used to test the functionality.\r\n```bash\r\ncd /tmp\r\nmkdir test\r\nostree init --mode archive-z2 --repo /tmp/test\r\nostree remote add f22 https://dl.fedoraproject.org/pub/fedora/linux/atomic/22 --repo /tmp/test\r\npython << END\r\nfrom pulp_ostree.plugins.lib import Repository, Remote\r\nrepository = Repository('/tmp/test')\r\nremote = Remote('f22', repository)\r\nrefs = remote.list_refs()\r\nfor r in refs:\r\n    print r.__dict__\r\nEND\r\nrm -rf /tmp/test\r\n```"},"comment":{"url":"https://api.github.com/repos/pulp/pulp_ostree/issues/comments/128249685","html_url":"https://github.com/pulp/pulp_ostree/pull/39#issuecomment-128249685","issue_url":"https://api.github.com/repos/pulp/pulp_ostree/issues/39","id":128249685,"user":{"login":"rbarlow","id":354506,"avatar_url":"https://avatars.githubusercontent.com/u/354506?v=3","gravatar_id":"","url":"https://api.github.com/users/rbarlow","html_url":"https://github.com/rbarlow","followers_url":"https://api.github.com/users/rbarlow/followers","following_url":"https://api.github.com/users/rbarlow/following{/other_user}","gists_url":"https://api.github.com/users/rbarlow/gists{/gist_id}","starred_url":"https://api.github.com/users/rbarlow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbarlow/subscriptions","organizations_url":"https://api.github.com/users/rbarlow/orgs","repos_url":"https://api.github.com/users/rbarlow/repos","events_url":"https://api.github.com/users/rbarlow/events{/privacy}","received_events_url":"https://api.github.com/users/rbarlow/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T05:33:56Z","updated_at":"2015-08-06T05:33:56Z","body":"On 08/05/2015 03:25 PM, Jeremy Cline wrote:\n> It passes jcline-qe on RHEL7, so it looks good to me!\n\nNice!\n"}}