{"action":"closed","number":2870,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2870","id":57063671,"html_url":"https://github.com/ansible/ansible-modules-core/pull/2870","diff_url":"https://github.com/ansible/ansible-modules-core/pull/2870.diff","patch_url":"https://github.com/ansible/ansible-modules-core/pull/2870.patch","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2870","number":2870,"state":"closed","locked":false,"title":"Add custom diff field to synchronize module","user":{"login":"towolf","id":345210,"avatar_url":"https://avatars.githubusercontent.com/u/345210?v=3","gravatar_id":"","url":"https://api.github.com/users/towolf","html_url":"https://github.com/towolf","followers_url":"https://api.github.com/users/towolf/followers","following_url":"https://api.github.com/users/towolf/following{/other_user}","gists_url":"https://api.github.com/users/towolf/gists{/gist_id}","starred_url":"https://api.github.com/users/towolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/towolf/subscriptions","organizations_url":"https://api.github.com/users/towolf/orgs","repos_url":"https://api.github.com/users/towolf/repos","events_url":"https://api.github.com/users/towolf/events{/privacy}","received_events_url":"https://api.github.com/users/towolf/received_events","type":"User","site_admin":false},"body":"This PR depends on pull request ansible/ansible#14105\r\n\r\nrsync has a custom diff output that cannot easily be expressed as\r\n`/usr/bin/diff before after`\r\n\r\nUse the diff['custom'] key introduced in the above PR to show a useful diff to the user who requested it.\r\n\r\nCloses Issue https://github.com/ansible/ansible/issues/11262","created_at":"2016-01-25T12:16:14Z","updated_at":"2016-01-26T15:09:20Z","closed_at":"2016-01-26T15:09:20Z","merged_at":"2016-01-26T15:09:20Z","merge_commit_sha":"71f65965b75d9923837bb7ba5945c99231c24a1e","assignee":null,"milestone":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/milestones/1","html_url":"https://github.com/ansible/ansible-modules-core/milestones/2.1.0","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/milestones/1/labels","id":996115,"number":1,"title":"2.1.0","description":"","creator":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":62,"state":"open","created_at":"2015-02-26T01:01:13Z","updated_at":"2016-01-26T15:09:20Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2870/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2870/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2870/comments","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-core/statuses/cd3b9366fe223039b010631c31c84bd27f28ae29","head":{"label":"towolf:add_diff_to_synchronize","ref":"add_diff_to_synchronize","sha":"cd3b9366fe223039b010631c31c84bd27f28ae29","user":{"login":"towolf","id":345210,"avatar_url":"https://avatars.githubusercontent.com/u/345210?v=3","gravatar_id":"","url":"https://api.github.com/users/towolf","html_url":"https://github.com/towolf","followers_url":"https://api.github.com/users/towolf/followers","following_url":"https://api.github.com/users/towolf/following{/other_user}","gists_url":"https://api.github.com/users/towolf/gists{/gist_id}","starred_url":"https://api.github.com/users/towolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/towolf/subscriptions","organizations_url":"https://api.github.com/users/towolf/orgs","repos_url":"https://api.github.com/users/towolf/repos","events_url":"https://api.github.com/users/towolf/events{/privacy}","received_events_url":"https://api.github.com/users/towolf/received_events","type":"User","site_admin":false},"repo":{"id":50348289,"name":"ansible-modules-core","full_name":"towolf/ansible-modules-core","owner":{"login":"towolf","id":345210,"avatar_url":"https://avatars.githubusercontent.com/u/345210?v=3","gravatar_id":"","url":"https://api.github.com/users/towolf","html_url":"https://github.com/towolf","followers_url":"https://api.github.com/users/towolf/followers","following_url":"https://api.github.com/users/towolf/following{/other_user}","gists_url":"https://api.github.com/users/towolf/gists{/gist_id}","starred_url":"https://api.github.com/users/towolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/towolf/subscriptions","organizations_url":"https://api.github.com/users/towolf/orgs","repos_url":"https://api.github.com/users/towolf/repos","events_url":"https://api.github.com/users/towolf/events{/privacy}","received_events_url":"https://api.github.com/users/towolf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/towolf/ansible-modules-core","description":"Ansible modules - these modules ship with ansible","fork":true,"url":"https://api.github.com/repos/towolf/ansible-modules-core","forks_url":"https://api.github.com/repos/towolf/ansible-modules-core/forks","keys_url":"https://api.github.com/repos/towolf/ansible-modules-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/towolf/ansible-modules-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/towolf/ansible-modules-core/teams","hooks_url":"https://api.github.com/repos/towolf/ansible-modules-core/hooks","issue_events_url":"https://api.github.com/repos/towolf/ansible-modules-core/issues/events{/number}","events_url":"https://api.github.com/repos/towolf/ansible-modules-core/events","assignees_url":"https://api.github.com/repos/towolf/ansible-modules-core/assignees{/user}","branches_url":"https://api.github.com/repos/towolf/ansible-modules-core/branches{/branch}","tags_url":"https://api.github.com/repos/towolf/ansible-modules-core/tags","blobs_url":"https://api.github.com/repos/towolf/ansible-modules-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/towolf/ansible-modules-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/towolf/ansible-modules-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/towolf/ansible-modules-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/towolf/ansible-modules-core/statuses/{sha}","languages_url":"https://api.github.com/repos/towolf/ansible-modules-core/languages","stargazers_url":"https://api.github.com/repos/towolf/ansible-modules-core/stargazers","contributors_url":"https://api.github.com/repos/towolf/ansible-modules-core/contributors","subscribers_url":"https://api.github.com/repos/towolf/ansible-modules-core/subscribers","subscription_url":"https://api.github.com/repos/towolf/ansible-modules-core/subscription","commits_url":"https://api.github.com/repos/towolf/ansible-modules-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/towolf/ansible-modules-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/towolf/ansible-modules-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/towolf/ansible-modules-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/towolf/ansible-modules-core/contents/{+path}","compare_url":"https://api.github.com/repos/towolf/ansible-modules-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/towolf/ansible-modules-core/merges","archive_url":"https://api.github.com/repos/towolf/ansible-modules-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/towolf/ansible-modules-core/downloads","issues_url":"https://api.github.com/repos/towolf/ansible-modules-core/issues{/number}","pulls_url":"https://api.github.com/repos/towolf/ansible-modules-core/pulls{/number}","milestones_url":"https://api.github.com/repos/towolf/ansible-modules-core/milestones{/number}","notifications_url":"https://api.github.com/repos/towolf/ansible-modules-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/towolf/ansible-modules-core/labels{/name}","releases_url":"https://api.github.com/repos/towolf/ansible-modules-core/releases{/id}","deployments_url":"https://api.github.com/repos/towolf/ansible-modules-core/deployments","created_at":"2016-01-25T12:11:04Z","updated_at":"2016-01-25T12:11:06Z","pushed_at":"2016-01-26T14:17:08Z","git_url":"git://github.com/towolf/ansible-modules-core.git","ssh_url":"git@github.com:towolf/ansible-modules-core.git","clone_url":"https://github.com/towolf/ansible-modules-core.git","svn_url":"https://github.com/towolf/ansible-modules-core","homepage":"","size":8791,"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":"cdfb578b60d9fc771ccf1d209b38470e4b070ca8","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":24474126,"name":"ansible-modules-core","full_name":"ansible/ansible-modules-core","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-core","description":"Ansible modules - these modules ship with ansible","fork":false,"url":"https://api.github.com/repos/ansible/ansible-modules-core","forks_url":"https://api.github.com/repos/ansible/ansible-modules-core/forks","keys_url":"https://api.github.com/repos/ansible/ansible-modules-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible-modules-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible-modules-core/teams","hooks_url":"https://api.github.com/repos/ansible/ansible-modules-core/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/events","assignees_url":"https://api.github.com/repos/ansible/ansible-modules-core/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible-modules-core/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible-modules-core/tags","blobs_url":"https://api.github.com/repos/ansible/ansible-modules-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible-modules-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible-modules-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible-modules-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-core/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible-modules-core/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible-modules-core/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible-modules-core/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible-modules-core/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible-modules-core/subscription","commits_url":"https://api.github.com/repos/ansible/ansible-modules-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible-modules-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible-modules-core/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible-modules-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible-modules-core/merges","archive_url":"https://api.github.com/repos/ansible/ansible-modules-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible-modules-core/downloads","issues_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible-modules-core/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible-modules-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible-modules-core/releases{/id}","deployments_url":"https://api.github.com/repos/ansible/ansible-modules-core/deployments","created_at":"2014-09-25T20:28:25Z","updated_at":"2016-01-26T14:50:05Z","pushed_at":"2016-01-26T15:09:20Z","git_url":"git://github.com/ansible/ansible-modules-core.git","ssh_url":"git@github.com:ansible/ansible-modules-core.git","clone_url":"https://github.com/ansible/ansible-modules-core.git","svn_url":"https://github.com/ansible/ansible-modules-core","homepage":"","size":11066,"stargazers_count":544,"watchers_count":544,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1287,"mirror_url":null,"open_issues_count":832,"forks":1287,"open_issues":832,"watchers":544,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2870"},"html":{"href":"https://github.com/ansible/ansible-modules-core/pull/2870"},"issue":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2870"},"comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2870/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2870/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2870/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/statuses/cd3b9366fe223039b010631c31c84bd27f28ae29"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":8,"deletions":2,"changed_files":1}}