{"action":"created","comment":{"url":"https://api.github.com/repos/rpm-software-management/rpmlint/pulls/comments/127002527","pull_request_review_id":49543487,"id":127002527,"diff_hunk":"@@ -300,7 +300,7 @@ def __init__(self, pkg, path, file, is_ar, is_shlib):\n bin_regex = re.compile(r'^(/usr(/X11R6)?)?/s?bin/')\n soversion_regex = re.compile(r'.*?([0-9][.0-9]*)\\\\.so|.*\\\\.so\\\\.([0-9][.0-9]*).*')\n reference_regex = re.compile(r'\\.la$|^/usr/lib(64)?/pkgconfig/')\n-usr_lib_exception_regex = re.compile(Config.getOption('UsrLibBinaryException', r'^/usr/lib(64)?/(perl|python|ruby|menu|pkgconfig|ocaml|lib[^/]+\\.(so|l?a)$|bonobo/servers/)'))\n+usr_lib_exception_regex = re.compile(Config.getOption('UsrLibBinaryException', r'^/usr/lib(64)?/(perl|python|ruby|menu|pkgconfig|ocaml|lib[^/]+\\.(so|l?a)$|bonobo/servers/|\\\\.build-id)'))","path":"BinariesCheck.py","position":5,"original_position":5,"commit_id":"99161c7ac01d79f574f8513cbd2709afb2af1422","original_commit_id":"99161c7ac01d79f574f8513cbd2709afb2af1422","user":{"login":"scop","id":109152,"avatar_url":"https://avatars2.githubusercontent.com/u/109152?v=3","gravatar_id":"","url":"https://api.github.com/users/scop","html_url":"https://github.com/scop","followers_url":"https://api.github.com/users/scop/followers","following_url":"https://api.github.com/users/scop/following{/other_user}","gists_url":"https://api.github.com/users/scop/gists{/gist_id}","starred_url":"https://api.github.com/users/scop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scop/subscriptions","organizations_url":"https://api.github.com/users/scop/orgs","repos_url":"https://api.github.com/users/scop/repos","events_url":"https://api.github.com/users/scop/events{/privacy}","received_events_url":"https://api.github.com/users/scop/received_events","type":"User","site_admin":false},"body":"There's a double backslash escape here, note that the regex is a raw string nowadays. I'll push a fixed commit shortly.","created_at":"2017-07-12T16:20:12Z","updated_at":"2017-07-12T16:20:12Z","html_url":"https://github.com/rpm-software-management/rpmlint/pull/107#discussion_r127002527","pull_request_url":"https://api.github.com/repos/rpm-software-management/rpmlint/pulls/107","_links":{"self":{"href":"https://api.github.com/repos/rpm-software-management/rpmlint/pulls/comments/127002527"},"html":{"href":"https://github.com/rpm-software-management/rpmlint/pull/107#discussion_r127002527"},"pull_request":{"href":"https://api.github.com/repos/rpm-software-management/rpmlint/pulls/107"}}},"pull_request":{"url":"https://api.github.com/repos/rpm-software-management/rpmlint/pulls/107","id":129695909,"html_url":"https://github.com/rpm-software-management/rpmlint/pull/107","diff_url":"https://github.com/rpm-software-management/rpmlint/pull/107.diff","patch_url":"https://github.com/rpm-software-management/rpmlint/pull/107.patch","issue_url":"https://api.github.com/repos/rpm-software-management/rpmlint/issues/107","number":107,"state":"open","locked":false,"title":"Patch originally written by Mark Wielaard in Fedora bugzilla.","user":{"login":"spotrh","id":1318972,"avatar_url":"https://avatars2.githubusercontent.com/u/1318972?v=3","gravatar_id":"","url":"https://api.github.com/users/spotrh","html_url":"https://github.com/spotrh","followers_url":"https://api.github.com/users/spotrh/followers","following_url":"https://api.github.com/users/spotrh/following{/other_user}","gists_url":"https://api.github.com/users/spotrh/gists{/gist_id}","starred_url":"https://api.github.com/users/spotrh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotrh/subscriptions","organizations_url":"https://api.github.com/users/spotrh/orgs","repos_url":"https://api.github.com/users/spotrh/repos","events_url":"https://api.github.com/users/spotrh/events{/privacy}","received_events_url":"https://api.github.com/users/spotrh/received_events","type":"User","site_admin":false},"body":"Add .build-id to regex to ignore for only-non-binary-in-usr-lib.\r\nIgnore .build-id in hidden-file-or-dir checks.\r\n.build-id was added in upstream RPM: https://github.com/rpm-software-management/rpm/commit/bbfe1f86b2e4b5c0bd499d9f3dd9de9c9c20fff2","created_at":"2017-07-10T14:39:42Z","updated_at":"2017-07-12T16:20:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9f0da455f878e5cfa21cf1c83740ccdaca85059","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/rpm-software-management/rpmlint/pulls/107/commits","review_comments_url":"https://api.github.com/repos/rpm-software-management/rpmlint/pulls/107/comments","review_comment_url":"https://api.github.com/repos/rpm-software-management/rpmlint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rpm-software-management/rpmlint/issues/107/comments","statuses_url":"https://api.github.com/repos/rpm-software-management/rpmlint/statuses/99161c7ac01d79f574f8513cbd2709afb2af1422","head":{"label":"spotrh:master","ref":"master","sha":"99161c7ac01d79f574f8513cbd2709afb2af1422","user":{"login":"spotrh","id":1318972,"avatar_url":"https://avatars2.githubusercontent.com/u/1318972?v=3","gravatar_id":"","url":"https://api.github.com/users/spotrh","html_url":"https://github.com/spotrh","followers_url":"https://api.github.com/users/spotrh/followers","following_url":"https://api.github.com/users/spotrh/following{/other_user}","gists_url":"https://api.github.com/users/spotrh/gists{/gist_id}","starred_url":"https://api.github.com/users/spotrh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotrh/subscriptions","organizations_url":"https://api.github.com/users/spotrh/orgs","repos_url":"https://api.github.com/users/spotrh/repos","events_url":"https://api.github.com/users/spotrh/events{/privacy}","received_events_url":"https://api.github.com/users/spotrh/received_events","type":"User","site_admin":false},"repo":{"id":96786721,"name":"rpmlint","full_name":"spotrh/rpmlint","owner":{"login":"spotrh","id":1318972,"avatar_url":"https://avatars2.githubusercontent.com/u/1318972?v=3","gravatar_id":"","url":"https://api.github.com/users/spotrh","html_url":"https://github.com/spotrh","followers_url":"https://api.github.com/users/spotrh/followers","following_url":"https://api.github.com/users/spotrh/following{/other_user}","gists_url":"https://api.github.com/users/spotrh/gists{/gist_id}","starred_url":"https://api.github.com/users/spotrh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotrh/subscriptions","organizations_url":"https://api.github.com/users/spotrh/orgs","repos_url":"https://api.github.com/users/spotrh/repos","events_url":"https://api.github.com/users/spotrh/events{/privacy}","received_events_url":"https://api.github.com/users/spotrh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spotrh/rpmlint","description":"Tool for checking common errors in rpm packages","fork":true,"url":"https://api.github.com/repos/spotrh/rpmlint","forks_url":"https://api.github.com/repos/spotrh/rpmlint/forks","keys_url":"https://api.github.com/repos/spotrh/rpmlint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spotrh/rpmlint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spotrh/rpmlint/teams","hooks_url":"https://api.github.com/repos/spotrh/rpmlint/hooks","issue_events_url":"https://api.github.com/repos/spotrh/rpmlint/issues/events{/number}","events_url":"https://api.github.com/repos/spotrh/rpmlint/events","assignees_url":"https://api.github.com/repos/spotrh/rpmlint/assignees{/user}","branches_url":"https://api.github.com/repos/spotrh/rpmlint/branches{/branch}","tags_url":"https://api.github.com/repos/spotrh/rpmlint/tags","blobs_url":"https://api.github.com/repos/spotrh/rpmlint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spotrh/rpmlint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spotrh/rpmlint/git/refs{/sha}","trees_url":"https://api.github.com/repos/spotrh/rpmlint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spotrh/rpmlint/statuses/{sha}","languages_url":"https://api.github.com/repos/spotrh/rpmlint/languages","stargazers_url":"https://api.github.com/repos/spotrh/rpmlint/stargazers","contributors_url":"https://api.github.com/repos/spotrh/rpmlint/contributors","subscribers_url":"https://api.github.com/repos/spotrh/rpmlint/subscribers","subscription_url":"https://api.github.com/repos/spotrh/rpmlint/subscription","commits_url":"https://api.github.com/repos/spotrh/rpmlint/commits{/sha}","git_commits_url":"https://api.github.com/repos/spotrh/rpmlint/git/commits{/sha}","comments_url":"https://api.github.com/repos/spotrh/rpmlint/comments{/number}","issue_comment_url":"https://api.github.com/repos/spotrh/rpmlint/issues/comments{/number}","contents_url":"https://api.github.com/repos/spotrh/rpmlint/contents/{+path}","compare_url":"https://api.github.com/repos/spotrh/rpmlint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spotrh/rpmlint/merges","archive_url":"https://api.github.com/repos/spotrh/rpmlint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spotrh/rpmlint/downloads","issues_url":"https://api.github.com/repos/spotrh/rpmlint/issues{/number}","pulls_url":"https://api.github.com/repos/spotrh/rpmlint/pulls{/number}","milestones_url":"https://api.github.com/repos/spotrh/rpmlint/milestones{/number}","notifications_url":"https://api.github.com/repos/spotrh/rpmlint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spotrh/rpmlint/labels{/name}","releases_url":"https://api.github.com/repos/spotrh/rpmlint/releases{/id}","deployments_url":"https://api.github.com/repos/spotrh/rpmlint/deployments","created_at":"2017-07-10T14:26:49Z","updated_at":"2017-07-10T14:26:51Z","pushed_at":"2017-07-10T14:39:05Z","git_url":"git://github.com/spotrh/rpmlint.git","ssh_url":"git@github.com:spotrh/rpmlint.git","clone_url":"https://github.com/spotrh/rpmlint.git","svn_url":"https://github.com/spotrh/rpmlint","homepage":"","size":21815,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"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":"rpm-software-management:master","ref":"master","sha":"3251ad2e519a964c9fd0fec115f9a3922fe79f54","user":{"login":"rpm-software-management","id":8504469,"avatar_url":"https://avatars0.githubusercontent.com/u/8504469?v=3","gravatar_id":"","url":"https://api.github.com/users/rpm-software-management","html_url":"https://github.com/rpm-software-management","followers_url":"https://api.github.com/users/rpm-software-management/followers","following_url":"https://api.github.com/users/rpm-software-management/following{/other_user}","gists_url":"https://api.github.com/users/rpm-software-management/gists{/gist_id}","starred_url":"https://api.github.com/users/rpm-software-management/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpm-software-management/subscriptions","organizations_url":"https://api.github.com/users/rpm-software-management/orgs","repos_url":"https://api.github.com/users/rpm-software-management/repos","events_url":"https://api.github.com/users/rpm-software-management/events{/privacy}","received_events_url":"https://api.github.com/users/rpm-software-management/received_events","type":"Organization","site_admin":false},"repo":{"id":38818937,"name":"rpmlint","full_name":"rpm-software-management/rpmlint","owner":{"login":"rpm-software-management","id":8504469,"avatar_url":"https://avatars0.githubusercontent.com/u/8504469?v=3","gravatar_id":"","url":"https://api.github.com/users/rpm-software-management","html_url":"https://github.com/rpm-software-management","followers_url":"https://api.github.com/users/rpm-software-management/followers","following_url":"https://api.github.com/users/rpm-software-management/following{/other_user}","gists_url":"https://api.github.com/users/rpm-software-management/gists{/gist_id}","starred_url":"https://api.github.com/users/rpm-software-management/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpm-software-management/subscriptions","organizations_url":"https://api.github.com/users/rpm-software-management/orgs","repos_url":"https://api.github.com/users/rpm-software-management/repos","events_url":"https://api.github.com/users/rpm-software-management/events{/privacy}","received_events_url":"https://api.github.com/users/rpm-software-management/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rpm-software-management/rpmlint","description":"Tool for checking common errors in rpm packages","fork":false,"url":"https://api.github.com/repos/rpm-software-management/rpmlint","forks_url":"https://api.github.com/repos/rpm-software-management/rpmlint/forks","keys_url":"https://api.github.com/repos/rpm-software-management/rpmlint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rpm-software-management/rpmlint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rpm-software-management/rpmlint/teams","hooks_url":"https://api.github.com/repos/rpm-software-management/rpmlint/hooks","issue_events_url":"https://api.github.com/repos/rpm-software-management/rpmlint/issues/events{/number}","events_url":"https://api.github.com/repos/rpm-software-management/rpmlint/events","assignees_url":"https://api.github.com/repos/rpm-software-management/rpmlint/assignees{/user}","branches_url":"https://api.github.com/repos/rpm-software-management/rpmlint/branches{/branch}","tags_url":"https://api.github.com/repos/rpm-software-management/rpmlint/tags","blobs_url":"https://api.github.com/repos/rpm-software-management/rpmlint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rpm-software-management/rpmlint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rpm-software-management/rpmlint/git/refs{/sha}","trees_url":"https://api.github.com/repos/rpm-software-management/rpmlint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rpm-software-management/rpmlint/statuses/{sha}","languages_url":"https://api.github.com/repos/rpm-software-management/rpmlint/languages","stargazers_url":"https://api.github.com/repos/rpm-software-management/rpmlint/stargazers","contributors_url":"https://api.github.com/repos/rpm-software-management/rpmlint/contributors","subscribers_url":"https://api.github.com/repos/rpm-software-management/rpmlint/subscribers","subscription_url":"https://api.github.com/repos/rpm-software-management/rpmlint/subscription","commits_url":"https://api.github.com/repos/rpm-software-management/rpmlint/commits{/sha}","git_commits_url":"https://api.github.com/repos/rpm-software-management/rpmlint/git/commits{/sha}","comments_url":"https://api.github.com/repos/rpm-software-management/rpmlint/comments{/number}","issue_comment_url":"https://api.github.com/repos/rpm-software-management/rpmlint/issues/comments{/number}","contents_url":"https://api.github.com/repos/rpm-software-management/rpmlint/contents/{+path}","compare_url":"https://api.github.com/repos/rpm-software-management/rpmlint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rpm-software-management/rpmlint/merges","archive_url":"https://api.github.com/repos/rpm-software-management/rpmlint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rpm-software-management/rpmlint/downloads","issues_url":"https://api.github.com/repos/rpm-software-management/rpmlint/issues{/number}","pulls_url":"https://api.github.com/repos/rpm-software-management/rpmlint/pulls{/number}","milestones_url":"https://api.github.com/repos/rpm-software-management/rpmlint/milestones{/number}","notifications_url":"https://api.github.com/repos/rpm-software-management/rpmlint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rpm-software-management/rpmlint/labels{/name}","releases_url":"https://api.github.com/repos/rpm-software-management/rpmlint/releases{/id}","deployments_url":"https://api.github.com/repos/rpm-software-management/rpmlint/deployments","created_at":"2015-07-09T12:28:52Z","updated_at":"2017-06-15T10:33:36Z","pushed_at":"2017-07-10T14:39:43Z","git_url":"git://github.com/rpm-software-management/rpmlint.git","ssh_url":"git@github.com:rpm-software-management/rpmlint.git","clone_url":"https://github.com/rpm-software-management/rpmlint.git","svn_url":"https://github.com/rpm-software-management/rpmlint","homepage":"","size":21809,"stargazers_count":20,"watchers_count":20,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":56,"forks":24,"open_issues":56,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rpm-software-management/rpmlint/pulls/107"},"html":{"href":"https://github.com/rpm-software-management/rpmlint/pull/107"},"issue":{"href":"https://api.github.com/repos/rpm-software-management/rpmlint/issues/107"},"comments":{"href":"https://api.github.com/repos/rpm-software-management/rpmlint/issues/107/comments"},"review_comments":{"href":"https://api.github.com/repos/rpm-software-management/rpmlint/pulls/107/comments"},"review_comment":{"href":"https://api.github.com/repos/rpm-software-management/rpmlint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rpm-software-management/rpmlint/pulls/107/commits"},"statuses":{"href":"https://api.github.com/repos/rpm-software-management/rpmlint/statuses/99161c7ac01d79f574f8513cbd2709afb2af1422"}}}}
{"actor":{"display_login":"scop"}}