GitHub PullRequestEvent at 2014-04-11 07:23:27
Repository: warehouse
Actor: westurner
Payload: {"action":"opened","number":263,"pull_request":{"url":"https://api.github.com/repos/pypa/warehouse/pulls/263","id":14641480,"html_url":"https://github.com/pypa/warehouse/pull/263","diff_url":"https://github.com/pypa/warehouse/pull/263.diff","patch_url":"https://github.com/pypa/warehouse/pull/263.patch","issue_url":"https://api.github.com/repos/pypa/warehouse/issues/263","number":263,"state":"open","title":"Updated tests/conftest.py: add fixed IPv4 127.0.0.1 and specify /tmp as ...","user":{"login":"westurner","id":50891,"avatar_url":"https://avatars.githubusercontent.com/u/50891?","gravatar_id":"63ca18e130d527d0741f1da54bb129a7","url":"https://api.github.com/users/westurner","html_url":"https://github.com/westurner","followers_url":"https://api.github.com/users/westurner/followers","following_url":"https://api.github.com/users/westurner/following{/other_user}","gists_url":"https://api.github.com/users/westurner/gists{/gist_id}","starred_url":"https://api.github.com/users/westurner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westurner/subscriptions","organizations_url":"https://api.github.com/users/westurner/orgs","repos_url":"https://api.github.com/users/westurner/repos","events_url":"https://api.github.com/users/westurner/events{/privacy}","received_events_url":"https://api.github.com/users/westurner/received_events","type":"User","site_admin":false},"body":"...socket directory (for Ubuntu 12.04 LTS default config)\r\n\r\n\r\nWas getting:\r\n\r\n```\r\nRuntimeError: Could not start a PostgreSQL instance\r\n```\r\n\r\nSo I un-caught the `psycopg2.OperationalError` and then:\r\n\r\n```\r\npsycopg2.OperationalError: could not connect to server: Connection refused\r\n```\r\n\r\nSo I printed the second `cmd` and ran it manually:\r\n\r\n```\r\n$ postgres -D /tmp/tmpi12312 -p 40109\r\nLOG:  could not bind IPv6 socket: Cannot assign requested address\r\nHINT:  Is another postmaster already running on port 40109? If not, wait a few seconds and retry.\r\nFATAL:  could not create lock file \"/var/run/postgresql/.s.PGSQL.40109.lock\": Permission denied\r\n```\r\n\r\nI'd rather not grant access to `/var/run/postgresql` for tests, and this isn't in a container, so I fixed to `127.0.0.1` (IPv4) and specified the `-D datadir` as the `-k socketdir`; which should be fine for tests when  `var_run_t` isn't necessary.","created_at":"2014-04-11T07:23:27Z","updated_at":"2014-04-11T07:23:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pypa/warehouse/pulls/263/commits","review_comments_url":"https://api.github.com/repos/pypa/warehouse/pulls/263/comments","review_comment_url":"https://api.github.com/repos/pypa/warehouse/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pypa/warehouse/issues/263/comments","statuses_url":"https://api.github.com/repos/pypa/warehouse/statuses/be0e863004371d7a1083831e31c14027096d95b8","head":{"label":"westurner:postgresql_test_server_host_and_var","ref":"postgresql_test_server_host_and_var","sha":"be0e863004371d7a1083831e31c14027096d95b8","user":{"login":"westurner","id":50891,"avatar_url":"https://avatars.githubusercontent.com/u/50891?","gravatar_id":"63ca18e130d527d0741f1da54bb129a7","url":"https://api.github.com/users/westurner","html_url":"https://github.com/westurner","followers_url":"https://api.github.com/users/westurner/followers","following_url":"https://api.github.com/users/westurner/following{/other_user}","gists_url":"https://api.github.com/users/westurner/gists{/gist_id}","starred_url":"https://api.github.com/users/westurner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westurner/subscriptions","organizations_url":"https://api.github.com/users/westurner/orgs","repos_url":"https://api.github.com/users/westurner/repos","events_url":"https://api.github.com/users/westurner/events{/privacy}","received_events_url":"https://api.github.com/users/westurner/received_events","type":"User","site_admin":false},"repo":{"id":18658792,"name":"warehouse","full_name":"westurner/warehouse","owner":{"login":"westurner","id":50891,"avatar_url":"https://avatars.githubusercontent.com/u/50891?","gravatar_id":"63ca18e130d527d0741f1da54bb129a7","url":"https://api.github.com/users/westurner","html_url":"https://github.com/westurner","followers_url":"https://api.github.com/users/westurner/followers","following_url":"https://api.github.com/users/westurner/following{/other_user}","gists_url":"https://api.github.com/users/westurner/gists{/gist_id}","starred_url":"https://api.github.com/users/westurner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westurner/subscriptions","organizations_url":"https://api.github.com/users/westurner/orgs","repos_url":"https://api.github.com/users/westurner/repos","events_url":"https://api.github.com/users/westurner/events{/privacy}","received_events_url":"https://api.github.com/users/westurner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/westurner/warehouse","description":"Next Generation Python Package Repository","fork":true,"url":"https://api.github.com/repos/westurner/warehouse","forks_url":"https://api.github.com/repos/westurner/warehouse/forks","keys_url":"https://api.github.com/repos/westurner/warehouse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/westurner/warehouse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/westurner/warehouse/teams","hooks_url":"https://api.github.com/repos/westurner/warehouse/hooks","issue_events_url":"https://api.github.com/repos/westurner/warehouse/issues/events{/number}","events_url":"https://api.github.com/repos/westurner/warehouse/events","assignees_url":"https://api.github.com/repos/westurner/warehouse/assignees{/user}","branches_url":"https://api.github.com/repos/westurner/warehouse/branches{/branch}","tags_url":"https://api.github.com/repos/westurner/warehouse/tags","blobs_url":"https://api.github.com/repos/westurner/warehouse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/westurner/warehouse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/westurner/warehouse/git/refs{/sha}","trees_url":"https://api.github.com/repos/westurner/warehouse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/westurner/warehouse/statuses/{sha}","languages_url":"https://api.github.com/repos/westurner/warehouse/languages","stargazers_url":"https://api.github.com/repos/westurner/warehouse/stargazers","contributors_url":"https://api.github.com/repos/westurner/warehouse/contributors","subscribers_url":"https://api.github.com/repos/westurner/warehouse/subscribers","subscription_url":"https://api.github.com/repos/westurner/warehouse/subscription","commits_url":"https://api.github.com/repos/westurner/warehouse/commits{/sha}","git_commits_url":"https://api.github.com/repos/westurner/warehouse/git/commits{/sha}","comments_url":"https://api.github.com/repos/westurner/warehouse/comments{/number}","issue_comment_url":"https://api.github.com/repos/westurner/warehouse/issues/comments/{number}","contents_url":"https://api.github.com/repos/westurner/warehouse/contents/{+path}","compare_url":"https://api.github.com/repos/westurner/warehouse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/westurner/warehouse/merges","archive_url":"https://api.github.com/repos/westurner/warehouse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/westurner/warehouse/downloads","issues_url":"https://api.github.com/repos/westurner/warehouse/issues{/number}","pulls_url":"https://api.github.com/repos/westurner/warehouse/pulls{/number}","milestones_url":"https://api.github.com/repos/westurner/warehouse/milestones{/number}","notifications_url":"https://api.github.com/repos/westurner/warehouse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/westurner/warehouse/labels{/name}","releases_url":"https://api.github.com/repos/westurner/warehouse/releases{/id}","created_at":"2014-04-11T01:51:43Z","updated_at":"2014-04-11T07:23:27Z","pushed_at":"2014-04-11T07:17:49Z","git_url":"git://github.com/westurner/warehouse.git","ssh_url":"git@github.com:westurner/warehouse.git","clone_url":"https://github.com/westurner/warehouse.git","svn_url":"https://github.com/westurner/warehouse","homepage":"https://warehouse.readthedocs.org","size":6795,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"pypa:master","ref":"master","sha":"0b0b871d1f3c139ee127ac50ec248e4688e9ba19","user":{"login":"pypa","id":647025,"avatar_url":"https://avatars.githubusercontent.com/u/647025?","gravatar_id":"097e00640790ef99fa4df9e0c29cc6d8","url":"https://api.github.com/users/pypa","html_url":"https://github.com/pypa","followers_url":"https://api.github.com/users/pypa/followers","following_url":"https://api.github.com/users/pypa/following{/other_user}","gists_url":"https://api.github.com/users/pypa/gists{/gist_id}","starred_url":"https://api.github.com/users/pypa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pypa/subscriptions","organizations_url":"https://api.github.com/users/pypa/orgs","repos_url":"https://api.github.com/users/pypa/repos","events_url":"https://api.github.com/users/pypa/events{/privacy}","received_events_url":"https://api.github.com/users/pypa/received_events","type":"Organization","site_admin":false},"repo":{"id":9120498,"name":"warehouse","full_name":"pypa/warehouse","owner":{"login":"pypa","id":647025,"avatar_url":"https://avatars.githubusercontent.com/u/647025?","gravatar_id":"097e00640790ef99fa4df9e0c29cc6d8","url":"https://api.github.com/users/pypa","html_url":"https://github.com/pypa","followers_url":"https://api.github.com/users/pypa/followers","following_url":"https://api.github.com/users/pypa/following{/other_user}","gists_url":"https://api.github.com/users/pypa/gists{/gist_id}","starred_url":"https://api.github.com/users/pypa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pypa/subscriptions","organizations_url":"https://api.github.com/users/pypa/orgs","repos_url":"https://api.github.com/users/pypa/repos","events_url":"https://api.github.com/users/pypa/events{/privacy}","received_events_url":"https://api.github.com/users/pypa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pypa/warehouse","description":"Next Generation Python Package Repository","fork":false,"url":"https://api.github.com/repos/pypa/warehouse","forks_url":"https://api.github.com/repos/pypa/warehouse/forks","keys_url":"https://api.github.com/repos/pypa/warehouse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pypa/warehouse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pypa/warehouse/teams","hooks_url":"https://api.github.com/repos/pypa/warehouse/hooks","issue_events_url":"https://api.github.com/repos/pypa/warehouse/issues/events{/number}","events_url":"https://api.github.com/repos/pypa/warehouse/events","assignees_url":"https://api.github.com/repos/pypa/warehouse/assignees{/user}","branches_url":"https://api.github.com/repos/pypa/warehouse/branches{/branch}","tags_url":"https://api.github.com/repos/pypa/warehouse/tags","blobs_url":"https://api.github.com/repos/pypa/warehouse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pypa/warehouse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pypa/warehouse/git/refs{/sha}","trees_url":"https://api.github.com/repos/pypa/warehouse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pypa/warehouse/statuses/{sha}","languages_url":"https://api.github.com/repos/pypa/warehouse/languages","stargazers_url":"https://api.github.com/repos/pypa/warehouse/stargazers","contributors_url":"https://api.github.com/repos/pypa/warehouse/contributors","subscribers_url":"https://api.github.com/repos/pypa/warehouse/subscribers","subscription_url":"https://api.github.com/repos/pypa/warehouse/subscription","commits_url":"https://api.github.com/repos/pypa/warehouse/commits{/sha}","git_commits_url":"https://api.github.com/repos/pypa/warehouse/git/commits{/sha}","comments_url":"https://api.github.com/repos/pypa/warehouse/comments{/number}","issue_comment_url":"https://api.github.com/repos/pypa/warehouse/issues/comments/{number}","contents_url":"https://api.github.com/repos/pypa/warehouse/contents/{+path}","compare_url":"https://api.github.com/repos/pypa/warehouse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pypa/warehouse/merges","archive_url":"https://api.github.com/repos/pypa/warehouse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pypa/warehouse/downloads","issues_url":"https://api.github.com/repos/pypa/warehouse/issues{/number}","pulls_url":"https://api.github.com/repos/pypa/warehouse/pulls{/number}","milestones_url":"https://api.github.com/repos/pypa/warehouse/milestones{/number}","notifications_url":"https://api.github.com/repos/pypa/warehouse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pypa/warehouse/labels{/name}","releases_url":"https://api.github.com/repos/pypa/warehouse/releases{/id}","created_at":"2013-03-30T19:03:53Z","updated_at":"2014-04-09T11:57:33Z","pushed_at":"2014-04-09T11:57:33Z","git_url":"git://github.com/pypa/warehouse.git","ssh_url":"git@github.com:pypa/warehouse.git","clone_url":"https://github.com/pypa/warehouse.git","svn_url":"https://github.com/pypa/warehouse","homepage":"https://warehouse.readthedocs.org","size":6795,"stargazers_count":103,"watchers_count":103,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":24,"mirror_url":null,"open_issues_count":35,"forks":24,"open_issues":35,"watchers":103,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pypa/warehouse/pulls/263"},"html":{"href":"https://github.com/pypa/warehouse/pull/263"},"issue":{"href":"https://api.github.com/repos/pypa/warehouse/issues/263"},"comments":{"href":"https://api.github.com/repos/pypa/warehouse/issues/263/comments"},"review_comments":{"href":"https://api.github.com/repos/pypa/warehouse/pulls/263/comments"},"review_comment":{"href":"https://api.github.com/repos/pypa/warehouse/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pypa/warehouse/pulls/263/commits"},"statuses":{"href":"https://api.github.com/repos/pypa/warehouse/statuses/be0e863004371d7a1083831e31c14027096d95b8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}