{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/madmatt/silverstripe-ldap/pulls/2","id":221303657,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxMzAzNjU3","html_url":"https://github.com/madmatt/silverstripe-ldap/pull/2","diff_url":"https://github.com/madmatt/silverstripe-ldap/pull/2.diff","patch_url":"https://github.com/madmatt/silverstripe-ldap/pull/2.patch","issue_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/issues/2","number":2,"state":"open","locked":false,"title":"LDAP - Leave same images alone","user":{"login":"caffeineinc","id":270384,"node_id":"MDQ6VXNlcjI3MDM4NA==","avatar_url":"https://avatars3.githubusercontent.com/u/270384?v=4","gravatar_id":"","url":"https://api.github.com/users/caffeineinc","html_url":"https://github.com/caffeineinc","followers_url":"https://api.github.com/users/caffeineinc/followers","following_url":"https://api.github.com/users/caffeineinc/following{/other_user}","gists_url":"https://api.github.com/users/caffeineinc/gists{/gist_id}","starred_url":"https://api.github.com/users/caffeineinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caffeineinc/subscriptions","organizations_url":"https://api.github.com/users/caffeineinc/orgs","repos_url":"https://api.github.com/users/caffeineinc/repos","events_url":"https://api.github.com/users/caffeineinc/events{/privacy}","received_events_url":"https://api.github.com/users/caffeineinc/received_events","type":"User","site_admin":false},"body":"When syncing large data sets, there's no point in overwriting images if\r\nit is the same image. Instead, check the file hash of the old and new,\r\nand overwrite if there's changes.\r\n\r\nFor large LDAP sources, this resolves an issue where the syncs are\r\nincredibly file intensive.","created_at":"2018-10-09T04:15:30Z","updated_at":"2018-10-09T04:15:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/pulls/2/commits","review_comments_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/pulls/2/comments","review_comment_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/issues/2/comments","statuses_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/statuses/ba77fafa17e76878af51fe4fd10c2d6d8d0a54cd","head":{"label":"caffeineinc:bugfix/leave-same-images-alone","ref":"bugfix/leave-same-images-alone","sha":"ba77fafa17e76878af51fe4fd10c2d6d8d0a54cd","user":{"login":"caffeineinc","id":270384,"node_id":"MDQ6VXNlcjI3MDM4NA==","avatar_url":"https://avatars3.githubusercontent.com/u/270384?v=4","gravatar_id":"","url":"https://api.github.com/users/caffeineinc","html_url":"https://github.com/caffeineinc","followers_url":"https://api.github.com/users/caffeineinc/followers","following_url":"https://api.github.com/users/caffeineinc/following{/other_user}","gists_url":"https://api.github.com/users/caffeineinc/gists{/gist_id}","starred_url":"https://api.github.com/users/caffeineinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caffeineinc/subscriptions","organizations_url":"https://api.github.com/users/caffeineinc/orgs","repos_url":"https://api.github.com/users/caffeineinc/repos","events_url":"https://api.github.com/users/caffeineinc/events{/privacy}","received_events_url":"https://api.github.com/users/caffeineinc/received_events","type":"User","site_admin":false},"repo":{"id":152151935,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIxNTE5MzU=","name":"silverstripe-ldap","full_name":"caffeineinc/silverstripe-ldap","private":false,"owner":{"login":"caffeineinc","id":270384,"node_id":"MDQ6VXNlcjI3MDM4NA==","avatar_url":"https://avatars3.githubusercontent.com/u/270384?v=4","gravatar_id":"","url":"https://api.github.com/users/caffeineinc","html_url":"https://github.com/caffeineinc","followers_url":"https://api.github.com/users/caffeineinc/followers","following_url":"https://api.github.com/users/caffeineinc/following{/other_user}","gists_url":"https://api.github.com/users/caffeineinc/gists{/gist_id}","starred_url":"https://api.github.com/users/caffeineinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caffeineinc/subscriptions","organizations_url":"https://api.github.com/users/caffeineinc/orgs","repos_url":"https://api.github.com/users/caffeineinc/repos","events_url":"https://api.github.com/users/caffeineinc/events{/privacy}","received_events_url":"https://api.github.com/users/caffeineinc/received_events","type":"User","site_admin":false},"html_url":"https://github.com/caffeineinc/silverstripe-ldap","description":"LDAP authentication support module for SilverStripe","fork":true,"url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap","forks_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/forks","keys_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/teams","hooks_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/hooks","issue_events_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/issues/events{/number}","events_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/events","assignees_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/assignees{/user}","branches_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/branches{/branch}","tags_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/tags","blobs_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/git/refs{/sha}","trees_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/statuses/{sha}","languages_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/languages","stargazers_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/stargazers","contributors_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/contributors","subscribers_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/subscribers","subscription_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/subscription","commits_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/commits{/sha}","git_commits_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/git/commits{/sha}","comments_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/comments{/number}","issue_comment_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/issues/comments{/number}","contents_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/contents/{+path}","compare_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/merges","archive_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/downloads","issues_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/issues{/number}","pulls_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/pulls{/number}","milestones_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/milestones{/number}","notifications_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/labels{/name}","releases_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/releases{/id}","deployments_url":"https://api.github.com/repos/caffeineinc/silverstripe-ldap/deployments","created_at":"2018-10-08T21:59:13Z","updated_at":"2018-10-08T21:59:15Z","pushed_at":"2018-10-09T04:14:19Z","git_url":"git://github.com/caffeineinc/silverstripe-ldap.git","ssh_url":"git@github.com:caffeineinc/silverstripe-ldap.git","clone_url":"https://github.com/caffeineinc/silverstripe-ldap.git","svn_url":"https://github.com/caffeineinc/silverstripe-ldap","homepage":null,"size":1693,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"madmatt:pulls/fix-module","ref":"pulls/fix-module","sha":"c719e9e8b5f53a4f0a2fbc1b776ec6787240f87a","user":{"login":"madmatt","id":893117,"node_id":"MDQ6VXNlcjg5MzExNw==","avatar_url":"https://avatars2.githubusercontent.com/u/893117?v=4","gravatar_id":"","url":"https://api.github.com/users/madmatt","html_url":"https://github.com/madmatt","followers_url":"https://api.github.com/users/madmatt/followers","following_url":"https://api.github.com/users/madmatt/following{/other_user}","gists_url":"https://api.github.com/users/madmatt/gists{/gist_id}","starred_url":"https://api.github.com/users/madmatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madmatt/subscriptions","organizations_url":"https://api.github.com/users/madmatt/orgs","repos_url":"https://api.github.com/users/madmatt/repos","events_url":"https://api.github.com/users/madmatt/events{/privacy}","received_events_url":"https://api.github.com/users/madmatt/received_events","type":"User","site_admin":false},"repo":{"id":144534203,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ1MzQyMDM=","name":"silverstripe-ldap","full_name":"madmatt/silverstripe-ldap","private":false,"owner":{"login":"madmatt","id":893117,"node_id":"MDQ6VXNlcjg5MzExNw==","avatar_url":"https://avatars2.githubusercontent.com/u/893117?v=4","gravatar_id":"","url":"https://api.github.com/users/madmatt","html_url":"https://github.com/madmatt","followers_url":"https://api.github.com/users/madmatt/followers","following_url":"https://api.github.com/users/madmatt/following{/other_user}","gists_url":"https://api.github.com/users/madmatt/gists{/gist_id}","starred_url":"https://api.github.com/users/madmatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madmatt/subscriptions","organizations_url":"https://api.github.com/users/madmatt/orgs","repos_url":"https://api.github.com/users/madmatt/repos","events_url":"https://api.github.com/users/madmatt/events{/privacy}","received_events_url":"https://api.github.com/users/madmatt/received_events","type":"User","site_admin":false},"html_url":"https://github.com/madmatt/silverstripe-ldap","description":"LDAP authentication support module for SilverStripe","fork":true,"url":"https://api.github.com/repos/madmatt/silverstripe-ldap","forks_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/forks","keys_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/teams","hooks_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/hooks","issue_events_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/issues/events{/number}","events_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/events","assignees_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/assignees{/user}","branches_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/branches{/branch}","tags_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/tags","blobs_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/git/refs{/sha}","trees_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/statuses/{sha}","languages_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/languages","stargazers_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/stargazers","contributors_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/contributors","subscribers_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/subscribers","subscription_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/subscription","commits_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/commits{/sha}","git_commits_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/git/commits{/sha}","comments_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/comments{/number}","issue_comment_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/issues/comments{/number}","contents_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/contents/{+path}","compare_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/merges","archive_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/downloads","issues_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/issues{/number}","pulls_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/pulls{/number}","milestones_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/milestones{/number}","notifications_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/labels{/name}","releases_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/releases{/id}","deployments_url":"https://api.github.com/repos/madmatt/silverstripe-ldap/deployments","created_at":"2018-08-13T05:41:00Z","updated_at":"2018-08-13T05:41:02Z","pushed_at":"2018-10-08T22:14:12Z","git_url":"git://github.com/madmatt/silverstripe-ldap.git","ssh_url":"git@github.com:madmatt/silverstripe-ldap.git","clone_url":"https://github.com/madmatt/silverstripe-ldap.git","svn_url":"https://github.com/madmatt/silverstripe-ldap","homepage":null,"size":1694,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/madmatt/silverstripe-ldap/pulls/2"},"html":{"href":"https://github.com/madmatt/silverstripe-ldap/pull/2"},"issue":{"href":"https://api.github.com/repos/madmatt/silverstripe-ldap/issues/2"},"comments":{"href":"https://api.github.com/repos/madmatt/silverstripe-ldap/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/madmatt/silverstripe-ldap/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/madmatt/silverstripe-ldap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/madmatt/silverstripe-ldap/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/madmatt/silverstripe-ldap/statuses/ba77fafa17e76878af51fe4fd10c2d6d8d0a54cd"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":214,"deletions":10,"changed_files":6}}
{"actor":{"display_login":"caffeineinc"}}