{"action":"created","comment":{"url":"https://api.github.com/repos/phoenixframework/phoenix/pulls/comments/61195957","id":61195957,"diff_hunk":"@@ -6,9 +6,9 @@\n use Mix.Config\n \n # General application configuration\n-config :<%= application_name %>,<%= if namespaced? do %>\n-  app_namespace: <%= application_module %>,<% end %>\n-  ecto_repos: [<%= application_module %>.Repo]\n+config :<%= application_name %><%= if namespaced? do %>,\n+  app_namespace: <%= application_module %><% end %><%= if ecto do %>,\n+  ecto_repos: [<%= application_module %>.Repo]<% end %>\n ","path":"installer/templates/new/config/config.exs","position":null,"original_position":10,"commit_id":"78633ea3d4f1436a650cd8c9785a82e0233ffbe2","original_commit_id":"6c4d860ff7ff33c77e43d7248393a6223b929031","user":{"login":"misfo","id":40791,"avatar_url":"https://avatars.githubusercontent.com/u/40791?v=3","gravatar_id":"","url":"https://api.github.com/users/misfo","html_url":"https://github.com/misfo","followers_url":"https://api.github.com/users/misfo/followers","following_url":"https://api.github.com/users/misfo/following{/other_user}","gists_url":"https://api.github.com/users/misfo/gists{/gist_id}","starred_url":"https://api.github.com/users/misfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misfo/subscriptions","organizations_url":"https://api.github.com/users/misfo/orgs","repos_url":"https://api.github.com/users/misfo/repos","events_url":"https://api.github.com/users/misfo/events{/privacy}","received_events_url":"https://api.github.com/users/misfo/received_events","type":"User","site_admin":false},"body":"Ah, gotcha. Fixed in 78633ea3d4f1436a650cd8c9785a82e0233ffbe2","created_at":"2016-04-27T02:31:12Z","updated_at":"2016-04-27T02:31:12Z","html_url":"https://github.com/phoenixframework/phoenix/pull/1670#discussion_r61195957","pull_request_url":"https://api.github.com/repos/phoenixframework/phoenix/pulls/1670","_links":{"self":{"href":"https://api.github.com/repos/phoenixframework/phoenix/pulls/comments/61195957"},"html":{"href":"https://github.com/phoenixframework/phoenix/pull/1670#discussion_r61195957"},"pull_request":{"href":"https://api.github.com/repos/phoenixframework/phoenix/pulls/1670"}}},"pull_request":{"url":"https://api.github.com/repos/phoenixframework/phoenix/pulls/1670","id":67985735,"html_url":"https://github.com/phoenixframework/phoenix/pull/1670","diff_url":"https://github.com/phoenixframework/phoenix/pull/1670.diff","patch_url":"https://github.com/phoenixframework/phoenix/pull/1670.patch","issue_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1670","number":1670,"state":"open","locked":false,"title":"Omit `ecto_repos` config when generating with `--no-ecto`","user":{"login":"misfo","id":40791,"avatar_url":"https://avatars.githubusercontent.com/u/40791?v=3","gravatar_id":"","url":"https://api.github.com/users/misfo","html_url":"https://github.com/misfo","followers_url":"https://api.github.com/users/misfo/followers","following_url":"https://api.github.com/users/misfo/following{/other_user}","gists_url":"https://api.github.com/users/misfo/gists{/gist_id}","starred_url":"https://api.github.com/users/misfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misfo/subscriptions","organizations_url":"https://api.github.com/users/misfo/orgs","repos_url":"https://api.github.com/users/misfo/repos","events_url":"https://api.github.com/users/misfo/events{/privacy}","received_events_url":"https://api.github.com/users/misfo/received_events","type":"User","site_admin":false},"body":"I generated an app today (from `master`) w/ the `--no-ecto` option and I noticed that the `config.exs` file still contained the `ecto_repos: [MyApp.Repo]` config.\r\n\r\nThanks for the project! ","created_at":"2016-04-27T01:58:48Z","updated_at":"2016-04-27T02:31:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9bb4d83b87a2123581bf5eed81758b43845f02df","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/phoenixframework/phoenix/pulls/1670/commits","review_comments_url":"https://api.github.com/repos/phoenixframework/phoenix/pulls/1670/comments","review_comment_url":"https://api.github.com/repos/phoenixframework/phoenix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1670/comments","statuses_url":"https://api.github.com/repos/phoenixframework/phoenix/statuses/78633ea3d4f1436a650cd8c9785a82e0233ffbe2","head":{"label":"misfo:omit-ecto_repos-config","ref":"omit-ecto_repos-config","sha":"78633ea3d4f1436a650cd8c9785a82e0233ffbe2","user":{"login":"misfo","id":40791,"avatar_url":"https://avatars.githubusercontent.com/u/40791?v=3","gravatar_id":"","url":"https://api.github.com/users/misfo","html_url":"https://github.com/misfo","followers_url":"https://api.github.com/users/misfo/followers","following_url":"https://api.github.com/users/misfo/following{/other_user}","gists_url":"https://api.github.com/users/misfo/gists{/gist_id}","starred_url":"https://api.github.com/users/misfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misfo/subscriptions","organizations_url":"https://api.github.com/users/misfo/orgs","repos_url":"https://api.github.com/users/misfo/repos","events_url":"https://api.github.com/users/misfo/events{/privacy}","received_events_url":"https://api.github.com/users/misfo/received_events","type":"User","site_admin":false},"repo":{"id":52848882,"name":"phoenix","full_name":"misfo/phoenix","owner":{"login":"misfo","id":40791,"avatar_url":"https://avatars.githubusercontent.com/u/40791?v=3","gravatar_id":"","url":"https://api.github.com/users/misfo","html_url":"https://github.com/misfo","followers_url":"https://api.github.com/users/misfo/followers","following_url":"https://api.github.com/users/misfo/following{/other_user}","gists_url":"https://api.github.com/users/misfo/gists{/gist_id}","starred_url":"https://api.github.com/users/misfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misfo/subscriptions","organizations_url":"https://api.github.com/users/misfo/orgs","repos_url":"https://api.github.com/users/misfo/repos","events_url":"https://api.github.com/users/misfo/events{/privacy}","received_events_url":"https://api.github.com/users/misfo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/misfo/phoenix","description":"Productive. Reliable. Fast.","fork":true,"url":"https://api.github.com/repos/misfo/phoenix","forks_url":"https://api.github.com/repos/misfo/phoenix/forks","keys_url":"https://api.github.com/repos/misfo/phoenix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/misfo/phoenix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/misfo/phoenix/teams","hooks_url":"https://api.github.com/repos/misfo/phoenix/hooks","issue_events_url":"https://api.github.com/repos/misfo/phoenix/issues/events{/number}","events_url":"https://api.github.com/repos/misfo/phoenix/events","assignees_url":"https://api.github.com/repos/misfo/phoenix/assignees{/user}","branches_url":"https://api.github.com/repos/misfo/phoenix/branches{/branch}","tags_url":"https://api.github.com/repos/misfo/phoenix/tags","blobs_url":"https://api.github.com/repos/misfo/phoenix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/misfo/phoenix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/misfo/phoenix/git/refs{/sha}","trees_url":"https://api.github.com/repos/misfo/phoenix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/misfo/phoenix/statuses/{sha}","languages_url":"https://api.github.com/repos/misfo/phoenix/languages","stargazers_url":"https://api.github.com/repos/misfo/phoenix/stargazers","contributors_url":"https://api.github.com/repos/misfo/phoenix/contributors","subscribers_url":"https://api.github.com/repos/misfo/phoenix/subscribers","subscription_url":"https://api.github.com/repos/misfo/phoenix/subscription","commits_url":"https://api.github.com/repos/misfo/phoenix/commits{/sha}","git_commits_url":"https://api.github.com/repos/misfo/phoenix/git/commits{/sha}","comments_url":"https://api.github.com/repos/misfo/phoenix/comments{/number}","issue_comment_url":"https://api.github.com/repos/misfo/phoenix/issues/comments{/number}","contents_url":"https://api.github.com/repos/misfo/phoenix/contents/{+path}","compare_url":"https://api.github.com/repos/misfo/phoenix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/misfo/phoenix/merges","archive_url":"https://api.github.com/repos/misfo/phoenix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/misfo/phoenix/downloads","issues_url":"https://api.github.com/repos/misfo/phoenix/issues{/number}","pulls_url":"https://api.github.com/repos/misfo/phoenix/pulls{/number}","milestones_url":"https://api.github.com/repos/misfo/phoenix/milestones{/number}","notifications_url":"https://api.github.com/repos/misfo/phoenix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/misfo/phoenix/labels{/name}","releases_url":"https://api.github.com/repos/misfo/phoenix/releases{/id}","deployments_url":"https://api.github.com/repos/misfo/phoenix/deployments","created_at":"2016-03-01T04:51:06Z","updated_at":"2016-03-01T04:51:08Z","pushed_at":"2016-04-27T02:29:48Z","git_url":"git://github.com/misfo/phoenix.git","ssh_url":"git@github.com:misfo/phoenix.git","clone_url":"https://github.com/misfo/phoenix.git","svn_url":"https://github.com/misfo/phoenix","homepage":"http://www.phoenixframework.org","size":4769,"stargazers_count":0,"watchers_count":0,"language":"Elixir","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":"master"}},"base":{"label":"phoenixframework:master","ref":"master","sha":"fc2a1c357491043877e4bda8f9cc666680ff4072","user":{"login":"phoenixframework","id":6510388,"avatar_url":"https://avatars.githubusercontent.com/u/6510388?v=3","gravatar_id":"","url":"https://api.github.com/users/phoenixframework","html_url":"https://github.com/phoenixframework","followers_url":"https://api.github.com/users/phoenixframework/followers","following_url":"https://api.github.com/users/phoenixframework/following{/other_user}","gists_url":"https://api.github.com/users/phoenixframework/gists{/gist_id}","starred_url":"https://api.github.com/users/phoenixframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phoenixframework/subscriptions","organizations_url":"https://api.github.com/users/phoenixframework/orgs","repos_url":"https://api.github.com/users/phoenixframework/repos","events_url":"https://api.github.com/users/phoenixframework/events{/privacy}","received_events_url":"https://api.github.com/users/phoenixframework/received_events","type":"Organization","site_admin":false},"repo":{"id":16072585,"name":"phoenix","full_name":"phoenixframework/phoenix","owner":{"login":"phoenixframework","id":6510388,"avatar_url":"https://avatars.githubusercontent.com/u/6510388?v=3","gravatar_id":"","url":"https://api.github.com/users/phoenixframework","html_url":"https://github.com/phoenixframework","followers_url":"https://api.github.com/users/phoenixframework/followers","following_url":"https://api.github.com/users/phoenixframework/following{/other_user}","gists_url":"https://api.github.com/users/phoenixframework/gists{/gist_id}","starred_url":"https://api.github.com/users/phoenixframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phoenixframework/subscriptions","organizations_url":"https://api.github.com/users/phoenixframework/orgs","repos_url":"https://api.github.com/users/phoenixframework/repos","events_url":"https://api.github.com/users/phoenixframework/events{/privacy}","received_events_url":"https://api.github.com/users/phoenixframework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phoenixframework/phoenix","description":"Productive. Reliable. Fast.","fork":false,"url":"https://api.github.com/repos/phoenixframework/phoenix","forks_url":"https://api.github.com/repos/phoenixframework/phoenix/forks","keys_url":"https://api.github.com/repos/phoenixframework/phoenix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phoenixframework/phoenix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phoenixframework/phoenix/teams","hooks_url":"https://api.github.com/repos/phoenixframework/phoenix/hooks","issue_events_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/events{/number}","events_url":"https://api.github.com/repos/phoenixframework/phoenix/events","assignees_url":"https://api.github.com/repos/phoenixframework/phoenix/assignees{/user}","branches_url":"https://api.github.com/repos/phoenixframework/phoenix/branches{/branch}","tags_url":"https://api.github.com/repos/phoenixframework/phoenix/tags","blobs_url":"https://api.github.com/repos/phoenixframework/phoenix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phoenixframework/phoenix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phoenixframework/phoenix/git/refs{/sha}","trees_url":"https://api.github.com/repos/phoenixframework/phoenix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phoenixframework/phoenix/statuses/{sha}","languages_url":"https://api.github.com/repos/phoenixframework/phoenix/languages","stargazers_url":"https://api.github.com/repos/phoenixframework/phoenix/stargazers","contributors_url":"https://api.github.com/repos/phoenixframework/phoenix/contributors","subscribers_url":"https://api.github.com/repos/phoenixframework/phoenix/subscribers","subscription_url":"https://api.github.com/repos/phoenixframework/phoenix/subscription","commits_url":"https://api.github.com/repos/phoenixframework/phoenix/commits{/sha}","git_commits_url":"https://api.github.com/repos/phoenixframework/phoenix/git/commits{/sha}","comments_url":"https://api.github.com/repos/phoenixframework/phoenix/comments{/number}","issue_comment_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/comments{/number}","contents_url":"https://api.github.com/repos/phoenixframework/phoenix/contents/{+path}","compare_url":"https://api.github.com/repos/phoenixframework/phoenix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phoenixframework/phoenix/merges","archive_url":"https://api.github.com/repos/phoenixframework/phoenix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phoenixframework/phoenix/downloads","issues_url":"https://api.github.com/repos/phoenixframework/phoenix/issues{/number}","pulls_url":"https://api.github.com/repos/phoenixframework/phoenix/pulls{/number}","milestones_url":"https://api.github.com/repos/phoenixframework/phoenix/milestones{/number}","notifications_url":"https://api.github.com/repos/phoenixframework/phoenix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phoenixframework/phoenix/labels{/name}","releases_url":"https://api.github.com/repos/phoenixframework/phoenix/releases{/id}","deployments_url":"https://api.github.com/repos/phoenixframework/phoenix/deployments","created_at":"2014-01-20T14:14:11Z","updated_at":"2016-04-27T00:47:01Z","pushed_at":"2016-04-27T02:29:49Z","git_url":"git://github.com/phoenixframework/phoenix.git","ssh_url":"git@github.com:phoenixframework/phoenix.git","clone_url":"https://github.com/phoenixframework/phoenix.git","svn_url":"https://github.com/phoenixframework/phoenix","homepage":"http://www.phoenixframework.org","size":5321,"stargazers_count":6104,"watchers_count":6104,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":682,"mirror_url":null,"open_issues_count":11,"forks":682,"open_issues":11,"watchers":6104,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phoenixframework/phoenix/pulls/1670"},"html":{"href":"https://github.com/phoenixframework/phoenix/pull/1670"},"issue":{"href":"https://api.github.com/repos/phoenixframework/phoenix/issues/1670"},"comments":{"href":"https://api.github.com/repos/phoenixframework/phoenix/issues/1670/comments"},"review_comments":{"href":"https://api.github.com/repos/phoenixframework/phoenix/pulls/1670/comments"},"review_comment":{"href":"https://api.github.com/repos/phoenixframework/phoenix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phoenixframework/phoenix/pulls/1670/commits"},"statuses":{"href":"https://api.github.com/repos/phoenixframework/phoenix/statuses/78633ea3d4f1436a650cd8c9785a82e0233ffbe2"}}}}