{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/clair/issues/261","repository_url":"https://api.github.com/repos/coreos/clair","labels_url":"https://api.github.com/repos/coreos/clair/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/coreos/clair/issues/261/comments","events_url":"https://api.github.com/repos/coreos/clair/issues/261/events","html_url":"https://github.com/coreos/clair/pull/261","id":188777827,"number":261,"title":"Replace liamstask/goose by remind101/migrate","user":{"login":"Quentin-M","id":1332289,"avatar_url":"https://avatars.githubusercontent.com/u/1332289?v=3","gravatar_id":"","url":"https://api.github.com/users/Quentin-M","html_url":"https://github.com/Quentin-M","followers_url":"https://api.github.com/users/Quentin-M/followers","following_url":"https://api.github.com/users/Quentin-M/following{/other_user}","gists_url":"https://api.github.com/users/Quentin-M/gists{/gist_id}","starred_url":"https://api.github.com/users/Quentin-M/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quentin-M/subscriptions","organizations_url":"https://api.github.com/users/Quentin-M/orgs","repos_url":"https://api.github.com/users/Quentin-M/repos","events_url":"https://api.github.com/users/Quentin-M/events{/privacy}","received_events_url":"https://api.github.com/users/Quentin-M/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jzelinskie","id":343539,"avatar_url":"https://avatars.githubusercontent.com/u/343539?v=3","gravatar_id":"","url":"https://api.github.com/users/jzelinskie","html_url":"https://github.com/jzelinskie","followers_url":"https://api.github.com/users/jzelinskie/followers","following_url":"https://api.github.com/users/jzelinskie/following{/other_user}","gists_url":"https://api.github.com/users/jzelinskie/gists{/gist_id}","starred_url":"https://api.github.com/users/jzelinskie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzelinskie/subscriptions","organizations_url":"https://api.github.com/users/jzelinskie/orgs","repos_url":"https://api.github.com/users/jzelinskie/repos","events_url":"https://api.github.com/users/jzelinskie/events{/privacy}","received_events_url":"https://api.github.com/users/jzelinskie/received_events","type":"User","site_admin":false},"assignees":[{"login":"jzelinskie","id":343539,"avatar_url":"https://avatars.githubusercontent.com/u/343539?v=3","gravatar_id":"","url":"https://api.github.com/users/jzelinskie","html_url":"https://github.com/jzelinskie","followers_url":"https://api.github.com/users/jzelinskie/followers","following_url":"https://api.github.com/users/jzelinskie/following{/other_user}","gists_url":"https://api.github.com/users/jzelinskie/gists{/gist_id}","starred_url":"https://api.github.com/users/jzelinskie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzelinskie/subscriptions","organizations_url":"https://api.github.com/users/jzelinskie/orgs","repos_url":"https://api.github.com/users/jzelinskie/repos","events_url":"https://api.github.com/users/jzelinskie/events{/privacy}","received_events_url":"https://api.github.com/users/jzelinskie/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-11-11T14:59:06Z","updated_at":"2016-11-11T16:33:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/coreos/clair/pulls/261","html_url":"https://github.com/coreos/clair/pull/261","diff_url":"https://github.com/coreos/clair/pull/261.diff","patch_url":"https://github.com/coreos/clair/pull/261.patch"},"body":"This PR replaces our current migrator tool for PostgreSQL (liamstack/goose), which is an abandoned project, by a simpler one.\r\n\r\n- Migrations can now be embedded, \r\n- An [advisory lock](https://www.postgresql.org/docs/9.4/static/explicit-locking.html) is maintained on the database during the migration process,\r\n- The initial database migration is now the second migration, instead of the first one. The first one verifies if there's a goose's table present in the database, if that is the case,it is removed the initial database migration is marked as completed for the new migrator.\r\n\r\nFixes #93\r\n\r\n> 222 additions and 2,224 deletions.\r\n\r\nWhat could go wrong?"},"comment":{"url":"https://api.github.com/repos/coreos/clair/issues/comments/259996879","html_url":"https://github.com/coreos/clair/pull/261#issuecomment-259996879","issue_url":"https://api.github.com/repos/coreos/clair/issues/261","id":259996879,"user":{"login":"jzelinskie","id":343539,"avatar_url":"https://avatars.githubusercontent.com/u/343539?v=3","gravatar_id":"","url":"https://api.github.com/users/jzelinskie","html_url":"https://github.com/jzelinskie","followers_url":"https://api.github.com/users/jzelinskie/followers","following_url":"https://api.github.com/users/jzelinskie/following{/other_user}","gists_url":"https://api.github.com/users/jzelinskie/gists{/gist_id}","starred_url":"https://api.github.com/users/jzelinskie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzelinskie/subscriptions","organizations_url":"https://api.github.com/users/jzelinskie/orgs","repos_url":"https://api.github.com/users/jzelinskie/repos","events_url":"https://api.github.com/users/jzelinskie/events{/privacy}","received_events_url":"https://api.github.com/users/jzelinskie/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T16:33:29Z","updated_at":"2016-11-11T16:33:29Z","body":">What could go wrong?\r\n\r\nThe CI could fail XD"}}
{"actor":{"display_login":"jzelinskie"}}