{"action":"closed","number":2557,"pull_request":{"url":"https://api.github.com/repos/strapi/strapi/pulls/2557","id":241356784,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxMzU2Nzg0","html_url":"https://github.com/strapi/strapi/pull/2557","diff_url":"https://github.com/strapi/strapi/pull/2557.diff","patch_url":"https://github.com/strapi/strapi/pull/2557.patch","issue_url":"https://api.github.com/repos/strapi/strapi/issues/2557","number":2557,"state":"closed","locked":false,"title":"Improve strapi new","user":{"login":"lauriejim","id":5716596,"node_id":"MDQ6VXNlcjU3MTY1OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/5716596?v=4","gravatar_id":"","url":"https://api.github.com/users/lauriejim","html_url":"https://github.com/lauriejim","followers_url":"https://api.github.com/users/lauriejim/followers","following_url":"https://api.github.com/users/lauriejim/following{/other_user}","gists_url":"https://api.github.com/users/lauriejim/gists{/gist_id}","starred_url":"https://api.github.com/users/lauriejim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauriejim/subscriptions","organizations_url":"https://api.github.com/users/lauriejim/orgs","repos_url":"https://api.github.com/users/lauriejim/repos","events_url":"https://api.github.com/users/lauriejim/events{/privacy}","received_events_url":"https://api.github.com/users/lauriejim/received_events","type":"User","site_admin":false},"body":"<!-- ⚠️ Your PR title will appear in the changelogs please make it short detailed and understandable for all. -->\r\n\r\n<!-- Uncomment the correct contribution type. !-->\r\n\r\nMy PR is a:\r\n- [ ] 💥 Breaking change\r\n- [ ] 🐛 Bug fix #issueNumber\r\n- [x] 💅 Enhancement\r\n- [ ] 🚀 New feature\r\n\r\nMain update on the:\r\n- [ ] Admin\r\n- [ ] Documentation\r\n- [x] Framework\r\n- [ ] Plugin\r\n\r\n**TODO:**\r\n- [x] Simplify dev mode for database connection test\r\n- [x] Add debug option to help to debug database connection test\r\n- [x] Add documentation\r\n- [x] Simplify database option fo Mongo database\r\n\r\n**Description:**\r\n\r\nNow when you are creating a new project in `--dev` mode, it use your local install of ORM you need to test the database connection (`connectivity.js` script). It will be more easy to develop code in the part of Strapi.\r\n\r\nSome time errors are fired dureing the connection test to the database and error are not display (we force some specific messages). Now you can use `--debug` during your `strapi new` it will display the full error message. It will be usefull tu understand the issue you you have one.","created_at":"2018-12-28T16:02:25Z","updated_at":"2019-01-03T13:09:04Z","closed_at":"2019-01-03T13:09:04Z","merged_at":"2019-01-03T13:09:04Z","merge_commit_sha":"2f8e5bcdb264173f578fd2841118c7fb178434c0","assignee":{"login":"Aurelsicoko","id":4144726,"node_id":"MDQ6VXNlcjQxNDQ3MjY=","avatar_url":"https://avatars0.githubusercontent.com/u/4144726?v=4","gravatar_id":"","url":"https://api.github.com/users/Aurelsicoko","html_url":"https://github.com/Aurelsicoko","followers_url":"https://api.github.com/users/Aurelsicoko/followers","following_url":"https://api.github.com/users/Aurelsicoko/following{/other_user}","gists_url":"https://api.github.com/users/Aurelsicoko/gists{/gist_id}","starred_url":"https://api.github.com/users/Aurelsicoko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aurelsicoko/subscriptions","organizations_url":"https://api.github.com/users/Aurelsicoko/orgs","repos_url":"https://api.github.com/users/Aurelsicoko/repos","events_url":"https://api.github.com/users/Aurelsicoko/events{/privacy}","received_events_url":"https://api.github.com/users/Aurelsicoko/received_events","type":"User","site_admin":false},"assignees":[{"login":"Aurelsicoko","id":4144726,"node_id":"MDQ6VXNlcjQxNDQ3MjY=","avatar_url":"https://avatars0.githubusercontent.com/u/4144726?v=4","gravatar_id":"","url":"https://api.github.com/users/Aurelsicoko","html_url":"https://github.com/Aurelsicoko","followers_url":"https://api.github.com/users/Aurelsicoko/followers","following_url":"https://api.github.com/users/Aurelsicoko/following{/other_user}","gists_url":"https://api.github.com/users/Aurelsicoko/gists{/gist_id}","starred_url":"https://api.github.com/users/Aurelsicoko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aurelsicoko/subscriptions","organizations_url":"https://api.github.com/users/Aurelsicoko/orgs","repos_url":"https://api.github.com/users/Aurelsicoko/repos","events_url":"https://api.github.com/users/Aurelsicoko/events{/privacy}","received_events_url":"https://api.github.com/users/Aurelsicoko/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":881293267,"node_id":"MDU6TGFiZWw4ODEyOTMyNjc=","url":"https://api.github.com/repos/strapi/strapi/labels/pr:%20%F0%9F%92%85%20Enhancement","name":"pr: 💅 Enhancement","color":"84b6eb","default":false},{"id":881295964,"node_id":"MDU6TGFiZWw4ODEyOTU5NjQ=","url":"https://api.github.com/repos/strapi/strapi/labels/source:%20Framework","name":"source: Framework","color":"53319b","default":false}],"milestone":{"url":"https://api.github.com/repos/strapi/strapi/milestones/35","html_url":"https://github.com/strapi/strapi/milestone/35","labels_url":"https://api.github.com/repos/strapi/strapi/milestones/35/labels","id":3910077,"node_id":"MDk6TWlsZXN0b25lMzkxMDA3Nw==","number":35,"title":"3.0.0-alpha.18","description":"","creator":{"login":"lauriejim","id":5716596,"node_id":"MDQ6VXNlcjU3MTY1OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/5716596?v=4","gravatar_id":"","url":"https://api.github.com/users/lauriejim","html_url":"https://github.com/lauriejim","followers_url":"https://api.github.com/users/lauriejim/followers","following_url":"https://api.github.com/users/lauriejim/following{/other_user}","gists_url":"https://api.github.com/users/lauriejim/gists{/gist_id}","starred_url":"https://api.github.com/users/lauriejim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauriejim/subscriptions","organizations_url":"https://api.github.com/users/lauriejim/orgs","repos_url":"https://api.github.com/users/lauriejim/repos","events_url":"https://api.github.com/users/lauriejim/events{/privacy}","received_events_url":"https://api.github.com/users/lauriejim/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":11,"state":"open","created_at":"2018-12-18T13:20:20Z","updated_at":"2019-01-03T13:09:04Z","due_on":"2019-01-04T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/strapi/strapi/pulls/2557/commits","review_comments_url":"https://api.github.com/repos/strapi/strapi/pulls/2557/comments","review_comment_url":"https://api.github.com/repos/strapi/strapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/strapi/strapi/issues/2557/comments","statuses_url":"https://api.github.com/repos/strapi/strapi/statuses/56a749d826332f3f68462a0b4e4fd9ed4a510c3e","head":{"label":"strapi:improve-strapi-new","ref":"improve-strapi-new","sha":"56a749d826332f3f68462a0b4e4fd9ed4a510c3e","user":{"login":"strapi","id":19872173,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5ODcyMTcz","avatar_url":"https://avatars2.githubusercontent.com/u/19872173?v=4","gravatar_id":"","url":"https://api.github.com/users/strapi","html_url":"https://github.com/strapi","followers_url":"https://api.github.com/users/strapi/followers","following_url":"https://api.github.com/users/strapi/following{/other_user}","gists_url":"https://api.github.com/users/strapi/gists{/gist_id}","starred_url":"https://api.github.com/users/strapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strapi/subscriptions","organizations_url":"https://api.github.com/users/strapi/orgs","repos_url":"https://api.github.com/users/strapi/repos","events_url":"https://api.github.com/users/strapi/events{/privacy}","received_events_url":"https://api.github.com/users/strapi/received_events","type":"Organization","site_admin":false},"repo":{"id":43441403,"node_id":"MDEwOlJlcG9zaXRvcnk0MzQ0MTQwMw==","name":"strapi","full_name":"strapi/strapi","private":false,"owner":{"login":"strapi","id":19872173,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5ODcyMTcz","avatar_url":"https://avatars2.githubusercontent.com/u/19872173?v=4","gravatar_id":"","url":"https://api.github.com/users/strapi","html_url":"https://github.com/strapi","followers_url":"https://api.github.com/users/strapi/followers","following_url":"https://api.github.com/users/strapi/following{/other_user}","gists_url":"https://api.github.com/users/strapi/gists{/gist_id}","starred_url":"https://api.github.com/users/strapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strapi/subscriptions","organizations_url":"https://api.github.com/users/strapi/orgs","repos_url":"https://api.github.com/users/strapi/repos","events_url":"https://api.github.com/users/strapi/events{/privacy}","received_events_url":"https://api.github.com/users/strapi/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/strapi/strapi","description":"🚀 Open source Node.js Headless CMS to easily build customisable APIs","fork":false,"url":"https://api.github.com/repos/strapi/strapi","forks_url":"https://api.github.com/repos/strapi/strapi/forks","keys_url":"https://api.github.com/repos/strapi/strapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strapi/strapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strapi/strapi/teams","hooks_url":"https://api.github.com/repos/strapi/strapi/hooks","issue_events_url":"https://api.github.com/repos/strapi/strapi/issues/events{/number}","events_url":"https://api.github.com/repos/strapi/strapi/events","assignees_url":"https://api.github.com/repos/strapi/strapi/assignees{/user}","branches_url":"https://api.github.com/repos/strapi/strapi/branches{/branch}","tags_url":"https://api.github.com/repos/strapi/strapi/tags","blobs_url":"https://api.github.com/repos/strapi/strapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strapi/strapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strapi/strapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/strapi/strapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strapi/strapi/statuses/{sha}","languages_url":"https://api.github.com/repos/strapi/strapi/languages","stargazers_url":"https://api.github.com/repos/strapi/strapi/stargazers","contributors_url":"https://api.github.com/repos/strapi/strapi/contributors","subscribers_url":"https://api.github.com/repos/strapi/strapi/subscribers","subscription_url":"https://api.github.com/repos/strapi/strapi/subscription","commits_url":"https://api.github.com/repos/strapi/strapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/strapi/strapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/strapi/strapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/strapi/strapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/strapi/strapi/contents/{+path}","compare_url":"https://api.github.com/repos/strapi/strapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strapi/strapi/merges","archive_url":"https://api.github.com/repos/strapi/strapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strapi/strapi/downloads","issues_url":"https://api.github.com/repos/strapi/strapi/issues{/number}","pulls_url":"https://api.github.com/repos/strapi/strapi/pulls{/number}","milestones_url":"https://api.github.com/repos/strapi/strapi/milestones{/number}","notifications_url":"https://api.github.com/repos/strapi/strapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strapi/strapi/labels{/name}","releases_url":"https://api.github.com/repos/strapi/strapi/releases{/id}","deployments_url":"https://api.github.com/repos/strapi/strapi/deployments","created_at":"2015-09-30T15:34:48Z","updated_at":"2019-01-03T12:56:14Z","pushed_at":"2019-01-03T13:09:03Z","git_url":"git://github.com/strapi/strapi.git","ssh_url":"git@github.com:strapi/strapi.git","clone_url":"https://github.com/strapi/strapi.git","svn_url":"https://github.com/strapi/strapi","homepage":"https://strapi.io","size":42877,"stargazers_count":10419,"watchers_count":10419,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1179,"mirror_url":null,"archived":false,"open_issues_count":154,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1179,"open_issues":154,"watchers":10419,"default_branch":"master"}},"base":{"label":"strapi:master","ref":"master","sha":"d5fd488547f9ceae7d8faf0bde0d20d9f2c29dc0","user":{"login":"strapi","id":19872173,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5ODcyMTcz","avatar_url":"https://avatars2.githubusercontent.com/u/19872173?v=4","gravatar_id":"","url":"https://api.github.com/users/strapi","html_url":"https://github.com/strapi","followers_url":"https://api.github.com/users/strapi/followers","following_url":"https://api.github.com/users/strapi/following{/other_user}","gists_url":"https://api.github.com/users/strapi/gists{/gist_id}","starred_url":"https://api.github.com/users/strapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strapi/subscriptions","organizations_url":"https://api.github.com/users/strapi/orgs","repos_url":"https://api.github.com/users/strapi/repos","events_url":"https://api.github.com/users/strapi/events{/privacy}","received_events_url":"https://api.github.com/users/strapi/received_events","type":"Organization","site_admin":false},"repo":{"id":43441403,"node_id":"MDEwOlJlcG9zaXRvcnk0MzQ0MTQwMw==","name":"strapi","full_name":"strapi/strapi","private":false,"owner":{"login":"strapi","id":19872173,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5ODcyMTcz","avatar_url":"https://avatars2.githubusercontent.com/u/19872173?v=4","gravatar_id":"","url":"https://api.github.com/users/strapi","html_url":"https://github.com/strapi","followers_url":"https://api.github.com/users/strapi/followers","following_url":"https://api.github.com/users/strapi/following{/other_user}","gists_url":"https://api.github.com/users/strapi/gists{/gist_id}","starred_url":"https://api.github.com/users/strapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strapi/subscriptions","organizations_url":"https://api.github.com/users/strapi/orgs","repos_url":"https://api.github.com/users/strapi/repos","events_url":"https://api.github.com/users/strapi/events{/privacy}","received_events_url":"https://api.github.com/users/strapi/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/strapi/strapi","description":"🚀 Open source Node.js Headless CMS to easily build customisable APIs","fork":false,"url":"https://api.github.com/repos/strapi/strapi","forks_url":"https://api.github.com/repos/strapi/strapi/forks","keys_url":"https://api.github.com/repos/strapi/strapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strapi/strapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strapi/strapi/teams","hooks_url":"https://api.github.com/repos/strapi/strapi/hooks","issue_events_url":"https://api.github.com/repos/strapi/strapi/issues/events{/number}","events_url":"https://api.github.com/repos/strapi/strapi/events","assignees_url":"https://api.github.com/repos/strapi/strapi/assignees{/user}","branches_url":"https://api.github.com/repos/strapi/strapi/branches{/branch}","tags_url":"https://api.github.com/repos/strapi/strapi/tags","blobs_url":"https://api.github.com/repos/strapi/strapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strapi/strapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strapi/strapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/strapi/strapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strapi/strapi/statuses/{sha}","languages_url":"https://api.github.com/repos/strapi/strapi/languages","stargazers_url":"https://api.github.com/repos/strapi/strapi/stargazers","contributors_url":"https://api.github.com/repos/strapi/strapi/contributors","subscribers_url":"https://api.github.com/repos/strapi/strapi/subscribers","subscription_url":"https://api.github.com/repos/strapi/strapi/subscription","commits_url":"https://api.github.com/repos/strapi/strapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/strapi/strapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/strapi/strapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/strapi/strapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/strapi/strapi/contents/{+path}","compare_url":"https://api.github.com/repos/strapi/strapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strapi/strapi/merges","archive_url":"https://api.github.com/repos/strapi/strapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strapi/strapi/downloads","issues_url":"https://api.github.com/repos/strapi/strapi/issues{/number}","pulls_url":"https://api.github.com/repos/strapi/strapi/pulls{/number}","milestones_url":"https://api.github.com/repos/strapi/strapi/milestones{/number}","notifications_url":"https://api.github.com/repos/strapi/strapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strapi/strapi/labels{/name}","releases_url":"https://api.github.com/repos/strapi/strapi/releases{/id}","deployments_url":"https://api.github.com/repos/strapi/strapi/deployments","created_at":"2015-09-30T15:34:48Z","updated_at":"2019-01-03T12:56:14Z","pushed_at":"2019-01-03T13:09:03Z","git_url":"git://github.com/strapi/strapi.git","ssh_url":"git@github.com:strapi/strapi.git","clone_url":"https://github.com/strapi/strapi.git","svn_url":"https://github.com/strapi/strapi","homepage":"https://strapi.io","size":42877,"stargazers_count":10419,"watchers_count":10419,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1179,"mirror_url":null,"archived":false,"open_issues_count":154,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1179,"open_issues":154,"watchers":10419,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/strapi/strapi/pulls/2557"},"html":{"href":"https://github.com/strapi/strapi/pull/2557"},"issue":{"href":"https://api.github.com/repos/strapi/strapi/issues/2557"},"comments":{"href":"https://api.github.com/repos/strapi/strapi/issues/2557/comments"},"review_comments":{"href":"https://api.github.com/repos/strapi/strapi/pulls/2557/comments"},"review_comment":{"href":"https://api.github.com/repos/strapi/strapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/strapi/strapi/pulls/2557/commits"},"statuses":{"href":"https://api.github.com/repos/strapi/strapi/statuses/56a749d826332f3f68462a0b4e4fd9ed4a510c3e"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"lauriejim","id":5716596,"node_id":"MDQ6VXNlcjU3MTY1OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/5716596?v=4","gravatar_id":"","url":"https://api.github.com/users/lauriejim","html_url":"https://github.com/lauriejim","followers_url":"https://api.github.com/users/lauriejim/followers","following_url":"https://api.github.com/users/lauriejim/following{/other_user}","gists_url":"https://api.github.com/users/lauriejim/gists{/gist_id}","starred_url":"https://api.github.com/users/lauriejim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauriejim/subscriptions","organizations_url":"https://api.github.com/users/lauriejim/orgs","repos_url":"https://api.github.com/users/lauriejim/repos","events_url":"https://api.github.com/users/lauriejim/events{/privacy}","received_events_url":"https://api.github.com/users/lauriejim/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":46,"deletions":9,"changed_files":6}}
{"actor":{"display_login":"lauriejim"}}