{"action":"opened","number":119,"pull_request":{"url":"https://api.github.com/repos/mapbox/cardboard/pulls/119","id":36552406,"html_url":"https://github.com/mapbox/cardboard/pull/119","diff_url":"https://github.com/mapbox/cardboard/pull/119.diff","patch_url":"https://github.com/mapbox/cardboard/pull/119.patch","issue_url":"https://api.github.com/repos/mapbox/cardboard/issues/119","number":119,"state":"open","locked":false,"title":"Batchmode","user":{"login":"rclark","id":515424,"avatar_url":"https://avatars.githubusercontent.com/u/515424?v=3","gravatar_id":"","url":"https://api.github.com/users/rclark","html_url":"https://github.com/rclark","followers_url":"https://api.github.com/users/rclark/followers","following_url":"https://api.github.com/users/rclark/following{/other_user}","gists_url":"https://api.github.com/users/rclark/gists{/gist_id}","starred_url":"https://api.github.com/users/rclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rclark/subscriptions","organizations_url":"https://api.github.com/users/rclark/orgs","repos_url":"https://api.github.com/users/rclark/repos","events_url":"https://api.github.com/users/rclark/events{/privacy}","received_events_url":"https://api.github.com/users/rclark/received_events","type":"User","site_admin":false},"body":"Adds `cardboard.batch.put()` and `cardboard.batch.remove()`. Pulls some functions into a `utils` module so that they can be used but atomic & batch operations. \r\n\r\nTo do: \r\n- unit test `util` functions.\r\n- consider a \"full-blown\" batch function that can put and/or delete. Would require upstream changes in dyno.\r\n\r\ncc @willwhite ","created_at":"2015-05-29T22:59:26Z","updated_at":"2015-05-29T22:59:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"77220d52fd47b5645d29ed31ed726c74854dd488","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/cardboard/pulls/119/commits","review_comments_url":"https://api.github.com/repos/mapbox/cardboard/pulls/119/comments","review_comment_url":"https://api.github.com/repos/mapbox/cardboard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/cardboard/issues/119/comments","statuses_url":"https://api.github.com/repos/mapbox/cardboard/statuses/264f7779543d869e930fa6f72fc2bb1e26512d94","head":{"label":"mapbox:batchmode","ref":"batchmode","sha":"264f7779543d869e930fa6f72fc2bb1e26512d94","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":19587811,"name":"cardboard","full_name":"mapbox/cardboard","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/cardboard","description":"tile indexed geo database interface.","fork":false,"url":"https://api.github.com/repos/mapbox/cardboard","forks_url":"https://api.github.com/repos/mapbox/cardboard/forks","keys_url":"https://api.github.com/repos/mapbox/cardboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/cardboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/cardboard/teams","hooks_url":"https://api.github.com/repos/mapbox/cardboard/hooks","issue_events_url":"https://api.github.com/repos/mapbox/cardboard/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/cardboard/events","assignees_url":"https://api.github.com/repos/mapbox/cardboard/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/cardboard/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/cardboard/tags","blobs_url":"https://api.github.com/repos/mapbox/cardboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/cardboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/cardboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/cardboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/cardboard/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/cardboard/languages","stargazers_url":"https://api.github.com/repos/mapbox/cardboard/stargazers","contributors_url":"https://api.github.com/repos/mapbox/cardboard/contributors","subscribers_url":"https://api.github.com/repos/mapbox/cardboard/subscribers","subscription_url":"https://api.github.com/repos/mapbox/cardboard/subscription","commits_url":"https://api.github.com/repos/mapbox/cardboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/cardboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/cardboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/cardboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/cardboard/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/cardboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/cardboard/merges","archive_url":"https://api.github.com/repos/mapbox/cardboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/cardboard/downloads","issues_url":"https://api.github.com/repos/mapbox/cardboard/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/cardboard/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/cardboard/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/cardboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/cardboard/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/cardboard/releases{/id}","created_at":"2014-05-08T20:28:37Z","updated_at":"2015-03-22T20:57:12Z","pushed_at":"2015-05-29T22:59:27Z","git_url":"git://github.com/mapbox/cardboard.git","ssh_url":"git@github.com:mapbox/cardboard.git","clone_url":"https://github.com/mapbox/cardboard.git","svn_url":"https://github.com/mapbox/cardboard","homepage":"","size":1894,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":8,"forks":2,"open_issues":8,"watchers":19,"default_branch":"master"}},"base":{"label":"mapbox:master","ref":"master","sha":"e96fd8169be78cd09b134d1e5213b96ac947bd69","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":19587811,"name":"cardboard","full_name":"mapbox/cardboard","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/cardboard","description":"tile indexed geo database interface.","fork":false,"url":"https://api.github.com/repos/mapbox/cardboard","forks_url":"https://api.github.com/repos/mapbox/cardboard/forks","keys_url":"https://api.github.com/repos/mapbox/cardboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/cardboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/cardboard/teams","hooks_url":"https://api.github.com/repos/mapbox/cardboard/hooks","issue_events_url":"https://api.github.com/repos/mapbox/cardboard/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/cardboard/events","assignees_url":"https://api.github.com/repos/mapbox/cardboard/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/cardboard/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/cardboard/tags","blobs_url":"https://api.github.com/repos/mapbox/cardboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/cardboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/cardboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/cardboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/cardboard/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/cardboard/languages","stargazers_url":"https://api.github.com/repos/mapbox/cardboard/stargazers","contributors_url":"https://api.github.com/repos/mapbox/cardboard/contributors","subscribers_url":"https://api.github.com/repos/mapbox/cardboard/subscribers","subscription_url":"https://api.github.com/repos/mapbox/cardboard/subscription","commits_url":"https://api.github.com/repos/mapbox/cardboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/cardboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/cardboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/cardboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/cardboard/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/cardboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/cardboard/merges","archive_url":"https://api.github.com/repos/mapbox/cardboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/cardboard/downloads","issues_url":"https://api.github.com/repos/mapbox/cardboard/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/cardboard/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/cardboard/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/cardboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/cardboard/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/cardboard/releases{/id}","created_at":"2014-05-08T20:28:37Z","updated_at":"2015-03-22T20:57:12Z","pushed_at":"2015-05-29T22:59:27Z","git_url":"git://github.com/mapbox/cardboard.git","ssh_url":"git@github.com:mapbox/cardboard.git","clone_url":"https://github.com/mapbox/cardboard.git","svn_url":"https://github.com/mapbox/cardboard","homepage":"","size":1894,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":8,"forks":2,"open_issues":8,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/cardboard/pulls/119"},"html":{"href":"https://github.com/mapbox/cardboard/pull/119"},"issue":{"href":"https://api.github.com/repos/mapbox/cardboard/issues/119"},"comments":{"href":"https://api.github.com/repos/mapbox/cardboard/issues/119/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/cardboard/pulls/119/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/cardboard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/cardboard/pulls/119/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/cardboard/statuses/264f7779543d869e930fa6f72fc2bb1e26512d94"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":299,"deletions":105,"changed_files":8}}