{"action":"created","comment":{"url":"https://api.github.com/repos/max-zilla/bety/pulls/comments/49528524","id":49528524,"diff_hunk":"@@ -15,18 +15,18 @@\n         -y      latitude value, if no file provided\n         -z      altitude value, if no file provided\n         -r      EPSG reference number, default is 4326\n-        -s      sitename or site_id in BETYdb sites table to associate geometry with.\n-                if a string is provided, site_id will be queried. if an int is provided, site_id is assumed.\n+        -s      sitename or numerical id in BETYdb sites table to associate geometry with.","path":"script/buildSQLGeom.py","position":6,"original_position":6,"commit_id":"4817135d25fbeaab4a80486c563ff4f61111791f","original_commit_id":"4817135d25fbeaab4a80486c563ff4f61111791f","user":{"login":"gsrohde","id":1706896,"avatar_url":"https://avatars.githubusercontent.com/u/1706896?v=3","gravatar_id":"","url":"https://api.github.com/users/gsrohde","html_url":"https://github.com/gsrohde","followers_url":"https://api.github.com/users/gsrohde/followers","following_url":"https://api.github.com/users/gsrohde/following{/other_user}","gists_url":"https://api.github.com/users/gsrohde/gists{/gist_id}","starred_url":"https://api.github.com/users/gsrohde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsrohde/subscriptions","organizations_url":"https://api.github.com/users/gsrohde/orgs","repos_url":"https://api.github.com/users/gsrohde/repos","events_url":"https://api.github.com/users/gsrohde/events{/privacy}","received_events_url":"https://api.github.com/users/gsrohde/received_events","type":"User","site_admin":false},"body":"Since `id` is the actual column name in the sites table, it is confusing to refer to this as `site_id`. (`site_id` only used in _other_ tables as a foreign key to refer to `sites.id`.)","created_at":"2016-01-12T23:03:40Z","updated_at":"2016-01-12T23:03:40Z","html_url":"https://github.com/max-zilla/bety/pull/1#discussion_r49528524","pull_request_url":"https://api.github.com/repos/max-zilla/bety/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/max-zilla/bety/pulls/comments/49528524"},"html":{"href":"https://github.com/max-zilla/bety/pull/1#discussion_r49528524"},"pull_request":{"href":"https://api.github.com/repos/max-zilla/bety/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/max-zilla/bety/pulls/1","id":55830409,"html_url":"https://github.com/max-zilla/bety/pull/1","diff_url":"https://github.com/max-zilla/bety/pull/1.diff","patch_url":"https://github.com/max-zilla/bety/pull/1.patch","issue_url":"https://api.github.com/repos/max-zilla/bety/issues/1","number":1,"state":"open","locked":false,"title":"Build sql geom suggestions","user":{"login":"gsrohde","id":1706896,"avatar_url":"https://avatars.githubusercontent.com/u/1706896?v=3","gravatar_id":"","url":"https://api.github.com/users/gsrohde","html_url":"https://github.com/gsrohde","followers_url":"https://api.github.com/users/gsrohde/followers","following_url":"https://api.github.com/users/gsrohde/following{/other_user}","gists_url":"https://api.github.com/users/gsrohde/gists{/gist_id}","starred_url":"https://api.github.com/users/gsrohde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsrohde/subscriptions","organizations_url":"https://api.github.com/users/gsrohde/orgs","repos_url":"https://api.github.com/users/gsrohde/repos","events_url":"https://api.github.com/users/gsrohde/events{/privacy}","received_events_url":"https://api.github.com/users/gsrohde/received_events","type":"User","site_admin":false},"body":"Some suggested changes.  Some are more important than others.  Only pay attention to those in buildSQLGeom.py.  The others are already merged into master.","created_at":"2016-01-12T22:57:37Z","updated_at":"2016-01-12T23:03:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"947c5c6efbd907c5f4a51099d0befa63d75a2d89","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/max-zilla/bety/pulls/1/commits","review_comments_url":"https://api.github.com/repos/max-zilla/bety/pulls/1/comments","review_comment_url":"https://api.github.com/repos/max-zilla/bety/pulls/comments{/number}","comments_url":"https://api.github.com/repos/max-zilla/bety/issues/1/comments","statuses_url":"https://api.github.com/repos/max-zilla/bety/statuses/4817135d25fbeaab4a80486c563ff4f61111791f","head":{"label":"PecanProject:buildSQLGeom-suggestions","ref":"buildSQLGeom-suggestions","sha":"4817135d25fbeaab4a80486c563ff4f61111791f","user":{"login":"PecanProject","id":2879854,"avatar_url":"https://avatars.githubusercontent.com/u/2879854?v=3","gravatar_id":"","url":"https://api.github.com/users/PecanProject","html_url":"https://github.com/PecanProject","followers_url":"https://api.github.com/users/PecanProject/followers","following_url":"https://api.github.com/users/PecanProject/following{/other_user}","gists_url":"https://api.github.com/users/PecanProject/gists{/gist_id}","starred_url":"https://api.github.com/users/PecanProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PecanProject/subscriptions","organizations_url":"https://api.github.com/users/PecanProject/orgs","repos_url":"https://api.github.com/users/PecanProject/repos","events_url":"https://api.github.com/users/PecanProject/events{/privacy}","received_events_url":"https://api.github.com/users/PecanProject/received_events","type":"Organization","site_admin":false},"repo":{"id":6855801,"name":"bety","full_name":"PecanProject/bety","owner":{"login":"PecanProject","id":2879854,"avatar_url":"https://avatars.githubusercontent.com/u/2879854?v=3","gravatar_id":"","url":"https://api.github.com/users/PecanProject","html_url":"https://github.com/PecanProject","followers_url":"https://api.github.com/users/PecanProject/followers","following_url":"https://api.github.com/users/PecanProject/following{/other_user}","gists_url":"https://api.github.com/users/PecanProject/gists{/gist_id}","starred_url":"https://api.github.com/users/PecanProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PecanProject/subscriptions","organizations_url":"https://api.github.com/users/PecanProject/orgs","repos_url":"https://api.github.com/users/PecanProject/repos","events_url":"https://api.github.com/users/PecanProject/events{/privacy}","received_events_url":"https://api.github.com/users/PecanProject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PecanProject/bety","description":"Web-interface to the Biofuel Ecophysiological Traits and Yields Database (the de-facto PEcAn database)","fork":false,"url":"https://api.github.com/repos/PecanProject/bety","forks_url":"https://api.github.com/repos/PecanProject/bety/forks","keys_url":"https://api.github.com/repos/PecanProject/bety/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PecanProject/bety/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PecanProject/bety/teams","hooks_url":"https://api.github.com/repos/PecanProject/bety/hooks","issue_events_url":"https://api.github.com/repos/PecanProject/bety/issues/events{/number}","events_url":"https://api.github.com/repos/PecanProject/bety/events","assignees_url":"https://api.github.com/repos/PecanProject/bety/assignees{/user}","branches_url":"https://api.github.com/repos/PecanProject/bety/branches{/branch}","tags_url":"https://api.github.com/repos/PecanProject/bety/tags","blobs_url":"https://api.github.com/repos/PecanProject/bety/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PecanProject/bety/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PecanProject/bety/git/refs{/sha}","trees_url":"https://api.github.com/repos/PecanProject/bety/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PecanProject/bety/statuses/{sha}","languages_url":"https://api.github.com/repos/PecanProject/bety/languages","stargazers_url":"https://api.github.com/repos/PecanProject/bety/stargazers","contributors_url":"https://api.github.com/repos/PecanProject/bety/contributors","subscribers_url":"https://api.github.com/repos/PecanProject/bety/subscribers","subscription_url":"https://api.github.com/repos/PecanProject/bety/subscription","commits_url":"https://api.github.com/repos/PecanProject/bety/commits{/sha}","git_commits_url":"https://api.github.com/repos/PecanProject/bety/git/commits{/sha}","comments_url":"https://api.github.com/repos/PecanProject/bety/comments{/number}","issue_comment_url":"https://api.github.com/repos/PecanProject/bety/issues/comments{/number}","contents_url":"https://api.github.com/repos/PecanProject/bety/contents/{+path}","compare_url":"https://api.github.com/repos/PecanProject/bety/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PecanProject/bety/merges","archive_url":"https://api.github.com/repos/PecanProject/bety/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PecanProject/bety/downloads","issues_url":"https://api.github.com/repos/PecanProject/bety/issues{/number}","pulls_url":"https://api.github.com/repos/PecanProject/bety/pulls{/number}","milestones_url":"https://api.github.com/repos/PecanProject/bety/milestones{/number}","notifications_url":"https://api.github.com/repos/PecanProject/bety/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PecanProject/bety/labels{/name}","releases_url":"https://api.github.com/repos/PecanProject/bety/releases{/id}","created_at":"2012-11-25T21:09:46Z","updated_at":"2015-07-14T18:14:13Z","pushed_at":"2016-01-12T22:55:52Z","git_url":"git://github.com/PecanProject/bety.git","ssh_url":"git@github.com:PecanProject/bety.git","clone_url":"https://github.com/PecanProject/bety.git","svn_url":"https://github.com/PecanProject/bety","homepage":"www.betydb.org","size":47202,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"open_issues_count":109,"forks":16,"open_issues":109,"watchers":7,"default_branch":"master"}},"base":{"label":"max-zilla:master","ref":"master","sha":"408ef0aa7659867fae5fdd8d0e04d8554e7c4175","user":{"login":"max-zilla","id":14166971,"avatar_url":"https://avatars.githubusercontent.com/u/14166971?v=3","gravatar_id":"","url":"https://api.github.com/users/max-zilla","html_url":"https://github.com/max-zilla","followers_url":"https://api.github.com/users/max-zilla/followers","following_url":"https://api.github.com/users/max-zilla/following{/other_user}","gists_url":"https://api.github.com/users/max-zilla/gists{/gist_id}","starred_url":"https://api.github.com/users/max-zilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-zilla/subscriptions","organizations_url":"https://api.github.com/users/max-zilla/orgs","repos_url":"https://api.github.com/users/max-zilla/repos","events_url":"https://api.github.com/users/max-zilla/events{/privacy}","received_events_url":"https://api.github.com/users/max-zilla/received_events","type":"User","site_admin":false},"repo":{"id":46443758,"name":"bety","full_name":"max-zilla/bety","owner":{"login":"max-zilla","id":14166971,"avatar_url":"https://avatars.githubusercontent.com/u/14166971?v=3","gravatar_id":"","url":"https://api.github.com/users/max-zilla","html_url":"https://github.com/max-zilla","followers_url":"https://api.github.com/users/max-zilla/followers","following_url":"https://api.github.com/users/max-zilla/following{/other_user}","gists_url":"https://api.github.com/users/max-zilla/gists{/gist_id}","starred_url":"https://api.github.com/users/max-zilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-zilla/subscriptions","organizations_url":"https://api.github.com/users/max-zilla/orgs","repos_url":"https://api.github.com/users/max-zilla/repos","events_url":"https://api.github.com/users/max-zilla/events{/privacy}","received_events_url":"https://api.github.com/users/max-zilla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/max-zilla/bety","description":"Web-interface to the Biofuel Ecophysiological Traits and Yields Database (the de-facto PEcAn database)","fork":true,"url":"https://api.github.com/repos/max-zilla/bety","forks_url":"https://api.github.com/repos/max-zilla/bety/forks","keys_url":"https://api.github.com/repos/max-zilla/bety/keys{/key_id}","collaborators_url":"https://api.github.com/repos/max-zilla/bety/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/max-zilla/bety/teams","hooks_url":"https://api.github.com/repos/max-zilla/bety/hooks","issue_events_url":"https://api.github.com/repos/max-zilla/bety/issues/events{/number}","events_url":"https://api.github.com/repos/max-zilla/bety/events","assignees_url":"https://api.github.com/repos/max-zilla/bety/assignees{/user}","branches_url":"https://api.github.com/repos/max-zilla/bety/branches{/branch}","tags_url":"https://api.github.com/repos/max-zilla/bety/tags","blobs_url":"https://api.github.com/repos/max-zilla/bety/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/max-zilla/bety/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/max-zilla/bety/git/refs{/sha}","trees_url":"https://api.github.com/repos/max-zilla/bety/git/trees{/sha}","statuses_url":"https://api.github.com/repos/max-zilla/bety/statuses/{sha}","languages_url":"https://api.github.com/repos/max-zilla/bety/languages","stargazers_url":"https://api.github.com/repos/max-zilla/bety/stargazers","contributors_url":"https://api.github.com/repos/max-zilla/bety/contributors","subscribers_url":"https://api.github.com/repos/max-zilla/bety/subscribers","subscription_url":"https://api.github.com/repos/max-zilla/bety/subscription","commits_url":"https://api.github.com/repos/max-zilla/bety/commits{/sha}","git_commits_url":"https://api.github.com/repos/max-zilla/bety/git/commits{/sha}","comments_url":"https://api.github.com/repos/max-zilla/bety/comments{/number}","issue_comment_url":"https://api.github.com/repos/max-zilla/bety/issues/comments{/number}","contents_url":"https://api.github.com/repos/max-zilla/bety/contents/{+path}","compare_url":"https://api.github.com/repos/max-zilla/bety/compare/{base}...{head}","merges_url":"https://api.github.com/repos/max-zilla/bety/merges","archive_url":"https://api.github.com/repos/max-zilla/bety/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/max-zilla/bety/downloads","issues_url":"https://api.github.com/repos/max-zilla/bety/issues{/number}","pulls_url":"https://api.github.com/repos/max-zilla/bety/pulls{/number}","milestones_url":"https://api.github.com/repos/max-zilla/bety/milestones{/number}","notifications_url":"https://api.github.com/repos/max-zilla/bety/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/max-zilla/bety/labels{/name}","releases_url":"https://api.github.com/repos/max-zilla/bety/releases{/id}","created_at":"2015-11-18T19:58:22Z","updated_at":"2015-11-18T19:58:28Z","pushed_at":"2016-01-12T22:57:39Z","git_url":"git://github.com/max-zilla/bety.git","ssh_url":"git@github.com:max-zilla/bety.git","clone_url":"https://github.com/max-zilla/bety.git","svn_url":"https://github.com/max-zilla/bety","homepage":"www.betydb.org","size":37866,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/max-zilla/bety/pulls/1"},"html":{"href":"https://github.com/max-zilla/bety/pull/1"},"issue":{"href":"https://api.github.com/repos/max-zilla/bety/issues/1"},"comments":{"href":"https://api.github.com/repos/max-zilla/bety/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/max-zilla/bety/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/max-zilla/bety/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/max-zilla/bety/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/max-zilla/bety/statuses/4817135d25fbeaab4a80486c563ff4f61111791f"}}}}