{"action":"opened","number":87,"pull_request":{"url":"https://api.github.com/repos/coreos/clair/pulls/87","id":61556286,"html_url":"https://github.com/coreos/clair/pull/87","diff_url":"https://github.com/coreos/clair/pull/87.diff","patch_url":"https://github.com/coreos/clair/pull/87.patch","issue_url":"https://api.github.com/repos/coreos/clair/issues/87","number":87,"state":"open","locked":false,"title":"database: Look for migrations relative to executable","user":{"login":"fatalbanana","id":2176651,"avatar_url":"https://avatars.githubusercontent.com/u/2176651?v=3","gravatar_id":"","url":"https://api.github.com/users/fatalbanana","html_url":"https://github.com/fatalbanana","followers_url":"https://api.github.com/users/fatalbanana/followers","following_url":"https://api.github.com/users/fatalbanana/following{/other_user}","gists_url":"https://api.github.com/users/fatalbanana/gists{/gist_id}","starred_url":"https://api.github.com/users/fatalbanana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatalbanana/subscriptions","organizations_url":"https://api.github.com/users/fatalbanana/orgs","repos_url":"https://api.github.com/users/fatalbanana/repos","events_url":"https://api.github.com/users/fatalbanana/events{/privacy}","received_events_url":"https://api.github.com/users/fatalbanana/received_events","type":"User","site_admin":false},"body":"Clair looks for migration scripts beneath _the directory where pgsql.go was at build time_. Somewhere relative to the location of the executable would probably make more sense and may have been what was intended.","created_at":"2016-03-03T13:07:17Z","updated_at":"2016-03-03T13:07:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coreos/clair/pulls/87/commits","review_comments_url":"https://api.github.com/repos/coreos/clair/pulls/87/comments","review_comment_url":"https://api.github.com/repos/coreos/clair/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/clair/issues/87/comments","statuses_url":"https://api.github.com/repos/coreos/clair/statuses/35297b246113b5710dabecde457c20687ac31454","head":{"label":"fatalbanana:patch-2","ref":"patch-2","sha":"35297b246113b5710dabecde457c20687ac31454","user":{"login":"fatalbanana","id":2176651,"avatar_url":"https://avatars.githubusercontent.com/u/2176651?v=3","gravatar_id":"","url":"https://api.github.com/users/fatalbanana","html_url":"https://github.com/fatalbanana","followers_url":"https://api.github.com/users/fatalbanana/followers","following_url":"https://api.github.com/users/fatalbanana/following{/other_user}","gists_url":"https://api.github.com/users/fatalbanana/gists{/gist_id}","starred_url":"https://api.github.com/users/fatalbanana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatalbanana/subscriptions","organizations_url":"https://api.github.com/users/fatalbanana/orgs","repos_url":"https://api.github.com/users/fatalbanana/repos","events_url":"https://api.github.com/users/fatalbanana/events{/privacy}","received_events_url":"https://api.github.com/users/fatalbanana/received_events","type":"User","site_admin":false},"repo":{"id":46723541,"name":"clair","full_name":"fatalbanana/clair","owner":{"login":"fatalbanana","id":2176651,"avatar_url":"https://avatars.githubusercontent.com/u/2176651?v=3","gravatar_id":"","url":"https://api.github.com/users/fatalbanana","html_url":"https://github.com/fatalbanana","followers_url":"https://api.github.com/users/fatalbanana/followers","following_url":"https://api.github.com/users/fatalbanana/following{/other_user}","gists_url":"https://api.github.com/users/fatalbanana/gists{/gist_id}","starred_url":"https://api.github.com/users/fatalbanana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatalbanana/subscriptions","organizations_url":"https://api.github.com/users/fatalbanana/orgs","repos_url":"https://api.github.com/users/fatalbanana/repos","events_url":"https://api.github.com/users/fatalbanana/events{/privacy}","received_events_url":"https://api.github.com/users/fatalbanana/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fatalbanana/clair","description":"Container Vulnerability Analysis Service","fork":true,"url":"https://api.github.com/repos/fatalbanana/clair","forks_url":"https://api.github.com/repos/fatalbanana/clair/forks","keys_url":"https://api.github.com/repos/fatalbanana/clair/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fatalbanana/clair/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fatalbanana/clair/teams","hooks_url":"https://api.github.com/repos/fatalbanana/clair/hooks","issue_events_url":"https://api.github.com/repos/fatalbanana/clair/issues/events{/number}","events_url":"https://api.github.com/repos/fatalbanana/clair/events","assignees_url":"https://api.github.com/repos/fatalbanana/clair/assignees{/user}","branches_url":"https://api.github.com/repos/fatalbanana/clair/branches{/branch}","tags_url":"https://api.github.com/repos/fatalbanana/clair/tags","blobs_url":"https://api.github.com/repos/fatalbanana/clair/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fatalbanana/clair/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fatalbanana/clair/git/refs{/sha}","trees_url":"https://api.github.com/repos/fatalbanana/clair/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fatalbanana/clair/statuses/{sha}","languages_url":"https://api.github.com/repos/fatalbanana/clair/languages","stargazers_url":"https://api.github.com/repos/fatalbanana/clair/stargazers","contributors_url":"https://api.github.com/repos/fatalbanana/clair/contributors","subscribers_url":"https://api.github.com/repos/fatalbanana/clair/subscribers","subscription_url":"https://api.github.com/repos/fatalbanana/clair/subscription","commits_url":"https://api.github.com/repos/fatalbanana/clair/commits{/sha}","git_commits_url":"https://api.github.com/repos/fatalbanana/clair/git/commits{/sha}","comments_url":"https://api.github.com/repos/fatalbanana/clair/comments{/number}","issue_comment_url":"https://api.github.com/repos/fatalbanana/clair/issues/comments{/number}","contents_url":"https://api.github.com/repos/fatalbanana/clair/contents/{+path}","compare_url":"https://api.github.com/repos/fatalbanana/clair/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fatalbanana/clair/merges","archive_url":"https://api.github.com/repos/fatalbanana/clair/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fatalbanana/clair/downloads","issues_url":"https://api.github.com/repos/fatalbanana/clair/issues{/number}","pulls_url":"https://api.github.com/repos/fatalbanana/clair/pulls{/number}","milestones_url":"https://api.github.com/repos/fatalbanana/clair/milestones{/number}","notifications_url":"https://api.github.com/repos/fatalbanana/clair/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fatalbanana/clair/labels{/name}","releases_url":"https://api.github.com/repos/fatalbanana/clair/releases{/id}","deployments_url":"https://api.github.com/repos/fatalbanana/clair/deployments","created_at":"2015-11-23T13:55:14Z","updated_at":"2015-11-23T13:55:15Z","pushed_at":"2016-03-03T13:02:31Z","git_url":"git://github.com/fatalbanana/clair.git","ssh_url":"git@github.com:fatalbanana/clair.git","clone_url":"https://github.com/fatalbanana/clair.git","svn_url":"https://github.com/fatalbanana/clair","homepage":null,"size":11544,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coreos:master","ref":"master","sha":"5a716f93adebd11b275bbaac869354f93a4b7d7a","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":46140633,"name":"clair","full_name":"coreos/clair","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/clair","description":"Container Vulnerability Analysis Service","fork":false,"url":"https://api.github.com/repos/coreos/clair","forks_url":"https://api.github.com/repos/coreos/clair/forks","keys_url":"https://api.github.com/repos/coreos/clair/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/clair/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/clair/teams","hooks_url":"https://api.github.com/repos/coreos/clair/hooks","issue_events_url":"https://api.github.com/repos/coreos/clair/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/clair/events","assignees_url":"https://api.github.com/repos/coreos/clair/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/clair/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/clair/tags","blobs_url":"https://api.github.com/repos/coreos/clair/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/clair/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/clair/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/clair/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/clair/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/clair/languages","stargazers_url":"https://api.github.com/repos/coreos/clair/stargazers","contributors_url":"https://api.github.com/repos/coreos/clair/contributors","subscribers_url":"https://api.github.com/repos/coreos/clair/subscribers","subscription_url":"https://api.github.com/repos/coreos/clair/subscription","commits_url":"https://api.github.com/repos/coreos/clair/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/clair/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/clair/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/clair/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/clair/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/clair/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/clair/merges","archive_url":"https://api.github.com/repos/coreos/clair/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/clair/downloads","issues_url":"https://api.github.com/repos/coreos/clair/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/clair/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/clair/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/clair/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/clair/labels{/name}","releases_url":"https://api.github.com/repos/coreos/clair/releases{/id}","deployments_url":"https://api.github.com/repos/coreos/clair/deployments","created_at":"2015-11-13T18:46:16Z","updated_at":"2016-03-03T12:12:53Z","pushed_at":"2016-03-03T03:47:17Z","git_url":"git://github.com/coreos/clair.git","ssh_url":"git@github.com:coreos/clair.git","clone_url":"https://github.com/coreos/clair.git","svn_url":"https://github.com/coreos/clair","homepage":null,"size":18202,"stargazers_count":913,"watchers_count":913,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":15,"forks":71,"open_issues":15,"watchers":913,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/clair/pulls/87"},"html":{"href":"https://github.com/coreos/clair/pull/87"},"issue":{"href":"https://api.github.com/repos/coreos/clair/issues/87"},"comments":{"href":"https://api.github.com/repos/coreos/clair/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/clair/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/clair/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/clair/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/clair/statuses/35297b246113b5710dabecde457c20687ac31454"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":5,"changed_files":1}}