{"action":"created","comment":{"url":"https://api.github.com/repos/RH-FMK/skt/pulls/comments/195468499","pull_request_review_id":128844587,"id":195468499,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTQ2ODQ5OQ==","diff_hunk":"@@ -286,13 +286,15 @@ def update_mergedata(self):\n         else:\n             mergedata = self.stateconfigdata(mergedata)\n \n-        if self.cfg.get(\"cfgurl\"):\n-            response = requests.get(self.cfg.get(\"cfgurl\"))\n-            if response:\n-                mergedata['config'] = response.text\n-        else:\n-            with open(\"%s/.config\" % self.cfg.get(\"workdir\"), \"r\") as fileh:\n-                mergedata['config'] = fileh.read()\n+        if not self.cfg.get('mergelog'):","path":"skt/reporter.py","position":11,"original_position":11,"commit_id":"b890181280203a82405c7eb02b11cdb15e5bdc0f","original_commit_id":"b890181280203a82405c7eb02b11cdb15e5bdc0f","user":{"login":"spbnick","id":549246,"node_id":"MDQ6VXNlcjU0OTI0Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/549246?v=4","gravatar_id":"","url":"https://api.github.com/users/spbnick","html_url":"https://github.com/spbnick","followers_url":"https://api.github.com/users/spbnick/followers","following_url":"https://api.github.com/users/spbnick/following{/other_user}","gists_url":"https://api.github.com/users/spbnick/gists{/gist_id}","starred_url":"https://api.github.com/users/spbnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spbnick/subscriptions","organizations_url":"https://api.github.com/users/spbnick/orgs","repos_url":"https://api.github.com/users/spbnick/repos","events_url":"https://api.github.com/users/spbnick/events{/privacy}","received_events_url":"https://api.github.com/users/spbnick/received_events","type":"User","site_admin":false},"body":"It will probably be OK for now, I think. Later we'll need to be able to run report after any stage/command. Including just after merge, without build.","created_at":"2018-06-14T15:30:40Z","updated_at":"2018-06-14T15:30:40Z","html_url":"https://github.com/RH-FMK/skt/pull/222#discussion_r195468499","pull_request_url":"https://api.github.com/repos/RH-FMK/skt/pulls/222","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/RH-FMK/skt/pulls/comments/195468499"},"html":{"href":"https://github.com/RH-FMK/skt/pull/222#discussion_r195468499"},"pull_request":{"href":"https://api.github.com/repos/RH-FMK/skt/pulls/222"}},"in_reply_to_id":195467102},"pull_request":{"url":"https://api.github.com/repos/RH-FMK/skt/pulls/222","id":194930468,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0OTMwNDY4","html_url":"https://github.com/RH-FMK/skt/pull/222","diff_url":"https://github.com/RH-FMK/skt/pull/222.diff","patch_url":"https://github.com/RH-FMK/skt/pull/222.patch","issue_url":"https://api.github.com/repos/RH-FMK/skt/issues/222","number":222,"state":"open","locked":false,"title":"Only retrieve .config if the merge didn't fail","user":{"login":"veruu","id":8031381,"node_id":"MDQ6VXNlcjgwMzEzODE=","avatar_url":"https://avatars1.githubusercontent.com/u/8031381?v=4","gravatar_id":"","url":"https://api.github.com/users/veruu","html_url":"https://github.com/veruu","followers_url":"https://api.github.com/users/veruu/followers","following_url":"https://api.github.com/users/veruu/following{/other_user}","gists_url":"https://api.github.com/users/veruu/gists{/gist_id}","starred_url":"https://api.github.com/users/veruu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veruu/subscriptions","organizations_url":"https://api.github.com/users/veruu/orgs","repos_url":"https://api.github.com/users/veruu/repos","events_url":"https://api.github.com/users/veruu/events{/privacy}","received_events_url":"https://api.github.com/users/veruu/received_events","type":"User","site_admin":false},"body":"There should be no .config file if the merge failed, so don't try to\r\nretrieve nonexistent file.\r\n\r\nSigned-off-by: Veronika Kabatova <vkabatov@redhat.com>","created_at":"2018-06-14T15:22:30Z","updated_at":"2018-06-14T15:30:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99cc74be5c8d90b3ac1ff63a84e9865a6f795f44","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/RH-FMK/skt/pulls/222/commits","review_comments_url":"https://api.github.com/repos/RH-FMK/skt/pulls/222/comments","review_comment_url":"https://api.github.com/repos/RH-FMK/skt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RH-FMK/skt/issues/222/comments","statuses_url":"https://api.github.com/repos/RH-FMK/skt/statuses/b890181280203a82405c7eb02b11cdb15e5bdc0f","head":{"label":"veruu:report_all","ref":"report_all","sha":"b890181280203a82405c7eb02b11cdb15e5bdc0f","user":{"login":"veruu","id":8031381,"node_id":"MDQ6VXNlcjgwMzEzODE=","avatar_url":"https://avatars1.githubusercontent.com/u/8031381?v=4","gravatar_id":"","url":"https://api.github.com/users/veruu","html_url":"https://github.com/veruu","followers_url":"https://api.github.com/users/veruu/followers","following_url":"https://api.github.com/users/veruu/following{/other_user}","gists_url":"https://api.github.com/users/veruu/gists{/gist_id}","starred_url":"https://api.github.com/users/veruu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veruu/subscriptions","organizations_url":"https://api.github.com/users/veruu/orgs","repos_url":"https://api.github.com/users/veruu/repos","events_url":"https://api.github.com/users/veruu/events{/privacy}","received_events_url":"https://api.github.com/users/veruu/received_events","type":"User","site_admin":false},"repo":{"id":125559870,"node_id":"MDEwOlJlcG9zaXRvcnkxMjU1NTk4NzA=","name":"skt","full_name":"veruu/skt","owner":{"login":"veruu","id":8031381,"node_id":"MDQ6VXNlcjgwMzEzODE=","avatar_url":"https://avatars1.githubusercontent.com/u/8031381?v=4","gravatar_id":"","url":"https://api.github.com/users/veruu","html_url":"https://github.com/veruu","followers_url":"https://api.github.com/users/veruu/followers","following_url":"https://api.github.com/users/veruu/following{/other_user}","gists_url":"https://api.github.com/users/veruu/gists{/gist_id}","starred_url":"https://api.github.com/users/veruu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veruu/subscriptions","organizations_url":"https://api.github.com/users/veruu/orgs","repos_url":"https://api.github.com/users/veruu/repos","events_url":"https://api.github.com/users/veruu/events{/privacy}","received_events_url":"https://api.github.com/users/veruu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/veruu/skt","description":"\"Sonic Kernel Testing\" - a Linux Kernel testing tool","fork":true,"url":"https://api.github.com/repos/veruu/skt","forks_url":"https://api.github.com/repos/veruu/skt/forks","keys_url":"https://api.github.com/repos/veruu/skt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/veruu/skt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/veruu/skt/teams","hooks_url":"https://api.github.com/repos/veruu/skt/hooks","issue_events_url":"https://api.github.com/repos/veruu/skt/issues/events{/number}","events_url":"https://api.github.com/repos/veruu/skt/events","assignees_url":"https://api.github.com/repos/veruu/skt/assignees{/user}","branches_url":"https://api.github.com/repos/veruu/skt/branches{/branch}","tags_url":"https://api.github.com/repos/veruu/skt/tags","blobs_url":"https://api.github.com/repos/veruu/skt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/veruu/skt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/veruu/skt/git/refs{/sha}","trees_url":"https://api.github.com/repos/veruu/skt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/veruu/skt/statuses/{sha}","languages_url":"https://api.github.com/repos/veruu/skt/languages","stargazers_url":"https://api.github.com/repos/veruu/skt/stargazers","contributors_url":"https://api.github.com/repos/veruu/skt/contributors","subscribers_url":"https://api.github.com/repos/veruu/skt/subscribers","subscription_url":"https://api.github.com/repos/veruu/skt/subscription","commits_url":"https://api.github.com/repos/veruu/skt/commits{/sha}","git_commits_url":"https://api.github.com/repos/veruu/skt/git/commits{/sha}","comments_url":"https://api.github.com/repos/veruu/skt/comments{/number}","issue_comment_url":"https://api.github.com/repos/veruu/skt/issues/comments{/number}","contents_url":"https://api.github.com/repos/veruu/skt/contents/{+path}","compare_url":"https://api.github.com/repos/veruu/skt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/veruu/skt/merges","archive_url":"https://api.github.com/repos/veruu/skt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/veruu/skt/downloads","issues_url":"https://api.github.com/repos/veruu/skt/issues{/number}","pulls_url":"https://api.github.com/repos/veruu/skt/pulls{/number}","milestones_url":"https://api.github.com/repos/veruu/skt/milestones{/number}","notifications_url":"https://api.github.com/repos/veruu/skt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/veruu/skt/labels{/name}","releases_url":"https://api.github.com/repos/veruu/skt/releases{/id}","deployments_url":"https://api.github.com/repos/veruu/skt/deployments","created_at":"2018-03-16T19:16:20Z","updated_at":"2018-06-14T14:43:29Z","pushed_at":"2018-06-14T15:21:27Z","git_url":"git://github.com/veruu/skt.git","ssh_url":"git@github.com:veruu/skt.git","clone_url":"https://github.com/veruu/skt.git","svn_url":"https://github.com/veruu/skt","homepage":null,"size":363,"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,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RH-FMK:master","ref":"master","sha":"d8871b0d5719b77f6504b9b1c9219110f9c775e9","user":{"login":"RH-FMK","id":36988735,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2OTg4NzM1","avatar_url":"https://avatars0.githubusercontent.com/u/36988735?v=4","gravatar_id":"","url":"https://api.github.com/users/RH-FMK","html_url":"https://github.com/RH-FMK","followers_url":"https://api.github.com/users/RH-FMK/followers","following_url":"https://api.github.com/users/RH-FMK/following{/other_user}","gists_url":"https://api.github.com/users/RH-FMK/gists{/gist_id}","starred_url":"https://api.github.com/users/RH-FMK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RH-FMK/subscriptions","organizations_url":"https://api.github.com/users/RH-FMK/orgs","repos_url":"https://api.github.com/users/RH-FMK/repos","events_url":"https://api.github.com/users/RH-FMK/events{/privacy}","received_events_url":"https://api.github.com/users/RH-FMK/received_events","type":"Organization","site_admin":false},"repo":{"id":123569786,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM1Njk3ODY=","name":"skt","full_name":"RH-FMK/skt","owner":{"login":"RH-FMK","id":36988735,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2OTg4NzM1","avatar_url":"https://avatars0.githubusercontent.com/u/36988735?v=4","gravatar_id":"","url":"https://api.github.com/users/RH-FMK","html_url":"https://github.com/RH-FMK","followers_url":"https://api.github.com/users/RH-FMK/followers","following_url":"https://api.github.com/users/RH-FMK/following{/other_user}","gists_url":"https://api.github.com/users/RH-FMK/gists{/gist_id}","starred_url":"https://api.github.com/users/RH-FMK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RH-FMK/subscriptions","organizations_url":"https://api.github.com/users/RH-FMK/orgs","repos_url":"https://api.github.com/users/RH-FMK/repos","events_url":"https://api.github.com/users/RH-FMK/events{/privacy}","received_events_url":"https://api.github.com/users/RH-FMK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RH-FMK/skt","description":"\"Sonic Kernel Testing\" - a Linux Kernel testing tool","fork":false,"url":"https://api.github.com/repos/RH-FMK/skt","forks_url":"https://api.github.com/repos/RH-FMK/skt/forks","keys_url":"https://api.github.com/repos/RH-FMK/skt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RH-FMK/skt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RH-FMK/skt/teams","hooks_url":"https://api.github.com/repos/RH-FMK/skt/hooks","issue_events_url":"https://api.github.com/repos/RH-FMK/skt/issues/events{/number}","events_url":"https://api.github.com/repos/RH-FMK/skt/events","assignees_url":"https://api.github.com/repos/RH-FMK/skt/assignees{/user}","branches_url":"https://api.github.com/repos/RH-FMK/skt/branches{/branch}","tags_url":"https://api.github.com/repos/RH-FMK/skt/tags","blobs_url":"https://api.github.com/repos/RH-FMK/skt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RH-FMK/skt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RH-FMK/skt/git/refs{/sha}","trees_url":"https://api.github.com/repos/RH-FMK/skt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RH-FMK/skt/statuses/{sha}","languages_url":"https://api.github.com/repos/RH-FMK/skt/languages","stargazers_url":"https://api.github.com/repos/RH-FMK/skt/stargazers","contributors_url":"https://api.github.com/repos/RH-FMK/skt/contributors","subscribers_url":"https://api.github.com/repos/RH-FMK/skt/subscribers","subscription_url":"https://api.github.com/repos/RH-FMK/skt/subscription","commits_url":"https://api.github.com/repos/RH-FMK/skt/commits{/sha}","git_commits_url":"https://api.github.com/repos/RH-FMK/skt/git/commits{/sha}","comments_url":"https://api.github.com/repos/RH-FMK/skt/comments{/number}","issue_comment_url":"https://api.github.com/repos/RH-FMK/skt/issues/comments{/number}","contents_url":"https://api.github.com/repos/RH-FMK/skt/contents/{+path}","compare_url":"https://api.github.com/repos/RH-FMK/skt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RH-FMK/skt/merges","archive_url":"https://api.github.com/repos/RH-FMK/skt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RH-FMK/skt/downloads","issues_url":"https://api.github.com/repos/RH-FMK/skt/issues{/number}","pulls_url":"https://api.github.com/repos/RH-FMK/skt/pulls{/number}","milestones_url":"https://api.github.com/repos/RH-FMK/skt/milestones{/number}","notifications_url":"https://api.github.com/repos/RH-FMK/skt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RH-FMK/skt/labels{/name}","releases_url":"https://api.github.com/repos/RH-FMK/skt/releases{/id}","deployments_url":"https://api.github.com/repos/RH-FMK/skt/deployments","created_at":"2018-03-02T11:09:58Z","updated_at":"2018-06-14T14:28:53Z","pushed_at":"2018-06-14T15:22:31Z","git_url":"git://github.com/RH-FMK/skt.git","ssh_url":"git@github.com:RH-FMK/skt.git","clone_url":"https://github.com/RH-FMK/skt.git","svn_url":"https://github.com/RH-FMK/skt","homepage":null,"size":362,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":32,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":9,"open_issues":32,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RH-FMK/skt/pulls/222"},"html":{"href":"https://github.com/RH-FMK/skt/pull/222"},"issue":{"href":"https://api.github.com/repos/RH-FMK/skt/issues/222"},"comments":{"href":"https://api.github.com/repos/RH-FMK/skt/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/RH-FMK/skt/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/RH-FMK/skt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RH-FMK/skt/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/RH-FMK/skt/statuses/b890181280203a82405c7eb02b11cdb15e5bdc0f"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"spbnick"}}