{"action":"created","issue":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1752","repository_url":"https://api.github.com/repos/backdrop/backdrop-issues","labels_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1752/labels{/name}","comments_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1752/comments","events_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1752/events","html_url":"https://github.com/backdrop/backdrop-issues/issues/1752","id":143563310,"number":1752,"title":"Add check for local settings file","user":{"login":"alexfinnarn","id":3640707,"avatar_url":"https://avatars.githubusercontent.com/u/3640707?v=3","gravatar_id":"","url":"https://api.github.com/users/alexfinnarn","html_url":"https://github.com/alexfinnarn","followers_url":"https://api.github.com/users/alexfinnarn/followers","following_url":"https://api.github.com/users/alexfinnarn/following{/other_user}","gists_url":"https://api.github.com/users/alexfinnarn/gists{/gist_id}","starred_url":"https://api.github.com/users/alexfinnarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexfinnarn/subscriptions","organizations_url":"https://api.github.com/users/alexfinnarn/orgs","repos_url":"https://api.github.com/users/alexfinnarn/repos","events_url":"https://api.github.com/users/alexfinnarn/events{/privacy}","received_events_url":"https://api.github.com/users/alexfinnarn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/pr%20-%20needs%20work","name":"pr - needs work","color":"FFECE8"},{"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/status%20-%20has%20pull%20request","name":"status - has pull request","color":"d4c5f9"},{"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/type%20-%20documentation","name":"type - documentation","color":"0052cc"},{"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/type%20-%20feature%20request","name":"type - feature request","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/milestones/20","html_url":"https://github.com/backdrop/backdrop-issues/milestones/1.4.0","labels_url":"https://api.github.com/repos/backdrop/backdrop-issues/milestones/20/labels","id":1398592,"number":20,"title":"1.4.0","description":"1.4.0","creator":{"login":"jenlampton","id":397895,"avatar_url":"https://avatars.githubusercontent.com/u/397895?v=3","gravatar_id":"","url":"https://api.github.com/users/jenlampton","html_url":"https://github.com/jenlampton","followers_url":"https://api.github.com/users/jenlampton/followers","following_url":"https://api.github.com/users/jenlampton/following{/other_user}","gists_url":"https://api.github.com/users/jenlampton/gists{/gist_id}","starred_url":"https://api.github.com/users/jenlampton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenlampton/subscriptions","organizations_url":"https://api.github.com/users/jenlampton/orgs","repos_url":"https://api.github.com/users/jenlampton/repos","events_url":"https://api.github.com/users/jenlampton/events{/privacy}","received_events_url":"https://api.github.com/users/jenlampton/received_events","type":"User","site_admin":false},"open_issues":41,"closed_issues":2,"state":"open","created_at":"2015-11-06T22:11:56Z","updated_at":"2016-04-23T20:33:46Z","due_on":"2016-05-15T07:00:00Z","closed_at":null},"comments":4,"created_at":"2016-03-25T18:36:03Z","updated_at":"2016-04-23T21:38:38Z","closed_at":null,"body":"As mentioned in issue #346, people seem to want a way to have local settings that don't interfere with settings.php and become erroneously committed in a PR. \r\n\r\nA proposed solution would be to include a file exists check in settings.php for settings.local.php and add settings.*.php to the .gitignore file."},"comment":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/comments/213835732","html_url":"https://github.com/backdrop/backdrop-issues/issues/1752#issuecomment-213835732","issue_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1752","id":213835732,"user":{"login":"jenlampton","id":397895,"avatar_url":"https://avatars.githubusercontent.com/u/397895?v=3","gravatar_id":"","url":"https://api.github.com/users/jenlampton","html_url":"https://github.com/jenlampton","followers_url":"https://api.github.com/users/jenlampton/followers","following_url":"https://api.github.com/users/jenlampton/following{/other_user}","gists_url":"https://api.github.com/users/jenlampton/gists{/gist_id}","starred_url":"https://api.github.com/users/jenlampton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenlampton/subscriptions","organizations_url":"https://api.github.com/users/jenlampton/orgs","repos_url":"https://api.github.com/users/jenlampton/repos","events_url":"https://api.github.com/users/jenlampton/events{/privacy}","received_events_url":"https://api.github.com/users/jenlampton/received_events","type":"User","site_admin":false},"created_at":"2016-04-23T21:38:38Z","updated_at":"2016-04-23T21:38:38Z","body":"Hi @alexfinnarn! I do this on **all** my sites b/c it makes life so much easier when you don't need to worry about accidentally committing db creds to vcs.  👍 \r\n\r\nI think I'm in agreement with @quicksketch about excluding the local example file. The documentation block in settings.php looks great, and that should be a good enough starting point for most devs. We want to be careful not to overwhelm people with too much information, but if we did want to write that up I think a good place for it is on api.backdropcms.org."}}