{"action":"created","issue":{"url":"https://api.github.com/repos/remind101/slashdeploy/issues/139","repository_url":"https://api.github.com/repos/remind101/slashdeploy","labels_url":"https://api.github.com/repos/remind101/slashdeploy/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/remind101/slashdeploy/issues/139/comments","events_url":"https://api.github.com/repos/remind101/slashdeploy/issues/139/events","html_url":"https://github.com/remind101/slashdeploy/pull/139","id":363738048,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MDk3MzYx","number":139,"title":"Setup default_environment from .slashdeploy.yml","user":{"login":"russellballestrini","id":909098,"node_id":"MDQ6VXNlcjkwOTA5OA==","avatar_url":"https://avatars3.githubusercontent.com/u/909098?v=4","gravatar_id":"","url":"https://api.github.com/users/russellballestrini","html_url":"https://github.com/russellballestrini","followers_url":"https://api.github.com/users/russellballestrini/followers","following_url":"https://api.github.com/users/russellballestrini/following{/other_user}","gists_url":"https://api.github.com/users/russellballestrini/gists{/gist_id}","starred_url":"https://api.github.com/users/russellballestrini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellballestrini/subscriptions","organizations_url":"https://api.github.com/users/russellballestrini/orgs","repos_url":"https://api.github.com/users/russellballestrini/repos","events_url":"https://api.github.com/users/russellballestrini/events{/privacy}","received_events_url":"https://api.github.com/users/russellballestrini/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-25T19:45:50Z","updated_at":"2018-09-25T22:02:26Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/remind101/slashdeploy/pulls/139","html_url":"https://github.com/remind101/slashdeploy/pull/139","diff_url":"https://github.com/remind101/slashdeploy/pull/139.diff","patch_url":"https://github.com/remind101/slashdeploy/pull/139.patch"},"body":"Also alter environments message to show which environment is default\r\n\r\nAlso updates the `/docs` page with many of the new features we introduced.\r\n\r\n\tmodified:   app/models/environment.rb\r\n\tmodified:   app/models/repository.rb\r\n\tmodified:   app/views/messages/environments.text.erb\r\n\tmodified:   lib/slashdeploy/config.rb\r\n\tmodified:   spec/features/commands_spec.rb\r\n\tmodified:   spec/models/repository_spec.rb"},"comment":{"url":"https://api.github.com/repos/remind101/slashdeploy/issues/comments/424516875","html_url":"https://github.com/remind101/slashdeploy/pull/139#issuecomment-424516875","issue_url":"https://api.github.com/repos/remind101/slashdeploy/issues/139","id":424516875,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDUxNjg3NQ==","user":{"login":"russellballestrini","id":909098,"node_id":"MDQ6VXNlcjkwOTA5OA==","avatar_url":"https://avatars3.githubusercontent.com/u/909098?v=4","gravatar_id":"","url":"https://api.github.com/users/russellballestrini","html_url":"https://github.com/russellballestrini","followers_url":"https://api.github.com/users/russellballestrini/followers","following_url":"https://api.github.com/users/russellballestrini/following{/other_user}","gists_url":"https://api.github.com/users/russellballestrini/gists{/gist_id}","starred_url":"https://api.github.com/users/russellballestrini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellballestrini/subscriptions","organizations_url":"https://api.github.com/users/russellballestrini/orgs","repos_url":"https://api.github.com/users/russellballestrini/repos","events_url":"https://api.github.com/users/russellballestrini/events{/privacy}","received_events_url":"https://api.github.com/users/russellballestrini/received_events","type":"User","site_admin":false},"created_at":"2018-09-25T22:02:26Z","updated_at":"2018-09-25T22:02:26Z","author_association":"MEMBER","body":"@bmarini I'm in agreement. Right now SlashDeploy keeps this \"default_environment\" in the database. This simply allows a repo owner to optionally set a default in `.slashdeploy.yml`.\r\n\r\nPreviously I think SlashDeploy would automatically set the first created environment as default and there was no way to adjust this.  Now SlashDeploy does not setup a `default_environment` unless explicitly set."}}
{"actor":{"display_login":"russellballestrini"}}