{"action":"closed","number":18,"pull_request":{"url":"https://api.github.com/repos/nnev/website/pulls/18","id":79463549,"html_url":"https://github.com/nnev/website/pull/18","diff_url":"https://github.com/nnev/website/pull/18.diff","patch_url":"https://github.com/nnev/website/pull/18.patch","issue_url":"https://api.github.com/repos/nnev/website/issues/18","number":18,"state":"closed","locked":false,"title":"Add a package to abstract SQL operations","user":{"login":"Merovius","id":720787,"avatar_url":"https://avatars.githubusercontent.com/u/720787?v=3","gravatar_id":"","url":"https://api.github.com/users/Merovius","html_url":"https://github.com/Merovius","followers_url":"https://api.github.com/users/Merovius/followers","following_url":"https://api.github.com/users/Merovius/following{/other_user}","gists_url":"https://api.github.com/users/Merovius/gists{/gist_id}","starred_url":"https://api.github.com/users/Merovius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Merovius/subscriptions","organizations_url":"https://api.github.com/users/Merovius/orgs","repos_url":"https://api.github.com/users/Merovius/repos","events_url":"https://api.github.com/users/Merovius/events{/privacy}","received_events_url":"https://api.github.com/users/Merovius/received_events","type":"User","site_admin":false},"body":"The data package should improve code-reuse by bundling together the SQL\r\noperations into a common package. It will be marginally less efficient\r\nthan using SQL directly, but it will enforce best practices, remove\r\nduplication and prevent mistakes from broken queries. #7 is the\r\nassociated issue.\r\n\r\nTo begin with, this updates termine to use the new package. It also\r\nrefactors termine a bit.\r\n\r\nFixes #3","created_at":"2016-07-30T17:50:43Z","updated_at":"2016-07-30T22:22:54Z","closed_at":"2016-07-30T22:22:54Z","merged_at":"2016-07-30T22:22:54Z","merge_commit_sha":"dc41ca31b39b99a59992ff226a328b2ae63633d8","assignee":{"login":"cherti","id":6452205,"avatar_url":"https://avatars.githubusercontent.com/u/6452205?v=3","gravatar_id":"","url":"https://api.github.com/users/cherti","html_url":"https://github.com/cherti","followers_url":"https://api.github.com/users/cherti/followers","following_url":"https://api.github.com/users/cherti/following{/other_user}","gists_url":"https://api.github.com/users/cherti/gists{/gist_id}","starred_url":"https://api.github.com/users/cherti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cherti/subscriptions","organizations_url":"https://api.github.com/users/cherti/orgs","repos_url":"https://api.github.com/users/cherti/repos","events_url":"https://api.github.com/users/cherti/events{/privacy}","received_events_url":"https://api.github.com/users/cherti/received_events","type":"User","site_admin":false},"assignees":[{"login":"cherti","id":6452205,"avatar_url":"https://avatars.githubusercontent.com/u/6452205?v=3","gravatar_id":"","url":"https://api.github.com/users/cherti","html_url":"https://github.com/cherti","followers_url":"https://api.github.com/users/cherti/followers","following_url":"https://api.github.com/users/cherti/following{/other_user}","gists_url":"https://api.github.com/users/cherti/gists{/gist_id}","starred_url":"https://api.github.com/users/cherti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cherti/subscriptions","organizations_url":"https://api.github.com/users/cherti/orgs","repos_url":"https://api.github.com/users/cherti/repos","events_url":"https://api.github.com/users/cherti/events{/privacy}","received_events_url":"https://api.github.com/users/cherti/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/nnev/website/pulls/18/commits","review_comments_url":"https://api.github.com/repos/nnev/website/pulls/18/comments","review_comment_url":"https://api.github.com/repos/nnev/website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nnev/website/issues/18/comments","statuses_url":"https://api.github.com/repos/nnev/website/statuses/9e364a796e3c56600cd605f2ce55d62dde29c1c9","head":{"label":"nnev:crud","ref":"crud","sha":"9e364a796e3c56600cd605f2ce55d62dde29c1c9","user":{"login":"nnev","id":6986936,"avatar_url":"https://avatars.githubusercontent.com/u/6986936?v=3","gravatar_id":"","url":"https://api.github.com/users/nnev","html_url":"https://github.com/nnev","followers_url":"https://api.github.com/users/nnev/followers","following_url":"https://api.github.com/users/nnev/following{/other_user}","gists_url":"https://api.github.com/users/nnev/gists{/gist_id}","starred_url":"https://api.github.com/users/nnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnev/subscriptions","organizations_url":"https://api.github.com/users/nnev/orgs","repos_url":"https://api.github.com/users/nnev/repos","events_url":"https://api.github.com/users/nnev/events{/privacy}","received_events_url":"https://api.github.com/users/nnev/received_events","type":"Organization","site_admin":false},"repo":{"id":60436961,"name":"website","full_name":"nnev/website","owner":{"login":"nnev","id":6986936,"avatar_url":"https://avatars.githubusercontent.com/u/6986936?v=3","gravatar_id":"","url":"https://api.github.com/users/nnev","html_url":"https://github.com/nnev","followers_url":"https://api.github.com/users/nnev/followers","following_url":"https://api.github.com/users/nnev/following{/other_user}","gists_url":"https://api.github.com/users/nnev/gists{/gist_id}","starred_url":"https://api.github.com/users/nnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnev/subscriptions","organizations_url":"https://api.github.com/users/nnev/orgs","repos_url":"https://api.github.com/users/nnev/repos","events_url":"https://api.github.com/users/nnev/events{/privacy}","received_events_url":"https://api.github.com/users/nnev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nnev/website","description":"http://www.noname-ev.de/","fork":false,"url":"https://api.github.com/repos/nnev/website","forks_url":"https://api.github.com/repos/nnev/website/forks","keys_url":"https://api.github.com/repos/nnev/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nnev/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nnev/website/teams","hooks_url":"https://api.github.com/repos/nnev/website/hooks","issue_events_url":"https://api.github.com/repos/nnev/website/issues/events{/number}","events_url":"https://api.github.com/repos/nnev/website/events","assignees_url":"https://api.github.com/repos/nnev/website/assignees{/user}","branches_url":"https://api.github.com/repos/nnev/website/branches{/branch}","tags_url":"https://api.github.com/repos/nnev/website/tags","blobs_url":"https://api.github.com/repos/nnev/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nnev/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nnev/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/nnev/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nnev/website/statuses/{sha}","languages_url":"https://api.github.com/repos/nnev/website/languages","stargazers_url":"https://api.github.com/repos/nnev/website/stargazers","contributors_url":"https://api.github.com/repos/nnev/website/contributors","subscribers_url":"https://api.github.com/repos/nnev/website/subscribers","subscription_url":"https://api.github.com/repos/nnev/website/subscription","commits_url":"https://api.github.com/repos/nnev/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/nnev/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/nnev/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/nnev/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/nnev/website/contents/{+path}","compare_url":"https://api.github.com/repos/nnev/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nnev/website/merges","archive_url":"https://api.github.com/repos/nnev/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nnev/website/downloads","issues_url":"https://api.github.com/repos/nnev/website/issues{/number}","pulls_url":"https://api.github.com/repos/nnev/website/pulls{/number}","milestones_url":"https://api.github.com/repos/nnev/website/milestones{/number}","notifications_url":"https://api.github.com/repos/nnev/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nnev/website/labels{/name}","releases_url":"https://api.github.com/repos/nnev/website/releases{/id}","deployments_url":"https://api.github.com/repos/nnev/website/deployments","created_at":"2016-06-05T00:55:18Z","updated_at":"2016-06-05T16:31:14Z","pushed_at":"2016-07-30T22:22:54Z","git_url":"git://github.com/nnev/website.git","ssh_url":"git@github.com:nnev/website.git","clone_url":"https://github.com/nnev/website.git","svn_url":"https://github.com/nnev/website","homepage":null,"size":10843,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":9,"forks":2,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"nnev:master","ref":"master","sha":"f5c9136d11078e25c4a3bd2493974850550d108f","user":{"login":"nnev","id":6986936,"avatar_url":"https://avatars.githubusercontent.com/u/6986936?v=3","gravatar_id":"","url":"https://api.github.com/users/nnev","html_url":"https://github.com/nnev","followers_url":"https://api.github.com/users/nnev/followers","following_url":"https://api.github.com/users/nnev/following{/other_user}","gists_url":"https://api.github.com/users/nnev/gists{/gist_id}","starred_url":"https://api.github.com/users/nnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnev/subscriptions","organizations_url":"https://api.github.com/users/nnev/orgs","repos_url":"https://api.github.com/users/nnev/repos","events_url":"https://api.github.com/users/nnev/events{/privacy}","received_events_url":"https://api.github.com/users/nnev/received_events","type":"Organization","site_admin":false},"repo":{"id":60436961,"name":"website","full_name":"nnev/website","owner":{"login":"nnev","id":6986936,"avatar_url":"https://avatars.githubusercontent.com/u/6986936?v=3","gravatar_id":"","url":"https://api.github.com/users/nnev","html_url":"https://github.com/nnev","followers_url":"https://api.github.com/users/nnev/followers","following_url":"https://api.github.com/users/nnev/following{/other_user}","gists_url":"https://api.github.com/users/nnev/gists{/gist_id}","starred_url":"https://api.github.com/users/nnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnev/subscriptions","organizations_url":"https://api.github.com/users/nnev/orgs","repos_url":"https://api.github.com/users/nnev/repos","events_url":"https://api.github.com/users/nnev/events{/privacy}","received_events_url":"https://api.github.com/users/nnev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nnev/website","description":"http://www.noname-ev.de/","fork":false,"url":"https://api.github.com/repos/nnev/website","forks_url":"https://api.github.com/repos/nnev/website/forks","keys_url":"https://api.github.com/repos/nnev/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nnev/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nnev/website/teams","hooks_url":"https://api.github.com/repos/nnev/website/hooks","issue_events_url":"https://api.github.com/repos/nnev/website/issues/events{/number}","events_url":"https://api.github.com/repos/nnev/website/events","assignees_url":"https://api.github.com/repos/nnev/website/assignees{/user}","branches_url":"https://api.github.com/repos/nnev/website/branches{/branch}","tags_url":"https://api.github.com/repos/nnev/website/tags","blobs_url":"https://api.github.com/repos/nnev/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nnev/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nnev/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/nnev/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nnev/website/statuses/{sha}","languages_url":"https://api.github.com/repos/nnev/website/languages","stargazers_url":"https://api.github.com/repos/nnev/website/stargazers","contributors_url":"https://api.github.com/repos/nnev/website/contributors","subscribers_url":"https://api.github.com/repos/nnev/website/subscribers","subscription_url":"https://api.github.com/repos/nnev/website/subscription","commits_url":"https://api.github.com/repos/nnev/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/nnev/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/nnev/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/nnev/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/nnev/website/contents/{+path}","compare_url":"https://api.github.com/repos/nnev/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nnev/website/merges","archive_url":"https://api.github.com/repos/nnev/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nnev/website/downloads","issues_url":"https://api.github.com/repos/nnev/website/issues{/number}","pulls_url":"https://api.github.com/repos/nnev/website/pulls{/number}","milestones_url":"https://api.github.com/repos/nnev/website/milestones{/number}","notifications_url":"https://api.github.com/repos/nnev/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nnev/website/labels{/name}","releases_url":"https://api.github.com/repos/nnev/website/releases{/id}","deployments_url":"https://api.github.com/repos/nnev/website/deployments","created_at":"2016-06-05T00:55:18Z","updated_at":"2016-06-05T16:31:14Z","pushed_at":"2016-07-30T22:22:54Z","git_url":"git://github.com/nnev/website.git","ssh_url":"git@github.com:nnev/website.git","clone_url":"https://github.com/nnev/website.git","svn_url":"https://github.com/nnev/website","homepage":null,"size":10843,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":9,"forks":2,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nnev/website/pulls/18"},"html":{"href":"https://github.com/nnev/website/pull/18"},"issue":{"href":"https://api.github.com/repos/nnev/website/issues/18"},"comments":{"href":"https://api.github.com/repos/nnev/website/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/nnev/website/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/nnev/website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nnev/website/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/nnev/website/statuses/9e364a796e3c56600cd605f2ce55d62dde29c1c9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cherti","id":6452205,"avatar_url":"https://avatars.githubusercontent.com/u/6452205?v=3","gravatar_id":"","url":"https://api.github.com/users/cherti","html_url":"https://github.com/cherti","followers_url":"https://api.github.com/users/cherti/followers","following_url":"https://api.github.com/users/cherti/following{/other_user}","gists_url":"https://api.github.com/users/cherti/gists{/gist_id}","starred_url":"https://api.github.com/users/cherti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cherti/subscriptions","organizations_url":"https://api.github.com/users/cherti/orgs","repos_url":"https://api.github.com/users/cherti/repos","events_url":"https://api.github.com/users/cherti/events{/privacy}","received_events_url":"https://api.github.com/users/cherti/received_events","type":"User","site_admin":false},"comments":0,"review_comments":22,"commits":9,"additions":634,"deletions":229,"changed_files":11}}
{"actor":{"display_login":"cherti"}}