{"action":"created","issue":{"url":"https://api.github.com/repos/flynn/flynn/issues/3718","repository_url":"https://api.github.com/repos/flynn/flynn","labels_url":"https://api.github.com/repos/flynn/flynn/issues/3718/labels{/name}","comments_url":"https://api.github.com/repos/flynn/flynn/issues/3718/comments","events_url":"https://api.github.com/repos/flynn/flynn/issues/3718/events","html_url":"https://github.com/flynn/flynn/pull/3718","id":190799449,"number":3718,"title":"controller: Associate releases with a single app","user":{"login":"titanous","id":13026,"avatar_url":"https://avatars.githubusercontent.com/u/13026?v=3","gravatar_id":"","url":"https://api.github.com/users/titanous","html_url":"https://github.com/titanous","followers_url":"https://api.github.com/users/titanous/followers","following_url":"https://api.github.com/users/titanous/following{/other_user}","gists_url":"https://api.github.com/users/titanous/gists{/gist_id}","starred_url":"https://api.github.com/users/titanous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titanous/subscriptions","organizations_url":"https://api.github.com/users/titanous/orgs","repos_url":"https://api.github.com/users/titanous/repos","events_url":"https://api.github.com/users/titanous/events{/privacy}","received_events_url":"https://api.github.com/users/titanous/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-21T18:31:19Z","updated_at":"2016-12-13T20:50:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/flynn/flynn/pulls/3718","html_url":"https://github.com/flynn/flynn/pull/3718","diff_url":"https://github.com/flynn/flynn/pull/3718.diff","patch_url":"https://github.com/flynn/flynn/pull/3718.patch"},"body":"Releases were previously related to apps indirectly via formations, but pretty much everywhere a release is created, there is an associated app that a formation is created for, so whilst associating a release with multiple apps via formations was possible, it was rarely done.\r\n\r\nThis commit adds an `app_id` column and makes it required if the release is not deleted. Old releases that can't reliably be associated with an app are marked as deleted."},"comment":{"url":"https://api.github.com/repos/flynn/flynn/issues/comments/266857938","html_url":"https://github.com/flynn/flynn/pull/3718#issuecomment-266857938","issue_url":"https://api.github.com/repos/flynn/flynn/issues/3718","id":266857938,"user":{"login":"titanous","id":13026,"avatar_url":"https://avatars.githubusercontent.com/u/13026?v=3","gravatar_id":"","url":"https://api.github.com/users/titanous","html_url":"https://github.com/titanous","followers_url":"https://api.github.com/users/titanous/followers","following_url":"https://api.github.com/users/titanous/following{/other_user}","gists_url":"https://api.github.com/users/titanous/gists{/gist_id}","starred_url":"https://api.github.com/users/titanous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titanous/subscriptions","organizations_url":"https://api.github.com/users/titanous/orgs","repos_url":"https://api.github.com/users/titanous/repos","events_url":"https://api.github.com/users/titanous/events{/privacy}","received_events_url":"https://api.github.com/users/titanous/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T20:50:33Z","updated_at":"2016-12-13T20:50:33Z","body":"I refactored the handling of domain migrations, please take a quick look."}}
{"actor":{"display_login":"titanous"}}