{"action":"created","comment":{"url":"https://api.github.com/repos/GNOME/ostree/pulls/comments/35210449","id":35210449,"diff_hunk":"@@ -291,6 +291,12 @@ gboolean      ostree_repo_list_refs (OstreeRepo       *self,\n                                      GCancellable     *cancellable,\n                                      GError          **error);\n \n+gboolean ostree_repo_remote_list_refs (OstreeRepo       *self,\n+                                       const char       *remote_name,\n+                                       GHashTable      **out_all_refs,\n+                                       GCancellable     *cancellable,\n+                                       GError          **error);\n+","path":"src/libostree/ostree-repo.h","position":9,"original_position":9,"commit_id":"bd2d8eb7800997a7b8c379de348733838fd77698","original_commit_id":"bd2d8eb7800997a7b8c379de348733838fd77698","user":{"login":"mbarnes","id":56718,"avatar_url":"https://avatars.githubusercontent.com/u/56718?v=3","gravatar_id":"","url":"https://api.github.com/users/mbarnes","html_url":"https://github.com/mbarnes","followers_url":"https://api.github.com/users/mbarnes/followers","following_url":"https://api.github.com/users/mbarnes/following{/other_user}","gists_url":"https://api.github.com/users/mbarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/mbarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbarnes/subscriptions","organizations_url":"https://api.github.com/users/mbarnes/orgs","repos_url":"https://api.github.com/users/mbarnes/repos","events_url":"https://api.github.com/users/mbarnes/events{/privacy}","received_events_url":"https://api.github.com/users/mbarnes/received_events","type":"User","site_admin":false},"body":"You could also just return the `GHashTable` directly here (or `NULL` on error).\r\n\r\nEither way works though, just wanted to mention it.","created_at":"2015-07-22T13:12:41Z","updated_at":"2015-07-22T13:12:41Z","html_url":"https://github.com/GNOME/ostree/pull/127#discussion_r35210449","pull_request_url":"https://api.github.com/repos/GNOME/ostree/pulls/127","_links":{"self":{"href":"https://api.github.com/repos/GNOME/ostree/pulls/comments/35210449"},"html":{"href":"https://github.com/GNOME/ostree/pull/127#discussion_r35210449"},"pull_request":{"href":"https://api.github.com/repos/GNOME/ostree/pulls/127"}}},"pull_request":{"url":"https://api.github.com/repos/GNOME/ostree/pulls/127","id":40555173,"html_url":"https://github.com/GNOME/ostree/pull/127","diff_url":"https://github.com/GNOME/ostree/pull/127.diff","patch_url":"https://github.com/GNOME/ostree/pull/127.patch","issue_url":"https://api.github.com/repos/GNOME/ostree/issues/127","number":127,"state":"open","locked":false,"title":"libostree: new API ostree_repo_remote_list_refs","user":{"login":"giuseppe","id":67430,"avatar_url":"https://avatars.githubusercontent.com/u/67430?v=3","gravatar_id":"","url":"https://api.github.com/users/giuseppe","html_url":"https://github.com/giuseppe","followers_url":"https://api.github.com/users/giuseppe/followers","following_url":"https://api.github.com/users/giuseppe/following{/other_user}","gists_url":"https://api.github.com/users/giuseppe/gists{/gist_id}","starred_url":"https://api.github.com/users/giuseppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giuseppe/subscriptions","organizations_url":"https://api.github.com/users/giuseppe/orgs","repos_url":"https://api.github.com/users/giuseppe/repos","events_url":"https://api.github.com/users/giuseppe/events{/privacy}","received_events_url":"https://api.github.com/users/giuseppe/received_events","type":"User","site_admin":false},"body":"The new API permits to query a remote repository summary file and\r\nretrieve the list of available refs.\r\n\r\nSigned-off-by: Giuseppe Scrivano <gscrivan@redhat.com>","created_at":"2015-07-22T11:31:44Z","updated_at":"2015-07-22T13:12:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"06a3dc4b728909e4921550d2087ef730f3b246df","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GNOME/ostree/pulls/127/commits","review_comments_url":"https://api.github.com/repos/GNOME/ostree/pulls/127/comments","review_comment_url":"https://api.github.com/repos/GNOME/ostree/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GNOME/ostree/issues/127/comments","statuses_url":"https://api.github.com/repos/GNOME/ostree/statuses/bd2d8eb7800997a7b8c379de348733838fd77698","head":{"label":"giuseppe:giuseppe/remote-list-refs","ref":"giuseppe/remote-list-refs","sha":"bd2d8eb7800997a7b8c379de348733838fd77698","user":{"login":"giuseppe","id":67430,"avatar_url":"https://avatars.githubusercontent.com/u/67430?v=3","gravatar_id":"","url":"https://api.github.com/users/giuseppe","html_url":"https://github.com/giuseppe","followers_url":"https://api.github.com/users/giuseppe/followers","following_url":"https://api.github.com/users/giuseppe/following{/other_user}","gists_url":"https://api.github.com/users/giuseppe/gists{/gist_id}","starred_url":"https://api.github.com/users/giuseppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giuseppe/subscriptions","organizations_url":"https://api.github.com/users/giuseppe/orgs","repos_url":"https://api.github.com/users/giuseppe/repos","events_url":"https://api.github.com/users/giuseppe/events{/privacy}","received_events_url":"https://api.github.com/users/giuseppe/received_events","type":"User","site_admin":false},"repo":{"id":24854806,"name":"ostree","full_name":"giuseppe/ostree","owner":{"login":"giuseppe","id":67430,"avatar_url":"https://avatars.githubusercontent.com/u/67430?v=3","gravatar_id":"","url":"https://api.github.com/users/giuseppe","html_url":"https://github.com/giuseppe","followers_url":"https://api.github.com/users/giuseppe/followers","following_url":"https://api.github.com/users/giuseppe/following{/other_user}","gists_url":"https://api.github.com/users/giuseppe/gists{/gist_id}","starred_url":"https://api.github.com/users/giuseppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giuseppe/subscriptions","organizations_url":"https://api.github.com/users/giuseppe/orgs","repos_url":"https://api.github.com/users/giuseppe/repos","events_url":"https://api.github.com/users/giuseppe/events{/privacy}","received_events_url":"https://api.github.com/users/giuseppe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/giuseppe/ostree","description":"","fork":true,"url":"https://api.github.com/repos/giuseppe/ostree","forks_url":"https://api.github.com/repos/giuseppe/ostree/forks","keys_url":"https://api.github.com/repos/giuseppe/ostree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giuseppe/ostree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giuseppe/ostree/teams","hooks_url":"https://api.github.com/repos/giuseppe/ostree/hooks","issue_events_url":"https://api.github.com/repos/giuseppe/ostree/issues/events{/number}","events_url":"https://api.github.com/repos/giuseppe/ostree/events","assignees_url":"https://api.github.com/repos/giuseppe/ostree/assignees{/user}","branches_url":"https://api.github.com/repos/giuseppe/ostree/branches{/branch}","tags_url":"https://api.github.com/repos/giuseppe/ostree/tags","blobs_url":"https://api.github.com/repos/giuseppe/ostree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giuseppe/ostree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giuseppe/ostree/git/refs{/sha}","trees_url":"https://api.github.com/repos/giuseppe/ostree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giuseppe/ostree/statuses/{sha}","languages_url":"https://api.github.com/repos/giuseppe/ostree/languages","stargazers_url":"https://api.github.com/repos/giuseppe/ostree/stargazers","contributors_url":"https://api.github.com/repos/giuseppe/ostree/contributors","subscribers_url":"https://api.github.com/repos/giuseppe/ostree/subscribers","subscription_url":"https://api.github.com/repos/giuseppe/ostree/subscription","commits_url":"https://api.github.com/repos/giuseppe/ostree/commits{/sha}","git_commits_url":"https://api.github.com/repos/giuseppe/ostree/git/commits{/sha}","comments_url":"https://api.github.com/repos/giuseppe/ostree/comments{/number}","issue_comment_url":"https://api.github.com/repos/giuseppe/ostree/issues/comments{/number}","contents_url":"https://api.github.com/repos/giuseppe/ostree/contents/{+path}","compare_url":"https://api.github.com/repos/giuseppe/ostree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giuseppe/ostree/merges","archive_url":"https://api.github.com/repos/giuseppe/ostree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giuseppe/ostree/downloads","issues_url":"https://api.github.com/repos/giuseppe/ostree/issues{/number}","pulls_url":"https://api.github.com/repos/giuseppe/ostree/pulls{/number}","milestones_url":"https://api.github.com/repos/giuseppe/ostree/milestones{/number}","notifications_url":"https://api.github.com/repos/giuseppe/ostree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giuseppe/ostree/labels{/name}","releases_url":"https://api.github.com/repos/giuseppe/ostree/releases{/id}","created_at":"2014-10-06T16:49:37Z","updated_at":"2015-03-04T09:49:52Z","pushed_at":"2015-07-22T11:31:20Z","git_url":"git://github.com/giuseppe/ostree.git","ssh_url":"git@github.com:giuseppe/ostree.git","clone_url":"https://github.com/giuseppe/ostree.git","svn_url":"https://github.com/giuseppe/ostree","homepage":"http://live.gnome.org/OSTree","size":8177,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GNOME:master","ref":"master","sha":"a917c96976147595ff39c7524678331776ad3127","user":{"login":"GNOME","id":1801039,"avatar_url":"https://avatars.githubusercontent.com/u/1801039?v=3","gravatar_id":"","url":"https://api.github.com/users/GNOME","html_url":"https://github.com/GNOME","followers_url":"https://api.github.com/users/GNOME/followers","following_url":"https://api.github.com/users/GNOME/following{/other_user}","gists_url":"https://api.github.com/users/GNOME/gists{/gist_id}","starred_url":"https://api.github.com/users/GNOME/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GNOME/subscriptions","organizations_url":"https://api.github.com/users/GNOME/orgs","repos_url":"https://api.github.com/users/GNOME/repos","events_url":"https://api.github.com/users/GNOME/events{/privacy}","received_events_url":"https://api.github.com/users/GNOME/received_events","type":"Organization","site_admin":false},"repo":{"id":4614541,"name":"ostree","full_name":"GNOME/ostree","owner":{"login":"GNOME","id":1801039,"avatar_url":"https://avatars.githubusercontent.com/u/1801039?v=3","gravatar_id":"","url":"https://api.github.com/users/GNOME","html_url":"https://github.com/GNOME","followers_url":"https://api.github.com/users/GNOME/followers","following_url":"https://api.github.com/users/GNOME/following{/other_user}","gists_url":"https://api.github.com/users/GNOME/gists{/gist_id}","starred_url":"https://api.github.com/users/GNOME/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GNOME/subscriptions","organizations_url":"https://api.github.com/users/GNOME/orgs","repos_url":"https://api.github.com/users/GNOME/repos","events_url":"https://api.github.com/users/GNOME/events{/privacy}","received_events_url":"https://api.github.com/users/GNOME/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GNOME/ostree","description":"","fork":false,"url":"https://api.github.com/repos/GNOME/ostree","forks_url":"https://api.github.com/repos/GNOME/ostree/forks","keys_url":"https://api.github.com/repos/GNOME/ostree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GNOME/ostree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GNOME/ostree/teams","hooks_url":"https://api.github.com/repos/GNOME/ostree/hooks","issue_events_url":"https://api.github.com/repos/GNOME/ostree/issues/events{/number}","events_url":"https://api.github.com/repos/GNOME/ostree/events","assignees_url":"https://api.github.com/repos/GNOME/ostree/assignees{/user}","branches_url":"https://api.github.com/repos/GNOME/ostree/branches{/branch}","tags_url":"https://api.github.com/repos/GNOME/ostree/tags","blobs_url":"https://api.github.com/repos/GNOME/ostree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GNOME/ostree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GNOME/ostree/git/refs{/sha}","trees_url":"https://api.github.com/repos/GNOME/ostree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GNOME/ostree/statuses/{sha}","languages_url":"https://api.github.com/repos/GNOME/ostree/languages","stargazers_url":"https://api.github.com/repos/GNOME/ostree/stargazers","contributors_url":"https://api.github.com/repos/GNOME/ostree/contributors","subscribers_url":"https://api.github.com/repos/GNOME/ostree/subscribers","subscription_url":"https://api.github.com/repos/GNOME/ostree/subscription","commits_url":"https://api.github.com/repos/GNOME/ostree/commits{/sha}","git_commits_url":"https://api.github.com/repos/GNOME/ostree/git/commits{/sha}","comments_url":"https://api.github.com/repos/GNOME/ostree/comments{/number}","issue_comment_url":"https://api.github.com/repos/GNOME/ostree/issues/comments{/number}","contents_url":"https://api.github.com/repos/GNOME/ostree/contents/{+path}","compare_url":"https://api.github.com/repos/GNOME/ostree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GNOME/ostree/merges","archive_url":"https://api.github.com/repos/GNOME/ostree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GNOME/ostree/downloads","issues_url":"https://api.github.com/repos/GNOME/ostree/issues{/number}","pulls_url":"https://api.github.com/repos/GNOME/ostree/pulls{/number}","milestones_url":"https://api.github.com/repos/GNOME/ostree/milestones{/number}","notifications_url":"https://api.github.com/repos/GNOME/ostree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GNOME/ostree/labels{/name}","releases_url":"https://api.github.com/repos/GNOME/ostree/releases{/id}","created_at":"2012-06-10T11:22:40Z","updated_at":"2015-06-18T19:06:59Z","pushed_at":"2015-07-22T11:31:45Z","git_url":"git://github.com/GNOME/ostree.git","ssh_url":"git@github.com:GNOME/ostree.git","clone_url":"https://github.com/GNOME/ostree.git","svn_url":"https://github.com/GNOME/ostree","homepage":"http://live.gnome.org/OSTree","size":10998,"stargazers_count":20,"watchers_count":20,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":6,"forks":19,"open_issues":6,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GNOME/ostree/pulls/127"},"html":{"href":"https://github.com/GNOME/ostree/pull/127"},"issue":{"href":"https://api.github.com/repos/GNOME/ostree/issues/127"},"comments":{"href":"https://api.github.com/repos/GNOME/ostree/issues/127/comments"},"review_comments":{"href":"https://api.github.com/repos/GNOME/ostree/pulls/127/comments"},"review_comment":{"href":"https://api.github.com/repos/GNOME/ostree/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GNOME/ostree/pulls/127/commits"},"statuses":{"href":"https://api.github.com/repos/GNOME/ostree/statuses/bd2d8eb7800997a7b8c379de348733838fd77698"}}}}