{"action":"closed","number":336,"pull_request":{"url":"https://api.github.com/repos/blueman-project/blueman/pulls/336","id":41969018,"html_url":"https://github.com/blueman-project/blueman/pull/336","diff_url":"https://github.com/blueman-project/blueman/pull/336.diff","patch_url":"https://github.com/blueman-project/blueman/pull/336.patch","issue_url":"https://api.github.com/repos/blueman-project/blueman/issues/336","number":336,"state":"closed","locked":false,"title":"RfKill: open /dev/rfkill r+b to avoid creating","user":{"login":"mgorny","id":110765,"avatar_url":"https://avatars.githubusercontent.com/u/110765?v=3","gravatar_id":"","url":"https://api.github.com/users/mgorny","html_url":"https://github.com/mgorny","followers_url":"https://api.github.com/users/mgorny/followers","following_url":"https://api.github.com/users/mgorny/following{/other_user}","gists_url":"https://api.github.com/users/mgorny/gists{/gist_id}","starred_url":"https://api.github.com/users/mgorny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgorny/subscriptions","organizations_url":"https://api.github.com/users/mgorny/orgs","repos_url":"https://api.github.com/users/mgorny/repos","events_url":"https://api.github.com/users/mgorny/events{/privacy}","received_events_url":"https://api.github.com/users/mgorny/received_events","type":"User","site_admin":false},"body":"Open /dev/rfkill in r+b mode rather than wb since the latter creates the\r\nfile if it does not exist. And we certainly can not create /dev/rfkill\r\nas a regular file since this is never going to work and is going to\r\nbreak a lot of other programs that assume /dev/rfkill is a valid device\r\nnode.\r\n\r\nFixes: https://github.com/blueman-project/blueman/issues/333","created_at":"2015-08-09T11:23:21Z","updated_at":"2015-08-19T05:37:42Z","closed_at":"2015-08-19T05:37:42Z","merged_at":null,"merge_commit_sha":"8986bab2d56c7542344660454f927a19dfb86651","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/blueman-project/blueman/pulls/336/commits","review_comments_url":"https://api.github.com/repos/blueman-project/blueman/pulls/336/comments","review_comment_url":"https://api.github.com/repos/blueman-project/blueman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/blueman-project/blueman/issues/336/comments","statuses_url":"https://api.github.com/repos/blueman-project/blueman/statuses/37887bfc0d44fcc1d1f717c6d19b0cbb1fbba670","head":{"label":"mgorny:rfkill-open","ref":"rfkill-open","sha":"37887bfc0d44fcc1d1f717c6d19b0cbb1fbba670","user":{"login":"mgorny","id":110765,"avatar_url":"https://avatars.githubusercontent.com/u/110765?v=3","gravatar_id":"","url":"https://api.github.com/users/mgorny","html_url":"https://github.com/mgorny","followers_url":"https://api.github.com/users/mgorny/followers","following_url":"https://api.github.com/users/mgorny/following{/other_user}","gists_url":"https://api.github.com/users/mgorny/gists{/gist_id}","starred_url":"https://api.github.com/users/mgorny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgorny/subscriptions","organizations_url":"https://api.github.com/users/mgorny/orgs","repos_url":"https://api.github.com/users/mgorny/repos","events_url":"https://api.github.com/users/mgorny/events{/privacy}","received_events_url":"https://api.github.com/users/mgorny/received_events","type":"User","site_admin":false},"repo":{"id":40402932,"name":"blueman","full_name":"mgorny/blueman","owner":{"login":"mgorny","id":110765,"avatar_url":"https://avatars.githubusercontent.com/u/110765?v=3","gravatar_id":"","url":"https://api.github.com/users/mgorny","html_url":"https://github.com/mgorny","followers_url":"https://api.github.com/users/mgorny/followers","following_url":"https://api.github.com/users/mgorny/following{/other_user}","gists_url":"https://api.github.com/users/mgorny/gists{/gist_id}","starred_url":"https://api.github.com/users/mgorny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgorny/subscriptions","organizations_url":"https://api.github.com/users/mgorny/orgs","repos_url":"https://api.github.com/users/mgorny/repos","events_url":"https://api.github.com/users/mgorny/events{/privacy}","received_events_url":"https://api.github.com/users/mgorny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mgorny/blueman","description":"","fork":true,"url":"https://api.github.com/repos/mgorny/blueman","forks_url":"https://api.github.com/repos/mgorny/blueman/forks","keys_url":"https://api.github.com/repos/mgorny/blueman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mgorny/blueman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mgorny/blueman/teams","hooks_url":"https://api.github.com/repos/mgorny/blueman/hooks","issue_events_url":"https://api.github.com/repos/mgorny/blueman/issues/events{/number}","events_url":"https://api.github.com/repos/mgorny/blueman/events","assignees_url":"https://api.github.com/repos/mgorny/blueman/assignees{/user}","branches_url":"https://api.github.com/repos/mgorny/blueman/branches{/branch}","tags_url":"https://api.github.com/repos/mgorny/blueman/tags","blobs_url":"https://api.github.com/repos/mgorny/blueman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mgorny/blueman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mgorny/blueman/git/refs{/sha}","trees_url":"https://api.github.com/repos/mgorny/blueman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mgorny/blueman/statuses/{sha}","languages_url":"https://api.github.com/repos/mgorny/blueman/languages","stargazers_url":"https://api.github.com/repos/mgorny/blueman/stargazers","contributors_url":"https://api.github.com/repos/mgorny/blueman/contributors","subscribers_url":"https://api.github.com/repos/mgorny/blueman/subscribers","subscription_url":"https://api.github.com/repos/mgorny/blueman/subscription","commits_url":"https://api.github.com/repos/mgorny/blueman/commits{/sha}","git_commits_url":"https://api.github.com/repos/mgorny/blueman/git/commits{/sha}","comments_url":"https://api.github.com/repos/mgorny/blueman/comments{/number}","issue_comment_url":"https://api.github.com/repos/mgorny/blueman/issues/comments{/number}","contents_url":"https://api.github.com/repos/mgorny/blueman/contents/{+path}","compare_url":"https://api.github.com/repos/mgorny/blueman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mgorny/blueman/merges","archive_url":"https://api.github.com/repos/mgorny/blueman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mgorny/blueman/downloads","issues_url":"https://api.github.com/repos/mgorny/blueman/issues{/number}","pulls_url":"https://api.github.com/repos/mgorny/blueman/pulls{/number}","milestones_url":"https://api.github.com/repos/mgorny/blueman/milestones{/number}","notifications_url":"https://api.github.com/repos/mgorny/blueman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mgorny/blueman/labels{/name}","releases_url":"https://api.github.com/repos/mgorny/blueman/releases{/id}","created_at":"2015-08-08T12:58:12Z","updated_at":"2015-08-08T12:58:13Z","pushed_at":"2015-08-09T11:23:12Z","git_url":"git://github.com/mgorny/blueman.git","ssh_url":"git@github.com:mgorny/blueman.git","clone_url":"https://github.com/mgorny/blueman.git","svn_url":"https://github.com/mgorny/blueman","homepage":null,"size":8587,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"blueman-project:master","ref":"master","sha":"e657a16d10262d818278c6946472083e312750c6","user":{"login":"blueman-project","id":6680802,"avatar_url":"https://avatars.githubusercontent.com/u/6680802?v=3","gravatar_id":"","url":"https://api.github.com/users/blueman-project","html_url":"https://github.com/blueman-project","followers_url":"https://api.github.com/users/blueman-project/followers","following_url":"https://api.github.com/users/blueman-project/following{/other_user}","gists_url":"https://api.github.com/users/blueman-project/gists{/gist_id}","starred_url":"https://api.github.com/users/blueman-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueman-project/subscriptions","organizations_url":"https://api.github.com/users/blueman-project/orgs","repos_url":"https://api.github.com/users/blueman-project/repos","events_url":"https://api.github.com/users/blueman-project/events{/privacy}","received_events_url":"https://api.github.com/users/blueman-project/received_events","type":"Organization","site_admin":false},"repo":{"id":12678311,"name":"blueman","full_name":"blueman-project/blueman","owner":{"login":"blueman-project","id":6680802,"avatar_url":"https://avatars.githubusercontent.com/u/6680802?v=3","gravatar_id":"","url":"https://api.github.com/users/blueman-project","html_url":"https://github.com/blueman-project","followers_url":"https://api.github.com/users/blueman-project/followers","following_url":"https://api.github.com/users/blueman-project/following{/other_user}","gists_url":"https://api.github.com/users/blueman-project/gists{/gist_id}","starred_url":"https://api.github.com/users/blueman-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueman-project/subscriptions","organizations_url":"https://api.github.com/users/blueman-project/orgs","repos_url":"https://api.github.com/users/blueman-project/repos","events_url":"https://api.github.com/users/blueman-project/events{/privacy}","received_events_url":"https://api.github.com/users/blueman-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blueman-project/blueman","description":"","fork":false,"url":"https://api.github.com/repos/blueman-project/blueman","forks_url":"https://api.github.com/repos/blueman-project/blueman/forks","keys_url":"https://api.github.com/repos/blueman-project/blueman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blueman-project/blueman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blueman-project/blueman/teams","hooks_url":"https://api.github.com/repos/blueman-project/blueman/hooks","issue_events_url":"https://api.github.com/repos/blueman-project/blueman/issues/events{/number}","events_url":"https://api.github.com/repos/blueman-project/blueman/events","assignees_url":"https://api.github.com/repos/blueman-project/blueman/assignees{/user}","branches_url":"https://api.github.com/repos/blueman-project/blueman/branches{/branch}","tags_url":"https://api.github.com/repos/blueman-project/blueman/tags","blobs_url":"https://api.github.com/repos/blueman-project/blueman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blueman-project/blueman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blueman-project/blueman/git/refs{/sha}","trees_url":"https://api.github.com/repos/blueman-project/blueman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blueman-project/blueman/statuses/{sha}","languages_url":"https://api.github.com/repos/blueman-project/blueman/languages","stargazers_url":"https://api.github.com/repos/blueman-project/blueman/stargazers","contributors_url":"https://api.github.com/repos/blueman-project/blueman/contributors","subscribers_url":"https://api.github.com/repos/blueman-project/blueman/subscribers","subscription_url":"https://api.github.com/repos/blueman-project/blueman/subscription","commits_url":"https://api.github.com/repos/blueman-project/blueman/commits{/sha}","git_commits_url":"https://api.github.com/repos/blueman-project/blueman/git/commits{/sha}","comments_url":"https://api.github.com/repos/blueman-project/blueman/comments{/number}","issue_comment_url":"https://api.github.com/repos/blueman-project/blueman/issues/comments{/number}","contents_url":"https://api.github.com/repos/blueman-project/blueman/contents/{+path}","compare_url":"https://api.github.com/repos/blueman-project/blueman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blueman-project/blueman/merges","archive_url":"https://api.github.com/repos/blueman-project/blueman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blueman-project/blueman/downloads","issues_url":"https://api.github.com/repos/blueman-project/blueman/issues{/number}","pulls_url":"https://api.github.com/repos/blueman-project/blueman/pulls{/number}","milestones_url":"https://api.github.com/repos/blueman-project/blueman/milestones{/number}","notifications_url":"https://api.github.com/repos/blueman-project/blueman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blueman-project/blueman/labels{/name}","releases_url":"https://api.github.com/repos/blueman-project/blueman/releases{/id}","created_at":"2013-09-08T08:52:52Z","updated_at":"2015-08-17T12:44:40Z","pushed_at":"2015-08-19T05:37:42Z","git_url":"git://github.com/blueman-project/blueman.git","ssh_url":"git@github.com:blueman-project/blueman.git","clone_url":"https://github.com/blueman-project/blueman.git","svn_url":"https://github.com/blueman-project/blueman","homepage":null,"size":11504,"stargazers_count":69,"watchers_count":69,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":24,"forks":39,"open_issues":24,"watchers":69,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/blueman-project/blueman/pulls/336"},"html":{"href":"https://github.com/blueman-project/blueman/pull/336"},"issue":{"href":"https://api.github.com/repos/blueman-project/blueman/issues/336"},"comments":{"href":"https://api.github.com/repos/blueman-project/blueman/issues/336/comments"},"review_comments":{"href":"https://api.github.com/repos/blueman-project/blueman/pulls/336/comments"},"review_comment":{"href":"https://api.github.com/repos/blueman-project/blueman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/blueman-project/blueman/pulls/336/commits"},"statuses":{"href":"https://api.github.com/repos/blueman-project/blueman/statuses/37887bfc0d44fcc1d1f717c6d19b0cbb1fbba670"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":7,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}