{"action":"created","comment":{"url":"https://api.github.com/repos/GNOME/ostree/pulls/comments/57263532","id":57263532,"diff_hunk":"@@ -257,6 +260,18 @@ initable_init (GInitable     *initable,\n         freecon (con);\n       }\n \n+      {\n+        g_autofree guchar *csum_raw = NULL;\n+        if (!ostree_checksum_file (etc_selinux_dir, OSTREE_OBJECT_TYPE_FILE,","path":"src/libostree/ostree-sepolicy.c","position":30,"original_position":30,"commit_id":"6027bb6cbd2df1fb55822e1214df8b33da63e7c8","original_commit_id":"6027bb6cbd2df1fb55822e1214df8b33da63e7c8","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},"body":"I think we need to enumerate files named `policy.[0-9]+` and pick the biggest.","created_at":"2016-03-24T01:25:05Z","updated_at":"2016-03-24T01:25:05Z","html_url":"https://github.com/GNOME/ostree/pull/219#discussion_r57263532","pull_request_url":"https://api.github.com/repos/GNOME/ostree/pulls/219","_links":{"self":{"href":"https://api.github.com/repos/GNOME/ostree/pulls/comments/57263532"},"html":{"href":"https://github.com/GNOME/ostree/pull/219#discussion_r57263532"},"pull_request":{"href":"https://api.github.com/repos/GNOME/ostree/pulls/219"}}},"pull_request":{"url":"https://api.github.com/repos/GNOME/ostree/pulls/219","id":63946839,"html_url":"https://github.com/GNOME/ostree/pull/219","diff_url":"https://github.com/GNOME/ostree/pull/219.diff","patch_url":"https://github.com/GNOME/ostree/pull/219.patch","issue_url":"https://api.github.com/repos/GNOME/ostree/issues/219","number":219,"state":"open","locked":false,"title":"OstreeSePolicy: add ostree_sepolicy_get_csum()","user":{"login":"jlebon","id":11934099,"avatar_url":"https://avatars.githubusercontent.com/u/11934099?v=3","gravatar_id":"","url":"https://api.github.com/users/jlebon","html_url":"https://github.com/jlebon","followers_url":"https://api.github.com/users/jlebon/followers","following_url":"https://api.github.com/users/jlebon/following{/other_user}","gists_url":"https://api.github.com/users/jlebon/gists{/gist_id}","starred_url":"https://api.github.com/users/jlebon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlebon/subscriptions","organizations_url":"https://api.github.com/users/jlebon/orgs","repos_url":"https://api.github.com/users/jlebon/repos","events_url":"https://api.github.com/users/jlebon/events{/privacy}","received_events_url":"https://api.github.com/users/jlebon/received_events","type":"User","site_admin":false},"body":"This can be used as a fingerprint to determine whether two\r\nOstreeSePolicy objects are equivalent.\r\n\r\nAlso add documentation for ostree_sepolicy_get_name().","created_at":"2016-03-23T20:23:45Z","updated_at":"2016-03-24T01:25:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0865bfd9b36834d216150d263d284bba6d7f56b1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GNOME/ostree/pulls/219/commits","review_comments_url":"https://api.github.com/repos/GNOME/ostree/pulls/219/comments","review_comment_url":"https://api.github.com/repos/GNOME/ostree/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GNOME/ostree/issues/219/comments","statuses_url":"https://api.github.com/repos/GNOME/ostree/statuses/6027bb6cbd2df1fb55822e1214df8b33da63e7c8","head":{"label":"jlebon:pr/sepolicy-get-csum","ref":"pr/sepolicy-get-csum","sha":"6027bb6cbd2df1fb55822e1214df8b33da63e7c8","user":{"login":"jlebon","id":11934099,"avatar_url":"https://avatars.githubusercontent.com/u/11934099?v=3","gravatar_id":"","url":"https://api.github.com/users/jlebon","html_url":"https://github.com/jlebon","followers_url":"https://api.github.com/users/jlebon/followers","following_url":"https://api.github.com/users/jlebon/following{/other_user}","gists_url":"https://api.github.com/users/jlebon/gists{/gist_id}","starred_url":"https://api.github.com/users/jlebon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlebon/subscriptions","organizations_url":"https://api.github.com/users/jlebon/orgs","repos_url":"https://api.github.com/users/jlebon/repos","events_url":"https://api.github.com/users/jlebon/events{/privacy}","received_events_url":"https://api.github.com/users/jlebon/received_events","type":"User","site_admin":false},"repo":{"id":47560213,"name":"ostree","full_name":"jlebon/ostree","owner":{"login":"jlebon","id":11934099,"avatar_url":"https://avatars.githubusercontent.com/u/11934099?v=3","gravatar_id":"","url":"https://api.github.com/users/jlebon","html_url":"https://github.com/jlebon","followers_url":"https://api.github.com/users/jlebon/followers","following_url":"https://api.github.com/users/jlebon/following{/other_user}","gists_url":"https://api.github.com/users/jlebon/gists{/gist_id}","starred_url":"https://api.github.com/users/jlebon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlebon/subscriptions","organizations_url":"https://api.github.com/users/jlebon/orgs","repos_url":"https://api.github.com/users/jlebon/repos","events_url":"https://api.github.com/users/jlebon/events{/privacy}","received_events_url":"https://api.github.com/users/jlebon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jlebon/ostree","description":"","fork":true,"url":"https://api.github.com/repos/jlebon/ostree","forks_url":"https://api.github.com/repos/jlebon/ostree/forks","keys_url":"https://api.github.com/repos/jlebon/ostree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jlebon/ostree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jlebon/ostree/teams","hooks_url":"https://api.github.com/repos/jlebon/ostree/hooks","issue_events_url":"https://api.github.com/repos/jlebon/ostree/issues/events{/number}","events_url":"https://api.github.com/repos/jlebon/ostree/events","assignees_url":"https://api.github.com/repos/jlebon/ostree/assignees{/user}","branches_url":"https://api.github.com/repos/jlebon/ostree/branches{/branch}","tags_url":"https://api.github.com/repos/jlebon/ostree/tags","blobs_url":"https://api.github.com/repos/jlebon/ostree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jlebon/ostree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jlebon/ostree/git/refs{/sha}","trees_url":"https://api.github.com/repos/jlebon/ostree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jlebon/ostree/statuses/{sha}","languages_url":"https://api.github.com/repos/jlebon/ostree/languages","stargazers_url":"https://api.github.com/repos/jlebon/ostree/stargazers","contributors_url":"https://api.github.com/repos/jlebon/ostree/contributors","subscribers_url":"https://api.github.com/repos/jlebon/ostree/subscribers","subscription_url":"https://api.github.com/repos/jlebon/ostree/subscription","commits_url":"https://api.github.com/repos/jlebon/ostree/commits{/sha}","git_commits_url":"https://api.github.com/repos/jlebon/ostree/git/commits{/sha}","comments_url":"https://api.github.com/repos/jlebon/ostree/comments{/number}","issue_comment_url":"https://api.github.com/repos/jlebon/ostree/issues/comments{/number}","contents_url":"https://api.github.com/repos/jlebon/ostree/contents/{+path}","compare_url":"https://api.github.com/repos/jlebon/ostree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jlebon/ostree/merges","archive_url":"https://api.github.com/repos/jlebon/ostree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jlebon/ostree/downloads","issues_url":"https://api.github.com/repos/jlebon/ostree/issues{/number}","pulls_url":"https://api.github.com/repos/jlebon/ostree/pulls{/number}","milestones_url":"https://api.github.com/repos/jlebon/ostree/milestones{/number}","notifications_url":"https://api.github.com/repos/jlebon/ostree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jlebon/ostree/labels{/name}","releases_url":"https://api.github.com/repos/jlebon/ostree/releases{/id}","deployments_url":"https://api.github.com/repos/jlebon/ostree/deployments","created_at":"2015-12-07T15:20:40Z","updated_at":"2016-02-19T17:04:00Z","pushed_at":"2016-03-23T21:26:42Z","git_url":"git://github.com/jlebon/ostree.git","ssh_url":"git@github.com:jlebon/ostree.git","clone_url":"https://github.com/jlebon/ostree.git","svn_url":"https://github.com/jlebon/ostree","homepage":"http://live.gnome.org/OSTree","size":8807,"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":"7524e904b90d24929dd8b9ac975aed2b46550edf","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}","deployments_url":"https://api.github.com/repos/GNOME/ostree/deployments","created_at":"2012-06-10T11:22:40Z","updated_at":"2016-02-12T17:23:02Z","pushed_at":"2016-03-23T21:15:17Z","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":9790,"stargazers_count":26,"watchers_count":26,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":10,"forks":26,"open_issues":10,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GNOME/ostree/pulls/219"},"html":{"href":"https://github.com/GNOME/ostree/pull/219"},"issue":{"href":"https://api.github.com/repos/GNOME/ostree/issues/219"},"comments":{"href":"https://api.github.com/repos/GNOME/ostree/issues/219/comments"},"review_comments":{"href":"https://api.github.com/repos/GNOME/ostree/pulls/219/comments"},"review_comment":{"href":"https://api.github.com/repos/GNOME/ostree/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GNOME/ostree/pulls/219/commits"},"statuses":{"href":"https://api.github.com/repos/GNOME/ostree/statuses/6027bb6cbd2df1fb55822e1214df8b33da63e7c8"}}}}