{"action":"created","comment":{"url":"https://api.github.com/repos/twosigma/Cook/pulls/comments/58136255","id":58136255,"diff_hunk":"@@ -135,8 +279,55 @@\n (defn validate-and-munge-job\n   \"Takes the user and the parsed json from the job and returns proper\n    Job objects, or else throws an exception\"\n-  [db user task-constraints {:strs [cpus mem uuid command priority max_retries max_runtime name uris ports env] :as job}]\n-  (let [munged (merge\n+  [db user task-constraints {:strs [cpus mem uuid command priority max_retries max_runtime name uris ports env container] :as job}]\n+  (let [make-docker","path":"scheduler/src/cook/mesos/api.clj","position":279,"original_position":279,"commit_id":"8fa33eec7317f5f66740827531c39d502a3fde60","original_commit_id":"8fa33eec7317f5f66740827531c39d502a3fde60","user":{"login":"icexelloss","id":793516,"avatar_url":"https://avatars.githubusercontent.com/u/793516?v=3","gravatar_id":"","url":"https://api.github.com/users/icexelloss","html_url":"https://github.com/icexelloss","followers_url":"https://api.github.com/users/icexelloss/followers","following_url":"https://api.github.com/users/icexelloss/following{/other_user}","gists_url":"https://api.github.com/users/icexelloss/gists{/gist_id}","starred_url":"https://api.github.com/users/icexelloss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icexelloss/subscriptions","organizations_url":"https://api.github.com/users/icexelloss/orgs","repos_url":"https://api.github.com/users/icexelloss/repos","events_url":"https://api.github.com/users/icexelloss/events{/privacy}","received_events_url":"https://api.github.com/users/icexelloss/received_events","type":"User","site_admin":false},"body":"Let's try if http://stackoverflow.com/questions/9406156/clojure-convert-hash-maps-key-strings-to-keywords can achieve the same thign here","created_at":"2016-03-31T22:10:32Z","updated_at":"2016-03-31T22:10:32Z","html_url":"https://github.com/twosigma/Cook/pull/91#discussion_r58136255","pull_request_url":"https://api.github.com/repos/twosigma/Cook/pulls/91","_links":{"self":{"href":"https://api.github.com/repos/twosigma/Cook/pulls/comments/58136255"},"html":{"href":"https://github.com/twosigma/Cook/pull/91#discussion_r58136255"},"pull_request":{"href":"https://api.github.com/repos/twosigma/Cook/pulls/91"}}},"pull_request":{"url":"https://api.github.com/repos/twosigma/Cook/pulls/91","id":52470802,"html_url":"https://github.com/twosigma/Cook/pull/91","diff_url":"https://github.com/twosigma/Cook/pull/91.diff","patch_url":"https://github.com/twosigma/Cook/pull/91.patch","issue_url":"https://api.github.com/repos/twosigma/Cook/issues/91","number":91,"state":"open","locked":false,"title":"First draft of container support.","user":{"login":"sdegler","id":3758958,"avatar_url":"https://avatars.githubusercontent.com/u/3758958?v=3","gravatar_id":"","url":"https://api.github.com/users/sdegler","html_url":"https://github.com/sdegler","followers_url":"https://api.github.com/users/sdegler/followers","following_url":"https://api.github.com/users/sdegler/following{/other_user}","gists_url":"https://api.github.com/users/sdegler/gists{/gist_id}","starred_url":"https://api.github.com/users/sdegler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdegler/subscriptions","organizations_url":"https://api.github.com/users/sdegler/orgs","repos_url":"https://api.github.com/users/sdegler/repos","events_url":"https://api.github.com/users/sdegler/events{/privacy}","received_events_url":"https://api.github.com/users/sdegler/received_events","type":"User","site_admin":false},"body":"Schema (validator),  Schema(datomic), and input code needed to add container support to cook.\r\nStill has spurious pprints in, these need to be removed prior to commit.\r\nClojure style and idiom comments more than welcome.\r\n","created_at":"2015-12-02T23:31:17Z","updated_at":"2016-03-31T22:10:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f363fdd11ef643883626d47e8f560dee51d814ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/twosigma/Cook/pulls/91/commits","review_comments_url":"https://api.github.com/repos/twosigma/Cook/pulls/91/comments","review_comment_url":"https://api.github.com/repos/twosigma/Cook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twosigma/Cook/issues/91/comments","statuses_url":"https://api.github.com/repos/twosigma/Cook/statuses/8fa33eec7317f5f66740827531c39d502a3fde60","head":{"label":"sdegler:master","ref":"master","sha":"8fa33eec7317f5f66740827531c39d502a3fde60","user":{"login":"sdegler","id":3758958,"avatar_url":"https://avatars.githubusercontent.com/u/3758958?v=3","gravatar_id":"","url":"https://api.github.com/users/sdegler","html_url":"https://github.com/sdegler","followers_url":"https://api.github.com/users/sdegler/followers","following_url":"https://api.github.com/users/sdegler/following{/other_user}","gists_url":"https://api.github.com/users/sdegler/gists{/gist_id}","starred_url":"https://api.github.com/users/sdegler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdegler/subscriptions","organizations_url":"https://api.github.com/users/sdegler/orgs","repos_url":"https://api.github.com/users/sdegler/repos","events_url":"https://api.github.com/users/sdegler/events{/privacy}","received_events_url":"https://api.github.com/users/sdegler/received_events","type":"User","site_admin":false},"repo":{"id":47294555,"name":"Cook","full_name":"sdegler/Cook","owner":{"login":"sdegler","id":3758958,"avatar_url":"https://avatars.githubusercontent.com/u/3758958?v=3","gravatar_id":"","url":"https://api.github.com/users/sdegler","html_url":"https://github.com/sdegler","followers_url":"https://api.github.com/users/sdegler/followers","following_url":"https://api.github.com/users/sdegler/following{/other_user}","gists_url":"https://api.github.com/users/sdegler/gists{/gist_id}","starred_url":"https://api.github.com/users/sdegler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdegler/subscriptions","organizations_url":"https://api.github.com/users/sdegler/orgs","repos_url":"https://api.github.com/users/sdegler/repos","events_url":"https://api.github.com/users/sdegler/events{/privacy}","received_events_url":"https://api.github.com/users/sdegler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sdegler/Cook","description":"Fair job scheduler on Mesos for batch workloads and Spark","fork":true,"url":"https://api.github.com/repos/sdegler/Cook","forks_url":"https://api.github.com/repos/sdegler/Cook/forks","keys_url":"https://api.github.com/repos/sdegler/Cook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sdegler/Cook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sdegler/Cook/teams","hooks_url":"https://api.github.com/repos/sdegler/Cook/hooks","issue_events_url":"https://api.github.com/repos/sdegler/Cook/issues/events{/number}","events_url":"https://api.github.com/repos/sdegler/Cook/events","assignees_url":"https://api.github.com/repos/sdegler/Cook/assignees{/user}","branches_url":"https://api.github.com/repos/sdegler/Cook/branches{/branch}","tags_url":"https://api.github.com/repos/sdegler/Cook/tags","blobs_url":"https://api.github.com/repos/sdegler/Cook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sdegler/Cook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sdegler/Cook/git/refs{/sha}","trees_url":"https://api.github.com/repos/sdegler/Cook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sdegler/Cook/statuses/{sha}","languages_url":"https://api.github.com/repos/sdegler/Cook/languages","stargazers_url":"https://api.github.com/repos/sdegler/Cook/stargazers","contributors_url":"https://api.github.com/repos/sdegler/Cook/contributors","subscribers_url":"https://api.github.com/repos/sdegler/Cook/subscribers","subscription_url":"https://api.github.com/repos/sdegler/Cook/subscription","commits_url":"https://api.github.com/repos/sdegler/Cook/commits{/sha}","git_commits_url":"https://api.github.com/repos/sdegler/Cook/git/commits{/sha}","comments_url":"https://api.github.com/repos/sdegler/Cook/comments{/number}","issue_comment_url":"https://api.github.com/repos/sdegler/Cook/issues/comments{/number}","contents_url":"https://api.github.com/repos/sdegler/Cook/contents/{+path}","compare_url":"https://api.github.com/repos/sdegler/Cook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sdegler/Cook/merges","archive_url":"https://api.github.com/repos/sdegler/Cook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sdegler/Cook/downloads","issues_url":"https://api.github.com/repos/sdegler/Cook/issues{/number}","pulls_url":"https://api.github.com/repos/sdegler/Cook/pulls{/number}","milestones_url":"https://api.github.com/repos/sdegler/Cook/milestones{/number}","notifications_url":"https://api.github.com/repos/sdegler/Cook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sdegler/Cook/labels{/name}","releases_url":"https://api.github.com/repos/sdegler/Cook/releases{/id}","deployments_url":"https://api.github.com/repos/sdegler/Cook/deployments","created_at":"2015-12-02T23:19:45Z","updated_at":"2016-01-21T23:29:57Z","pushed_at":"2016-03-01T21:02:56Z","git_url":"git://github.com/sdegler/Cook.git","ssh_url":"git@github.com:sdegler/Cook.git","clone_url":"https://github.com/sdegler/Cook.git","svn_url":"https://github.com/sdegler/Cook","homepage":"","size":365,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"twosigma:master","ref":"master","sha":"96d7fbf8cb65fe44b92c722a281378ce42feba3d","user":{"login":"twosigma","id":4049181,"avatar_url":"https://avatars.githubusercontent.com/u/4049181?v=3","gravatar_id":"","url":"https://api.github.com/users/twosigma","html_url":"https://github.com/twosigma","followers_url":"https://api.github.com/users/twosigma/followers","following_url":"https://api.github.com/users/twosigma/following{/other_user}","gists_url":"https://api.github.com/users/twosigma/gists{/gist_id}","starred_url":"https://api.github.com/users/twosigma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twosigma/subscriptions","organizations_url":"https://api.github.com/users/twosigma/orgs","repos_url":"https://api.github.com/users/twosigma/repos","events_url":"https://api.github.com/users/twosigma/events{/privacy}","received_events_url":"https://api.github.com/users/twosigma/received_events","type":"Organization","site_admin":false},"repo":{"id":42325066,"name":"Cook","full_name":"twosigma/Cook","owner":{"login":"twosigma","id":4049181,"avatar_url":"https://avatars.githubusercontent.com/u/4049181?v=3","gravatar_id":"","url":"https://api.github.com/users/twosigma","html_url":"https://github.com/twosigma","followers_url":"https://api.github.com/users/twosigma/followers","following_url":"https://api.github.com/users/twosigma/following{/other_user}","gists_url":"https://api.github.com/users/twosigma/gists{/gist_id}","starred_url":"https://api.github.com/users/twosigma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twosigma/subscriptions","organizations_url":"https://api.github.com/users/twosigma/orgs","repos_url":"https://api.github.com/users/twosigma/repos","events_url":"https://api.github.com/users/twosigma/events{/privacy}","received_events_url":"https://api.github.com/users/twosigma/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twosigma/Cook","description":"Fair job scheduler on Mesos for batch workloads and Spark","fork":false,"url":"https://api.github.com/repos/twosigma/Cook","forks_url":"https://api.github.com/repos/twosigma/Cook/forks","keys_url":"https://api.github.com/repos/twosigma/Cook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twosigma/Cook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twosigma/Cook/teams","hooks_url":"https://api.github.com/repos/twosigma/Cook/hooks","issue_events_url":"https://api.github.com/repos/twosigma/Cook/issues/events{/number}","events_url":"https://api.github.com/repos/twosigma/Cook/events","assignees_url":"https://api.github.com/repos/twosigma/Cook/assignees{/user}","branches_url":"https://api.github.com/repos/twosigma/Cook/branches{/branch}","tags_url":"https://api.github.com/repos/twosigma/Cook/tags","blobs_url":"https://api.github.com/repos/twosigma/Cook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twosigma/Cook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twosigma/Cook/git/refs{/sha}","trees_url":"https://api.github.com/repos/twosigma/Cook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twosigma/Cook/statuses/{sha}","languages_url":"https://api.github.com/repos/twosigma/Cook/languages","stargazers_url":"https://api.github.com/repos/twosigma/Cook/stargazers","contributors_url":"https://api.github.com/repos/twosigma/Cook/contributors","subscribers_url":"https://api.github.com/repos/twosigma/Cook/subscribers","subscription_url":"https://api.github.com/repos/twosigma/Cook/subscription","commits_url":"https://api.github.com/repos/twosigma/Cook/commits{/sha}","git_commits_url":"https://api.github.com/repos/twosigma/Cook/git/commits{/sha}","comments_url":"https://api.github.com/repos/twosigma/Cook/comments{/number}","issue_comment_url":"https://api.github.com/repos/twosigma/Cook/issues/comments{/number}","contents_url":"https://api.github.com/repos/twosigma/Cook/contents/{+path}","compare_url":"https://api.github.com/repos/twosigma/Cook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twosigma/Cook/merges","archive_url":"https://api.github.com/repos/twosigma/Cook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twosigma/Cook/downloads","issues_url":"https://api.github.com/repos/twosigma/Cook/issues{/number}","pulls_url":"https://api.github.com/repos/twosigma/Cook/pulls{/number}","milestones_url":"https://api.github.com/repos/twosigma/Cook/milestones{/number}","notifications_url":"https://api.github.com/repos/twosigma/Cook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twosigma/Cook/labels{/name}","releases_url":"https://api.github.com/repos/twosigma/Cook/releases{/id}","deployments_url":"https://api.github.com/repos/twosigma/Cook/deployments","created_at":"2015-09-11T18:20:08Z","updated_at":"2016-02-29T23:16:24Z","pushed_at":"2016-03-30T20:39:07Z","git_url":"git://github.com/twosigma/Cook.git","ssh_url":"git@github.com:twosigma/Cook.git","clone_url":"https://github.com/twosigma/Cook.git","svn_url":"https://github.com/twosigma/Cook","homepage":"","size":492,"stargazers_count":114,"watchers_count":114,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":38,"forks":20,"open_issues":38,"watchers":114,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/twosigma/Cook/pulls/91"},"html":{"href":"https://github.com/twosigma/Cook/pull/91"},"issue":{"href":"https://api.github.com/repos/twosigma/Cook/issues/91"},"comments":{"href":"https://api.github.com/repos/twosigma/Cook/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/twosigma/Cook/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/twosigma/Cook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twosigma/Cook/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/twosigma/Cook/statuses/8fa33eec7317f5f66740827531c39d502a3fde60"}}}}