{"action":"created","comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments/43781562","id":43781562,"diff_hunk":"@@ -190,7 +191,7 @@ def remove_packages(module, pacman_path, packages):\n     # Using a for loop incase of error, we can report the package that failed\n     for package in packages:\n         # Query the package first, to see if we even need to remove\n-        installed, updated = query_package(module, pacman_path, package)\n+        installed, updated, latestError = query_package(module, pacman_path, package)","path":"packaging/os/pacman.py","position":37,"original_position":37,"commit_id":"d00f202949f7487cd623010e341e908651664794","original_commit_id":"d00f202949f7487cd623010e341e908651664794","user":{"login":"indrajitr","id":93846,"avatar_url":"https://avatars.githubusercontent.com/u/93846?v=3","gravatar_id":"","url":"https://api.github.com/users/indrajitr","html_url":"https://github.com/indrajitr","followers_url":"https://api.github.com/users/indrajitr/followers","following_url":"https://api.github.com/users/indrajitr/following{/other_user}","gists_url":"https://api.github.com/users/indrajitr/gists{/gist_id}","starred_url":"https://api.github.com/users/indrajitr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indrajitr/subscriptions","organizations_url":"https://api.github.com/users/indrajitr/orgs","repos_url":"https://api.github.com/users/indrajitr/repos","events_url":"https://api.github.com/users/indrajitr/events{/privacy}","received_events_url":"https://api.github.com/users/indrajitr/received_events","type":"User","site_admin":false},"body":"Would prefer the name `latestUnknown` instead of `latestError` for clarity.","created_at":"2015-11-03T17:51:20Z","updated_at":"2015-11-03T17:51:20Z","html_url":"https://github.com/ansible/ansible-modules-extras/pull/1148#discussion_r43781562","pull_request_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1148","_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments/43781562"},"html":{"href":"https://github.com/ansible/ansible-modules-extras/pull/1148#discussion_r43781562"},"pull_request":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1148"}}},"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1148","id":48543895,"html_url":"https://github.com/ansible/ansible-modules-extras/pull/1148","diff_url":"https://github.com/ansible/ansible-modules-extras/pull/1148.diff","patch_url":"https://github.com/ansible/ansible-modules-extras/pull/1148.patch","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1148","number":1148,"state":"open","locked":false,"title":"Module Fix: Pacman","user":{"login":"TecSet","id":6248154,"avatar_url":"https://avatars.githubusercontent.com/u/6248154?v=3","gravatar_id":"","url":"https://api.github.com/users/TecSet","html_url":"https://github.com/TecSet","followers_url":"https://api.github.com/users/TecSet/followers","following_url":"https://api.github.com/users/TecSet/following{/other_user}","gists_url":"https://api.github.com/users/TecSet/gists{/gist_id}","starred_url":"https://api.github.com/users/TecSet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TecSet/subscriptions","organizations_url":"https://api.github.com/users/TecSet/orgs","repos_url":"https://api.github.com/users/TecSet/repos","events_url":"https://api.github.com/users/TecSet/events{/privacy}","received_events_url":"https://api.github.com/users/TecSet/received_events","type":"User","site_admin":false},"body":"* Being unable to fetch remote Version has led to unnecessary reinstalling of packages (state=latest) [[1104](https://github.com/ansible/ansible-modules-extras/pull/1104#issuecomment-149603668)]\r\n* Dry run of upgrade returned the Number of Packages increased by 1 [[1104](https://github.com/ansible/ansible-modules-extras/pull/1104#issuecomment-150118037)]","created_at":"2015-10-23T05:38:34Z","updated_at":"2015-11-03T17:51:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7175611e7f01baf5645542e2bf28d9f61f049f4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1148/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1148/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1148/comments","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/d00f202949f7487cd623010e341e908651664794","head":{"label":"TecSet:devel-pacman-fixes","ref":"devel-pacman-fixes","sha":"d00f202949f7487cd623010e341e908651664794","user":{"login":"TecSet","id":6248154,"avatar_url":"https://avatars.githubusercontent.com/u/6248154?v=3","gravatar_id":"","url":"https://api.github.com/users/TecSet","html_url":"https://github.com/TecSet","followers_url":"https://api.github.com/users/TecSet/followers","following_url":"https://api.github.com/users/TecSet/following{/other_user}","gists_url":"https://api.github.com/users/TecSet/gists{/gist_id}","starred_url":"https://api.github.com/users/TecSet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TecSet/subscriptions","organizations_url":"https://api.github.com/users/TecSet/orgs","repos_url":"https://api.github.com/users/TecSet/repos","events_url":"https://api.github.com/users/TecSet/events{/privacy}","received_events_url":"https://api.github.com/users/TecSet/received_events","type":"User","site_admin":false},"repo":{"id":44229513,"name":"ansible-modules-extras","full_name":"TecSet/ansible-modules-extras","owner":{"login":"TecSet","id":6248154,"avatar_url":"https://avatars.githubusercontent.com/u/6248154?v=3","gravatar_id":"","url":"https://api.github.com/users/TecSet","html_url":"https://github.com/TecSet","followers_url":"https://api.github.com/users/TecSet/followers","following_url":"https://api.github.com/users/TecSet/following{/other_user}","gists_url":"https://api.github.com/users/TecSet/gists{/gist_id}","starred_url":"https://api.github.com/users/TecSet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TecSet/subscriptions","organizations_url":"https://api.github.com/users/TecSet/orgs","repos_url":"https://api.github.com/users/TecSet/repos","events_url":"https://api.github.com/users/TecSet/events{/privacy}","received_events_url":"https://api.github.com/users/TecSet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TecSet/ansible-modules-extras","description":"Ansible extra modules - these modules ship with ansible","fork":true,"url":"https://api.github.com/repos/TecSet/ansible-modules-extras","forks_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/forks","keys_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/teams","hooks_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/hooks","issue_events_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/issues/events{/number}","events_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/events","assignees_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/assignees{/user}","branches_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/branches{/branch}","tags_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/tags","blobs_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/git/refs{/sha}","trees_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/statuses/{sha}","languages_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/languages","stargazers_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/stargazers","contributors_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/contributors","subscribers_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/subscribers","subscription_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/subscription","commits_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/commits{/sha}","git_commits_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/git/commits{/sha}","comments_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/comments{/number}","issue_comment_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/issues/comments{/number}","contents_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/contents/{+path}","compare_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/merges","archive_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/downloads","issues_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/issues{/number}","pulls_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/pulls{/number}","milestones_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/milestones{/number}","notifications_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/labels{/name}","releases_url":"https://api.github.com/repos/TecSet/ansible-modules-extras/releases{/id}","created_at":"2015-10-14T06:53:02Z","updated_at":"2015-10-14T06:53:05Z","pushed_at":"2015-10-23T05:54:05Z","git_url":"git://github.com/TecSet/ansible-modules-extras.git","ssh_url":"git@github.com:TecSet/ansible-modules-extras.git","clone_url":"https://github.com/TecSet/ansible-modules-extras.git","svn_url":"https://github.com/TecSet/ansible-modules-extras","homepage":"","size":7812,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"b65a583902f4486023d1e89864eb36c48acf9d00","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":24474138,"name":"ansible-modules-extras","full_name":"ansible/ansible-modules-extras","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ansible/ansible-modules-extras","description":"Ansible extra modules - these modules ship with ansible","fork":false,"url":"https://api.github.com/repos/ansible/ansible-modules-extras","forks_url":"https://api.github.com/repos/ansible/ansible-modules-extras/forks","keys_url":"https://api.github.com/repos/ansible/ansible-modules-extras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible-modules-extras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible-modules-extras/teams","hooks_url":"https://api.github.com/repos/ansible/ansible-modules-extras/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/events","assignees_url":"https://api.github.com/repos/ansible/ansible-modules-extras/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible-modules-extras/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible-modules-extras/tags","blobs_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible-modules-extras/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible-modules-extras/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible-modules-extras/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible-modules-extras/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible-modules-extras/subscription","commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible-modules-extras/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible-modules-extras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible-modules-extras/merges","archive_url":"https://api.github.com/repos/ansible/ansible-modules-extras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible-modules-extras/downloads","issues_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible-modules-extras/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible-modules-extras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible-modules-extras/releases{/id}","created_at":"2014-09-25T20:28:42Z","updated_at":"2015-11-02T00:28:22Z","pushed_at":"2015-11-03T17:50:30Z","git_url":"git://github.com/ansible/ansible-modules-extras.git","ssh_url":"git@github.com:ansible/ansible-modules-extras.git","clone_url":"https://github.com/ansible/ansible-modules-extras.git","svn_url":"https://github.com/ansible/ansible-modules-extras","homepage":"","size":39195,"stargazers_count":365,"watchers_count":365,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":763,"mirror_url":null,"open_issues_count":300,"forks":763,"open_issues":300,"watchers":365,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1148"},"html":{"href":"https://github.com/ansible/ansible-modules-extras/pull/1148"},"issue":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1148"},"comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1148/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1148/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1148/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/d00f202949f7487cd623010e341e908651664794"}}}}