{"action":"created","issue":{"url":"https://api.github.com/repos/hydroshare/hydroshare/issues/407","labels_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/407/labels{/name}","comments_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/407/comments","events_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/407/events","html_url":"https://github.com/hydroshare/hydroshare/issues/407","id":81420145,"number":407,"title":"Stable Migrations Are Essential","user":{"login":"ironfroggy","id":34982,"avatar_url":"https://avatars.githubusercontent.com/u/34982?v=3","gravatar_id":"","url":"https://api.github.com/users/ironfroggy","html_url":"https://github.com/ironfroggy","followers_url":"https://api.github.com/users/ironfroggy/followers","following_url":"https://api.github.com/users/ironfroggy/following{/other_user}","gists_url":"https://api.github.com/users/ironfroggy/gists{/gist_id}","starred_url":"https://api.github.com/users/ironfroggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironfroggy/subscriptions","organizations_url":"https://api.github.com/users/ironfroggy/orgs","repos_url":"https://api.github.com/users/ironfroggy/repos","events_url":"https://api.github.com/users/ironfroggy/events{/privacy}","received_events_url":"https://api.github.com/users/ironfroggy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hydroshare/hydroshare/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/hydroshare/hydroshare/labels/refactor/cleanup","name":"refactor/cleanup","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-27T12:00:14Z","updated_at":"2015-05-27T16:19:40Z","closed_at":null,"body":"The current setup with some migrations being automatically generated on different machines (as part of the `deploy-hs` script) is unstable. Having the development heads (either the develop or master branches) stand with missing migrations is unstable.\r\n\r\n**1)** The missing migrations **must** be committed and merged\r\n**2)** The `makemigrations` command must be a part of creating a new branch, not deployment (running them should be part of deployment, though)\r\n**3)** A policy **must** be adopted that no branch or pull request be accepted for merge that does not provide a complete set of migrations. No branch should be accepted for which the `makemigrations` command would try to generate anything that isn't already included.\r\n"},"comment":{"url":"https://api.github.com/repos/hydroshare/hydroshare/issues/comments/105983180","html_url":"https://github.com/hydroshare/hydroshare/issues/407#issuecomment-105983180","issue_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/407","id":105983180,"user":{"login":"selimnairb","id":2529681,"avatar_url":"https://avatars.githubusercontent.com/u/2529681?v=3","gravatar_id":"","url":"https://api.github.com/users/selimnairb","html_url":"https://github.com/selimnairb","followers_url":"https://api.github.com/users/selimnairb/followers","following_url":"https://api.github.com/users/selimnairb/following{/other_user}","gists_url":"https://api.github.com/users/selimnairb/gists{/gist_id}","starred_url":"https://api.github.com/users/selimnairb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selimnairb/subscriptions","organizations_url":"https://api.github.com/users/selimnairb/orgs","repos_url":"https://api.github.com/users/selimnairb/repos","events_url":"https://api.github.com/users/selimnairb/events{/privacy}","received_events_url":"https://api.github.com/users/selimnairb/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T16:19:40Z","updated_at":"2015-05-27T16:19:40Z","body":"@ironfroggy Can you clarify what you mean by \"merge\" in point 1.  Do you mean taking migrations committed to a feature branch and merging them into develop, and/or also squashing migrations once they are merged into develop?"}}