{"action":"created","comment":{"url":"https://api.github.com/repos/SUSE/machinery/pulls/comments/46811089","id":46811089,"diff_hunk":"@@ -32,11 +32,16 @@\n   repo_dict[\"name\"] = repo.name\n   repo_dict[\"type\"] = \"rpm-md\"\n   if repo.baseurl:\n-    repo_dict[\"url\"] = repo.baseurl[0]\n+    repo_dict[\"url\"] = repo.baseurl\n   else:\n-    repo_dict[\"url\"] = \"\"\n+    repo_dict[\"url\"] = []\n+  if repo.mirrorlist:\n+    repo_dict[\"mirrorlist\"] = repo.mirrorlist\n+  else:\n+    repo_dict[\"mirrorlist\"] = \"\"","path":"inspect_helpers/yum_repositories.py","position":12,"original_position":12,"commit_id":"b08e11766d752faf40e7eb9659a92ea2f86c6aa5","original_commit_id":"b08e11766d752faf40e7eb9659a92ea2f86c6aa5","user":{"login":"mauromorales","id":433958,"avatar_url":"https://avatars.githubusercontent.com/u/433958?v=3","gravatar_id":"","url":"https://api.github.com/users/mauromorales","html_url":"https://github.com/mauromorales","followers_url":"https://api.github.com/users/mauromorales/followers","following_url":"https://api.github.com/users/mauromorales/following{/other_user}","gists_url":"https://api.github.com/users/mauromorales/gists{/gist_id}","starred_url":"https://api.github.com/users/mauromorales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauromorales/subscriptions","organizations_url":"https://api.github.com/users/mauromorales/orgs","repos_url":"https://api.github.com/users/mauromorales/repos","events_url":"https://api.github.com/users/mauromorales/events{/privacy}","received_events_url":"https://api.github.com/users/mauromorales/received_events","type":"User","site_admin":false},"body":"same logic here","created_at":"2015-12-07T11:30:44Z","updated_at":"2015-12-07T11:30:44Z","html_url":"https://github.com/SUSE/machinery/pull/1750#discussion_r46811089","pull_request_url":"https://api.github.com/repos/SUSE/machinery/pulls/1750","_links":{"self":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/comments/46811089"},"html":{"href":"https://github.com/SUSE/machinery/pull/1750#discussion_r46811089"},"pull_request":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/1750"}}},"pull_request":{"url":"https://api.github.com/repos/SUSE/machinery/pulls/1750","id":52682541,"html_url":"https://github.com/SUSE/machinery/pull/1750","diff_url":"https://github.com/SUSE/machinery/pull/1750.diff","patch_url":"https://github.com/SUSE/machinery/pull/1750.patch","issue_url":"https://api.github.com/repos/SUSE/machinery/issues/1750","number":1750,"state":"open","locked":false,"title":"Add additional yum repo attributes","user":{"login":"thardeck","id":2063848,"avatar_url":"https://avatars.githubusercontent.com/u/2063848?v=3","gravatar_id":"","url":"https://api.github.com/users/thardeck","html_url":"https://github.com/thardeck","followers_url":"https://api.github.com/users/thardeck/followers","following_url":"https://api.github.com/users/thardeck/following{/other_user}","gists_url":"https://api.github.com/users/thardeck/gists{/gist_id}","starred_url":"https://api.github.com/users/thardeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thardeck/subscriptions","organizations_url":"https://api.github.com/users/thardeck/orgs","repos_url":"https://api.github.com/users/thardeck/repos","events_url":"https://api.github.com/users/thardeck/events{/privacy}","received_events_url":"https://api.github.com/users/thardeck/received_events","type":"User","site_admin":false},"body":"I will adapt the html part after #1743 is merged.\r\n\r\nFixes #1610","created_at":"2015-12-04T15:29:40Z","updated_at":"2015-12-07T11:30:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e2581927c45f5fa9177e6e2b954a6c9a2c194d32","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SUSE/machinery/pulls/1750/commits","review_comments_url":"https://api.github.com/repos/SUSE/machinery/pulls/1750/comments","review_comment_url":"https://api.github.com/repos/SUSE/machinery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SUSE/machinery/issues/1750/comments","statuses_url":"https://api.github.com/repos/SUSE/machinery/statuses/b08e11766d752faf40e7eb9659a92ea2f86c6aa5","head":{"label":"SUSE:add_additional_yump_repo_attributes","ref":"add_additional_yump_repo_attributes","sha":"b08e11766d752faf40e7eb9659a92ea2f86c6aa5","user":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":21424418,"name":"machinery","full_name":"SUSE/machinery","owner":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SUSE/machinery","description":"A systems management toolkit for Linux","fork":false,"url":"https://api.github.com/repos/SUSE/machinery","forks_url":"https://api.github.com/repos/SUSE/machinery/forks","keys_url":"https://api.github.com/repos/SUSE/machinery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SUSE/machinery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SUSE/machinery/teams","hooks_url":"https://api.github.com/repos/SUSE/machinery/hooks","issue_events_url":"https://api.github.com/repos/SUSE/machinery/issues/events{/number}","events_url":"https://api.github.com/repos/SUSE/machinery/events","assignees_url":"https://api.github.com/repos/SUSE/machinery/assignees{/user}","branches_url":"https://api.github.com/repos/SUSE/machinery/branches{/branch}","tags_url":"https://api.github.com/repos/SUSE/machinery/tags","blobs_url":"https://api.github.com/repos/SUSE/machinery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SUSE/machinery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SUSE/machinery/git/refs{/sha}","trees_url":"https://api.github.com/repos/SUSE/machinery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SUSE/machinery/statuses/{sha}","languages_url":"https://api.github.com/repos/SUSE/machinery/languages","stargazers_url":"https://api.github.com/repos/SUSE/machinery/stargazers","contributors_url":"https://api.github.com/repos/SUSE/machinery/contributors","subscribers_url":"https://api.github.com/repos/SUSE/machinery/subscribers","subscription_url":"https://api.github.com/repos/SUSE/machinery/subscription","commits_url":"https://api.github.com/repos/SUSE/machinery/commits{/sha}","git_commits_url":"https://api.github.com/repos/SUSE/machinery/git/commits{/sha}","comments_url":"https://api.github.com/repos/SUSE/machinery/comments{/number}","issue_comment_url":"https://api.github.com/repos/SUSE/machinery/issues/comments{/number}","contents_url":"https://api.github.com/repos/SUSE/machinery/contents/{+path}","compare_url":"https://api.github.com/repos/SUSE/machinery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SUSE/machinery/merges","archive_url":"https://api.github.com/repos/SUSE/machinery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SUSE/machinery/downloads","issues_url":"https://api.github.com/repos/SUSE/machinery/issues{/number}","pulls_url":"https://api.github.com/repos/SUSE/machinery/pulls{/number}","milestones_url":"https://api.github.com/repos/SUSE/machinery/milestones{/number}","notifications_url":"https://api.github.com/repos/SUSE/machinery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SUSE/machinery/labels{/name}","releases_url":"https://api.github.com/repos/SUSE/machinery/releases{/id}","created_at":"2014-07-02T13:07:04Z","updated_at":"2015-12-03T15:03:32Z","pushed_at":"2015-12-05T06:08:09Z","git_url":"git://github.com/SUSE/machinery.git","ssh_url":"git@github.com:SUSE/machinery.git","clone_url":"https://github.com/SUSE/machinery.git","svn_url":"https://github.com/SUSE/machinery","homepage":"machinery-project.org","size":60871,"stargazers_count":79,"watchers_count":79,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":58,"forks":14,"open_issues":58,"watchers":79,"default_branch":"master"}},"base":{"label":"SUSE:ubuntu_inspection","ref":"ubuntu_inspection","sha":"1d1d328e6bf16c9bbfc0cf9213db4a533476eb0c","user":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":21424418,"name":"machinery","full_name":"SUSE/machinery","owner":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SUSE/machinery","description":"A systems management toolkit for Linux","fork":false,"url":"https://api.github.com/repos/SUSE/machinery","forks_url":"https://api.github.com/repos/SUSE/machinery/forks","keys_url":"https://api.github.com/repos/SUSE/machinery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SUSE/machinery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SUSE/machinery/teams","hooks_url":"https://api.github.com/repos/SUSE/machinery/hooks","issue_events_url":"https://api.github.com/repos/SUSE/machinery/issues/events{/number}","events_url":"https://api.github.com/repos/SUSE/machinery/events","assignees_url":"https://api.github.com/repos/SUSE/machinery/assignees{/user}","branches_url":"https://api.github.com/repos/SUSE/machinery/branches{/branch}","tags_url":"https://api.github.com/repos/SUSE/machinery/tags","blobs_url":"https://api.github.com/repos/SUSE/machinery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SUSE/machinery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SUSE/machinery/git/refs{/sha}","trees_url":"https://api.github.com/repos/SUSE/machinery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SUSE/machinery/statuses/{sha}","languages_url":"https://api.github.com/repos/SUSE/machinery/languages","stargazers_url":"https://api.github.com/repos/SUSE/machinery/stargazers","contributors_url":"https://api.github.com/repos/SUSE/machinery/contributors","subscribers_url":"https://api.github.com/repos/SUSE/machinery/subscribers","subscription_url":"https://api.github.com/repos/SUSE/machinery/subscription","commits_url":"https://api.github.com/repos/SUSE/machinery/commits{/sha}","git_commits_url":"https://api.github.com/repos/SUSE/machinery/git/commits{/sha}","comments_url":"https://api.github.com/repos/SUSE/machinery/comments{/number}","issue_comment_url":"https://api.github.com/repos/SUSE/machinery/issues/comments{/number}","contents_url":"https://api.github.com/repos/SUSE/machinery/contents/{+path}","compare_url":"https://api.github.com/repos/SUSE/machinery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SUSE/machinery/merges","archive_url":"https://api.github.com/repos/SUSE/machinery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SUSE/machinery/downloads","issues_url":"https://api.github.com/repos/SUSE/machinery/issues{/number}","pulls_url":"https://api.github.com/repos/SUSE/machinery/pulls{/number}","milestones_url":"https://api.github.com/repos/SUSE/machinery/milestones{/number}","notifications_url":"https://api.github.com/repos/SUSE/machinery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SUSE/machinery/labels{/name}","releases_url":"https://api.github.com/repos/SUSE/machinery/releases{/id}","created_at":"2014-07-02T13:07:04Z","updated_at":"2015-12-03T15:03:32Z","pushed_at":"2015-12-05T06:08:09Z","git_url":"git://github.com/SUSE/machinery.git","ssh_url":"git@github.com:SUSE/machinery.git","clone_url":"https://github.com/SUSE/machinery.git","svn_url":"https://github.com/SUSE/machinery","homepage":"machinery-project.org","size":60871,"stargazers_count":79,"watchers_count":79,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":58,"forks":14,"open_issues":58,"watchers":79,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/1750"},"html":{"href":"https://github.com/SUSE/machinery/pull/1750"},"issue":{"href":"https://api.github.com/repos/SUSE/machinery/issues/1750"},"comments":{"href":"https://api.github.com/repos/SUSE/machinery/issues/1750/comments"},"review_comments":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/1750/comments"},"review_comment":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/1750/commits"},"statuses":{"href":"https://api.github.com/repos/SUSE/machinery/statuses/b08e11766d752faf40e7eb9659a92ea2f86c6aa5"}}}}