{"action":"created","comment":{"url":"https://api.github.com/repos/ceph/ceph/pulls/comments/205278398","pull_request_review_id":140519227,"id":205278398,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTI3ODM5OA==","diff_hunk":"@@ -845,7 +870,7 @@ extern \"C\" int ceph_open(struct ceph_mount_info *cmount, const char *path,\n {\n   if (!cmount->is_mounted())\n     return -ENOTCONN;\n-  return cmount->get_client()->open(path, flags, cmount->default_perms, mode);\n+  return cmount->get_client()->open(path, flags, cmount->default_perms, cmount->umask ^ mode);","path":"src/libcephfs.cc","position":118,"original_position":118,"commit_id":"3e51ccb7192bf610983c20c8137ee84d4780cd1d","original_commit_id":"3e51ccb7192bf610983c20c8137ee84d4780cd1d","user":{"login":"batrick","id":548304,"node_id":"MDQ6VXNlcjU0ODMwNA==","avatar_url":"https://avatars3.githubusercontent.com/u/548304?v=4","gravatar_id":"","url":"https://api.github.com/users/batrick","html_url":"https://github.com/batrick","followers_url":"https://api.github.com/users/batrick/followers","following_url":"https://api.github.com/users/batrick/following{/other_user}","gists_url":"https://api.github.com/users/batrick/gists{/gist_id}","starred_url":"https://api.github.com/users/batrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batrick/subscriptions","organizations_url":"https://api.github.com/users/batrick/orgs","repos_url":"https://api.github.com/users/batrick/repos","events_url":"https://api.github.com/users/batrick/events{/privacy}","received_events_url":"https://api.github.com/users/batrick/received_events","type":"User","site_admin":false},"body":"ditto","created_at":"2018-07-25T22:12:47Z","updated_at":"2018-07-25T22:13:32Z","html_url":"https://github.com/ceph/ceph/pull/23157#discussion_r205278398","pull_request_url":"https://api.github.com/repos/ceph/ceph/pulls/23157","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ceph/ceph/pulls/comments/205278398"},"html":{"href":"https://github.com/ceph/ceph/pull/23157#discussion_r205278398"},"pull_request":{"href":"https://api.github.com/repos/ceph/ceph/pulls/23157"}}},"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/23157","id":202991732,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyOTkxNzMy","html_url":"https://github.com/ceph/ceph/pull/23157","diff_url":"https://github.com/ceph/ceph/pull/23157.diff","patch_url":"https://github.com/ceph/ceph/pull/23157.patch","issue_url":"https://api.github.com/repos/ceph/ceph/issues/23157","number":23157,"state":"open","locked":false,"title":"libcephfs: provide API to change umask","user":{"login":"rpavani1998","id":19775037,"node_id":"MDQ6VXNlcjE5Nzc1MDM3","avatar_url":"https://avatars0.githubusercontent.com/u/19775037?v=4","gravatar_id":"","url":"https://api.github.com/users/rpavani1998","html_url":"https://github.com/rpavani1998","followers_url":"https://api.github.com/users/rpavani1998/followers","following_url":"https://api.github.com/users/rpavani1998/following{/other_user}","gists_url":"https://api.github.com/users/rpavani1998/gists{/gist_id}","starred_url":"https://api.github.com/users/rpavani1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpavani1998/subscriptions","organizations_url":"https://api.github.com/users/rpavani1998/orgs","repos_url":"https://api.github.com/users/rpavani1998/repos","events_url":"https://api.github.com/users/rpavani1998/events{/privacy}","received_events_url":"https://api.github.com/users/rpavani1998/received_events","type":"User","site_admin":false},"body":"a binding for setting the umask.\r\n[http://tracker.ceph.com/issues/24430](http://tracker.ceph.com/issues/24430)\r\nSigned-off-by: Pavani Rajula <rpavani1998@gmail.com>","created_at":"2018-07-21T04:24:11Z","updated_at":"2018-07-25T22:13:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a27ee666aa4048f76eb06c7de7db29105337e63c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":144329802,"node_id":"MDU6TGFiZWwxNDQzMjk4MDI=","url":"https://api.github.com/repos/ceph/ceph/labels/cephfs","name":"cephfs","color":"b192ff","default":false},{"id":134774006,"node_id":"MDU6TGFiZWwxMzQ3NzQwMDY=","url":"https://api.github.com/repos/ceph/ceph/labels/feature","name":"feature","color":"00ff24","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ceph/ceph/pulls/23157/commits","review_comments_url":"https://api.github.com/repos/ceph/ceph/pulls/23157/comments","review_comment_url":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/23157/comments","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/3e51ccb7192bf610983c20c8137ee84d4780cd1d","head":{"label":"rpavani1998:umask","ref":"umask","sha":"3e51ccb7192bf610983c20c8137ee84d4780cd1d","user":{"login":"rpavani1998","id":19775037,"node_id":"MDQ6VXNlcjE5Nzc1MDM3","avatar_url":"https://avatars0.githubusercontent.com/u/19775037?v=4","gravatar_id":"","url":"https://api.github.com/users/rpavani1998","html_url":"https://github.com/rpavani1998","followers_url":"https://api.github.com/users/rpavani1998/followers","following_url":"https://api.github.com/users/rpavani1998/following{/other_user}","gists_url":"https://api.github.com/users/rpavani1998/gists{/gist_id}","starred_url":"https://api.github.com/users/rpavani1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpavani1998/subscriptions","organizations_url":"https://api.github.com/users/rpavani1998/orgs","repos_url":"https://api.github.com/users/rpavani1998/repos","events_url":"https://api.github.com/users/rpavani1998/events{/privacy}","received_events_url":"https://api.github.com/users/rpavani1998/received_events","type":"User","site_admin":false},"repo":{"id":127090457,"node_id":"MDEwOlJlcG9zaXRvcnkxMjcwOTA0NTc=","name":"ceph","full_name":"rpavani1998/ceph","owner":{"login":"rpavani1998","id":19775037,"node_id":"MDQ6VXNlcjE5Nzc1MDM3","avatar_url":"https://avatars0.githubusercontent.com/u/19775037?v=4","gravatar_id":"","url":"https://api.github.com/users/rpavani1998","html_url":"https://github.com/rpavani1998","followers_url":"https://api.github.com/users/rpavani1998/followers","following_url":"https://api.github.com/users/rpavani1998/following{/other_user}","gists_url":"https://api.github.com/users/rpavani1998/gists{/gist_id}","starred_url":"https://api.github.com/users/rpavani1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpavani1998/subscriptions","organizations_url":"https://api.github.com/users/rpavani1998/orgs","repos_url":"https://api.github.com/users/rpavani1998/repos","events_url":"https://api.github.com/users/rpavani1998/events{/privacy}","received_events_url":"https://api.github.com/users/rpavani1998/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rpavani1998/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":true,"url":"https://api.github.com/repos/rpavani1998/ceph","forks_url":"https://api.github.com/repos/rpavani1998/ceph/forks","keys_url":"https://api.github.com/repos/rpavani1998/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rpavani1998/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rpavani1998/ceph/teams","hooks_url":"https://api.github.com/repos/rpavani1998/ceph/hooks","issue_events_url":"https://api.github.com/repos/rpavani1998/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/rpavani1998/ceph/events","assignees_url":"https://api.github.com/repos/rpavani1998/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/rpavani1998/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/rpavani1998/ceph/tags","blobs_url":"https://api.github.com/repos/rpavani1998/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rpavani1998/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rpavani1998/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/rpavani1998/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rpavani1998/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/rpavani1998/ceph/languages","stargazers_url":"https://api.github.com/repos/rpavani1998/ceph/stargazers","contributors_url":"https://api.github.com/repos/rpavani1998/ceph/contributors","subscribers_url":"https://api.github.com/repos/rpavani1998/ceph/subscribers","subscription_url":"https://api.github.com/repos/rpavani1998/ceph/subscription","commits_url":"https://api.github.com/repos/rpavani1998/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/rpavani1998/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/rpavani1998/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/rpavani1998/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/rpavani1998/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/rpavani1998/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rpavani1998/ceph/merges","archive_url":"https://api.github.com/repos/rpavani1998/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rpavani1998/ceph/downloads","issues_url":"https://api.github.com/repos/rpavani1998/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/rpavani1998/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/rpavani1998/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/rpavani1998/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rpavani1998/ceph/labels{/name}","releases_url":"https://api.github.com/repos/rpavani1998/ceph/releases{/id}","deployments_url":"https://api.github.com/repos/rpavani1998/ceph/deployments","created_at":"2018-03-28T05:53:04Z","updated_at":"2018-05-19T13:27:57Z","pushed_at":"2018-07-25T08:39:35Z","git_url":"git://github.com/rpavani1998/ceph.git","ssh_url":"git@github.com:rpavani1998/ceph.git","clone_url":"https://github.com/rpavani1998/ceph.git","svn_url":"https://github.com/rpavani1998/ceph","homepage":"http://ceph.com","size":288415,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ceph:master","ref":"master","sha":"4f882f0405a61e1b63b0d905bee3bc863b107b76","user":{"login":"ceph","id":1015767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTU3Njc=","avatar_url":"https://avatars3.githubusercontent.com/u/1015767?v=4","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"repo":{"id":2310495,"node_id":"MDEwOlJlcG9zaXRvcnkyMzEwNDk1","name":"ceph","full_name":"ceph/ceph","owner":{"login":"ceph","id":1015767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTU3Njc=","avatar_url":"https://avatars3.githubusercontent.com/u/1015767?v=4","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ceph/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":false,"url":"https://api.github.com/repos/ceph/ceph","forks_url":"https://api.github.com/repos/ceph/ceph/forks","keys_url":"https://api.github.com/repos/ceph/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceph/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceph/ceph/teams","hooks_url":"https://api.github.com/repos/ceph/ceph/hooks","issue_events_url":"https://api.github.com/repos/ceph/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/ceph/ceph/events","assignees_url":"https://api.github.com/repos/ceph/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/ceph/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/ceph/ceph/tags","blobs_url":"https://api.github.com/repos/ceph/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceph/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceph/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceph/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/ceph/ceph/languages","stargazers_url":"https://api.github.com/repos/ceph/ceph/stargazers","contributors_url":"https://api.github.com/repos/ceph/ceph/contributors","subscribers_url":"https://api.github.com/repos/ceph/ceph/subscribers","subscription_url":"https://api.github.com/repos/ceph/ceph/subscription","commits_url":"https://api.github.com/repos/ceph/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceph/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceph/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceph/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/ceph/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/ceph/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceph/ceph/merges","archive_url":"https://api.github.com/repos/ceph/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceph/ceph/downloads","issues_url":"https://api.github.com/repos/ceph/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/ceph/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/ceph/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/ceph/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceph/ceph/labels{/name}","releases_url":"https://api.github.com/repos/ceph/ceph/releases{/id}","deployments_url":"https://api.github.com/repos/ceph/ceph/deployments","created_at":"2011-09-01T21:41:26Z","updated_at":"2018-07-25T21:25:50Z","pushed_at":"2018-07-25T21:51:10Z","git_url":"git://github.com/ceph/ceph.git","ssh_url":"git@github.com:ceph/ceph.git","clone_url":"https://github.com/ceph/ceph.git","svn_url":"https://github.com/ceph/ceph","homepage":"http://ceph.com","size":300091,"stargazers_count":4851,"watchers_count":4851,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2545,"mirror_url":null,"archived":false,"open_issues_count":740,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2545,"open_issues":740,"watchers":4851,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ceph/ceph/pulls/23157"},"html":{"href":"https://github.com/ceph/ceph/pull/23157"},"issue":{"href":"https://api.github.com/repos/ceph/ceph/issues/23157"},"comments":{"href":"https://api.github.com/repos/ceph/ceph/issues/23157/comments"},"review_comments":{"href":"https://api.github.com/repos/ceph/ceph/pulls/23157/comments"},"review_comment":{"href":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ceph/ceph/pulls/23157/commits"},"statuses":{"href":"https://api.github.com/repos/ceph/ceph/statuses/3e51ccb7192bf610983c20c8137ee84d4780cd1d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"batrick"}}