{"action":"closed","number":7665,"pull_request":{"url":"https://api.github.com/repos/yiisoft/yii2/pulls/7665","id":30917768,"html_url":"https://github.com/yiisoft/yii2/pull/7665","diff_url":"https://github.com/yiisoft/yii2/pull/7665.diff","patch_url":"https://github.com/yiisoft/yii2/pull/7665.patch","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/7665","number":7665,"state":"closed","locked":false,"title":"Add option to diff file when changed by init script","user":{"login":"jcherniak","id":1727656,"avatar_url":"https://avatars.githubusercontent.com/u/1727656?v=3","gravatar_id":"","url":"https://api.github.com/users/jcherniak","html_url":"https://github.com/jcherniak","followers_url":"https://api.github.com/users/jcherniak/followers","following_url":"https://api.github.com/users/jcherniak/following{/other_user}","gists_url":"https://api.github.com/users/jcherniak/gists{/gist_id}","starred_url":"https://api.github.com/users/jcherniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcherniak/subscriptions","organizations_url":"https://api.github.com/users/jcherniak/orgs","repos_url":"https://api.github.com/users/jcherniak/repos","events_url":"https://api.github.com/users/jcherniak/events{/privacy}","received_events_url":"https://api.github.com/users/jcherniak/received_events","type":"User","site_admin":false},"body":"Sometimes when resyncing between environments, it is useful to generate a diff between your local version and the one in the environments folder to make sure you don't overwrite anything unintentionally.\r\n\r\nThis PR adds a quick option to run \"diff -u\" on your local copy and the one on the environments dir before overwriting it.","created_at":"2015-03-11T06:09:20Z","updated_at":"2015-09-28T21:20:35Z","closed_at":"2015-09-28T21:20:35Z","merged_at":null,"merge_commit_sha":"9e209ed968da0946b39657c2354ba9e47392a8e8","assignee":{"login":"samdark","id":47294,"avatar_url":"https://avatars.githubusercontent.com/u/47294?v=3","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/yiisoft/yii2/pulls/7665/commits","review_comments_url":"https://api.github.com/repos/yiisoft/yii2/pulls/7665/comments","review_comment_url":"https://api.github.com/repos/yiisoft/yii2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/7665/comments","statuses_url":"https://api.github.com/repos/yiisoft/yii2/statuses/c9c7852316d3d30d56ba364d28b441a271defba8","head":{"label":"jcherniak:advanced-template-init-diff","ref":"advanced-template-init-diff","sha":"c9c7852316d3d30d56ba364d28b441a271defba8","user":{"login":"jcherniak","id":1727656,"avatar_url":"https://avatars.githubusercontent.com/u/1727656?v=3","gravatar_id":"","url":"https://api.github.com/users/jcherniak","html_url":"https://github.com/jcherniak","followers_url":"https://api.github.com/users/jcherniak/followers","following_url":"https://api.github.com/users/jcherniak/following{/other_user}","gists_url":"https://api.github.com/users/jcherniak/gists{/gist_id}","starred_url":"https://api.github.com/users/jcherniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcherniak/subscriptions","organizations_url":"https://api.github.com/users/jcherniak/orgs","repos_url":"https://api.github.com/users/jcherniak/repos","events_url":"https://api.github.com/users/jcherniak/events{/privacy}","received_events_url":"https://api.github.com/users/jcherniak/received_events","type":"User","site_admin":false},"repo":{"id":32001230,"name":"yii2","full_name":"jcherniak/yii2","owner":{"login":"jcherniak","id":1727656,"avatar_url":"https://avatars.githubusercontent.com/u/1727656?v=3","gravatar_id":"","url":"https://api.github.com/users/jcherniak","html_url":"https://github.com/jcherniak","followers_url":"https://api.github.com/users/jcherniak/followers","following_url":"https://api.github.com/users/jcherniak/following{/other_user}","gists_url":"https://api.github.com/users/jcherniak/gists{/gist_id}","starred_url":"https://api.github.com/users/jcherniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcherniak/subscriptions","organizations_url":"https://api.github.com/users/jcherniak/orgs","repos_url":"https://api.github.com/users/jcherniak/repos","events_url":"https://api.github.com/users/jcherniak/events{/privacy}","received_events_url":"https://api.github.com/users/jcherniak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcherniak/yii2","description":"Yii 2 framework main development repo","fork":true,"url":"https://api.github.com/repos/jcherniak/yii2","forks_url":"https://api.github.com/repos/jcherniak/yii2/forks","keys_url":"https://api.github.com/repos/jcherniak/yii2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcherniak/yii2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcherniak/yii2/teams","hooks_url":"https://api.github.com/repos/jcherniak/yii2/hooks","issue_events_url":"https://api.github.com/repos/jcherniak/yii2/issues/events{/number}","events_url":"https://api.github.com/repos/jcherniak/yii2/events","assignees_url":"https://api.github.com/repos/jcherniak/yii2/assignees{/user}","branches_url":"https://api.github.com/repos/jcherniak/yii2/branches{/branch}","tags_url":"https://api.github.com/repos/jcherniak/yii2/tags","blobs_url":"https://api.github.com/repos/jcherniak/yii2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcherniak/yii2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcherniak/yii2/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcherniak/yii2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcherniak/yii2/statuses/{sha}","languages_url":"https://api.github.com/repos/jcherniak/yii2/languages","stargazers_url":"https://api.github.com/repos/jcherniak/yii2/stargazers","contributors_url":"https://api.github.com/repos/jcherniak/yii2/contributors","subscribers_url":"https://api.github.com/repos/jcherniak/yii2/subscribers","subscription_url":"https://api.github.com/repos/jcherniak/yii2/subscription","commits_url":"https://api.github.com/repos/jcherniak/yii2/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcherniak/yii2/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcherniak/yii2/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcherniak/yii2/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcherniak/yii2/contents/{+path}","compare_url":"https://api.github.com/repos/jcherniak/yii2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcherniak/yii2/merges","archive_url":"https://api.github.com/repos/jcherniak/yii2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcherniak/yii2/downloads","issues_url":"https://api.github.com/repos/jcherniak/yii2/issues{/number}","pulls_url":"https://api.github.com/repos/jcherniak/yii2/pulls{/number}","milestones_url":"https://api.github.com/repos/jcherniak/yii2/milestones{/number}","notifications_url":"https://api.github.com/repos/jcherniak/yii2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcherniak/yii2/labels{/name}","releases_url":"https://api.github.com/repos/jcherniak/yii2/releases{/id}","created_at":"2015-03-11T06:03:16Z","updated_at":"2015-03-11T06:07:02Z","pushed_at":"2015-03-11T06:07:00Z","git_url":"git://github.com/jcherniak/yii2.git","ssh_url":"git@github.com:jcherniak/yii2.git","clone_url":"https://github.com/jcherniak/yii2.git","svn_url":"https://github.com/jcherniak/yii2","homepage":"http://www.yiiframework.com","size":35420,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yiisoft:master","ref":"master","sha":"901d640b55c9201bae07f6a33ddee1adae66d3e5","user":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"repo":{"id":3431193,"name":"yii2","full_name":"yiisoft/yii2","owner":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yiisoft/yii2","description":"Yii 2 framework main development repo","fork":false,"url":"https://api.github.com/repos/yiisoft/yii2","forks_url":"https://api.github.com/repos/yiisoft/yii2/forks","keys_url":"https://api.github.com/repos/yiisoft/yii2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yiisoft/yii2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yiisoft/yii2/teams","hooks_url":"https://api.github.com/repos/yiisoft/yii2/hooks","issue_events_url":"https://api.github.com/repos/yiisoft/yii2/issues/events{/number}","events_url":"https://api.github.com/repos/yiisoft/yii2/events","assignees_url":"https://api.github.com/repos/yiisoft/yii2/assignees{/user}","branches_url":"https://api.github.com/repos/yiisoft/yii2/branches{/branch}","tags_url":"https://api.github.com/repos/yiisoft/yii2/tags","blobs_url":"https://api.github.com/repos/yiisoft/yii2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yiisoft/yii2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yiisoft/yii2/git/refs{/sha}","trees_url":"https://api.github.com/repos/yiisoft/yii2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yiisoft/yii2/statuses/{sha}","languages_url":"https://api.github.com/repos/yiisoft/yii2/languages","stargazers_url":"https://api.github.com/repos/yiisoft/yii2/stargazers","contributors_url":"https://api.github.com/repos/yiisoft/yii2/contributors","subscribers_url":"https://api.github.com/repos/yiisoft/yii2/subscribers","subscription_url":"https://api.github.com/repos/yiisoft/yii2/subscription","commits_url":"https://api.github.com/repos/yiisoft/yii2/commits{/sha}","git_commits_url":"https://api.github.com/repos/yiisoft/yii2/git/commits{/sha}","comments_url":"https://api.github.com/repos/yiisoft/yii2/comments{/number}","issue_comment_url":"https://api.github.com/repos/yiisoft/yii2/issues/comments{/number}","contents_url":"https://api.github.com/repos/yiisoft/yii2/contents/{+path}","compare_url":"https://api.github.com/repos/yiisoft/yii2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yiisoft/yii2/merges","archive_url":"https://api.github.com/repos/yiisoft/yii2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yiisoft/yii2/downloads","issues_url":"https://api.github.com/repos/yiisoft/yii2/issues{/number}","pulls_url":"https://api.github.com/repos/yiisoft/yii2/pulls{/number}","milestones_url":"https://api.github.com/repos/yiisoft/yii2/milestones{/number}","notifications_url":"https://api.github.com/repos/yiisoft/yii2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yiisoft/yii2/labels{/name}","releases_url":"https://api.github.com/repos/yiisoft/yii2/releases{/id}","created_at":"2012-02-13T15:32:36Z","updated_at":"2015-09-28T20:04:04Z","pushed_at":"2015-09-28T21:04:29Z","git_url":"git://github.com/yiisoft/yii2.git","ssh_url":"git@github.com:yiisoft/yii2.git","clone_url":"https://github.com/yiisoft/yii2.git","svn_url":"https://github.com/yiisoft/yii2","homepage":"http://www.yiiframework.com","size":94360,"stargazers_count":6713,"watchers_count":6713,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3903,"mirror_url":null,"open_issues_count":1041,"forks":3903,"open_issues":1041,"watchers":6713,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/7665"},"html":{"href":"https://github.com/yiisoft/yii2/pull/7665"},"issue":{"href":"https://api.github.com/repos/yiisoft/yii2/issues/7665"},"comments":{"href":"https://api.github.com/repos/yiisoft/yii2/issues/7665/comments"},"review_comments":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/7665/comments"},"review_comment":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/7665/commits"},"statuses":{"href":"https://api.github.com/repos/yiisoft/yii2/statuses/c9c7852316d3d30d56ba364d28b441a271defba8"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":1,"commits":1,"additions":5,"deletions":2,"changed_files":1}}