{"action":"created","issue":{"url":"https://api.github.com/repos/migrating-ravens/RavenMigrations/issues/25","labels_url":"https://api.github.com/repos/migrating-ravens/RavenMigrations/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/migrating-ravens/RavenMigrations/issues/25/comments","events_url":"https://api.github.com/repos/migrating-ravens/RavenMigrations/issues/25/events","html_url":"https://github.com/migrating-ravens/RavenMigrations/pull/25","id":73456205,"number":25,"title":"Patch migrations, Alternate versioning scheme, version number by convention","user":{"login":"brunomlopes","id":83034,"avatar_url":"https://avatars.githubusercontent.com/u/83034?v=3","gravatar_id":"","url":"https://api.github.com/users/brunomlopes","html_url":"https://github.com/brunomlopes","followers_url":"https://api.github.com/users/brunomlopes/followers","following_url":"https://api.github.com/users/brunomlopes/following{/other_user}","gists_url":"https://api.github.com/users/brunomlopes/gists{/gist_id}","starred_url":"https://api.github.com/users/brunomlopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunomlopes/subscriptions","organizations_url":"https://api.github.com/users/brunomlopes/orgs","repos_url":"https://api.github.com/users/brunomlopes/repos","events_url":"https://api.github.com/users/brunomlopes/events{/privacy}","received_events_url":"https://api.github.com/users/brunomlopes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-05T22:54:10Z","updated_at":"2015-05-19T13:19:09Z","closed_at":"2015-05-19T13:19:09Z","pull_request":{"url":"https://api.github.com/repos/migrating-ravens/RavenMigrations/pulls/25","html_url":"https://github.com/migrating-ravens/RavenMigrations/pull/25","diff_url":"https://github.com/migrating-ravens/RavenMigrations/pull/25.diff","patch_url":"https://github.com/migrating-ravens/RavenMigrations/pull/25.patch"},"body":"This is a big PR, and I expect things to change and have a discussion around these changes :)\r\n\r\nA description of (most of) the changes can be seen [on a change to the readme](https://github.com/migrating-ravens/RavenMigrations/commit/d14c7c2bf9c37097f93b766c359c958d65f958f2).\r\n\r\nI would have to check, but this might have a breaking change as far as migration doc ids go."},"comment":{"url":"https://api.github.com/repos/migrating-ravens/RavenMigrations/issues/comments/103485361","html_url":"https://github.com/migrating-ravens/RavenMigrations/pull/25#issuecomment-103485361","issue_url":"https://api.github.com/repos/migrating-ravens/RavenMigrations/issues/25","id":103485361,"user":{"login":"brunomlopes","id":83034,"avatar_url":"https://avatars.githubusercontent.com/u/83034?v=3","gravatar_id":"","url":"https://api.github.com/users/brunomlopes","html_url":"https://github.com/brunomlopes","followers_url":"https://api.github.com/users/brunomlopes/followers","following_url":"https://api.github.com/users/brunomlopes/following{/other_user}","gists_url":"https://api.github.com/users/brunomlopes/gists{/gist_id}","starred_url":"https://api.github.com/users/brunomlopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunomlopes/subscriptions","organizations_url":"https://api.github.com/users/brunomlopes/orgs","repos_url":"https://api.github.com/users/brunomlopes/repos","events_url":"https://api.github.com/users/brunomlopes/events{/privacy}","received_events_url":"https://api.github.com/users/brunomlopes/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T13:19:09Z","updated_at":"2015-05-19T13:19:09Z","body":"I can try, yeah. It's big because we've been using and evolving it for the past year or so.\r\n\r\nPatch migrations should be straightforward to extract, as they're mostly subclasses of Migration.\r\n\r\nThen there's the alternate versioning scheme which consists of supporting quads of migrations.\r\n\r\nFinally, there's \"migration number by convention\". This one uses a different collector that infers the number from the name and namespace, instead of having to decorate the class. It does not yet support profiles, but I think it can be made to support them as separate properties.\r\n\r\nI'l try to split them into different PRs over the next week or so.."}}