{"action":"opened","number":91,"pull_request":{"url":"https://api.github.com/repos/weavejester/clj-aws-s3/pulls/91","id":65943371,"html_url":"https://github.com/weavejester/clj-aws-s3/pull/91","diff_url":"https://github.com/weavejester/clj-aws-s3/pull/91.diff","patch_url":"https://github.com/weavejester/clj-aws-s3/pull/91.patch","issue_url":"https://api.github.com/repos/weavejester/clj-aws-s3/issues/91","number":91,"state":"open","locked":false,"title":"constraints in copy-object, get-object; process put-object result","user":{"login":"theJenix","id":1337080,"avatar_url":"https://avatars.githubusercontent.com/u/1337080?v=3","gravatar_id":"","url":"https://api.github.com/users/theJenix","html_url":"https://github.com/theJenix","followers_url":"https://api.github.com/users/theJenix/followers","following_url":"https://api.github.com/users/theJenix/following{/other_user}","gists_url":"https://api.github.com/users/theJenix/gists{/gist_id}","starred_url":"https://api.github.com/users/theJenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theJenix/subscriptions","organizations_url":"https://api.github.com/users/theJenix/orgs","repos_url":"https://api.github.com/users/theJenix/repos","events_url":"https://api.github.com/users/theJenix/events{/privacy}","received_events_url":"https://api.github.com/users/theJenix/received_events","type":"User","site_admin":false},"body":"This PR accomplishes two things:\r\n\r\nModify get-object and copy-object to support the matchingEtags, nonmatchingEtags, modifiedSince, and unmodifiedSince constriants (defined in AWS's GetObjectRequest and CopyObjectRequest).\r\n\r\nModify put-object and the (extend-protocol Mappable... form to support converting the PutObjectResult object to a map that gets returned from put-object.\r\n\r\nNote there is a API breaking change in get-object: to take options, I had to replace the function overload that takes a version-id.  I added version-id as an option, but this may break existing code that relies on being able to pass a naked version-id as the third parameter.  If this is unacceptable, please suggest an alternative and I'll modify the PR.","created_at":"2016-04-11T05:55:31Z","updated_at":"2016-04-11T05:55:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/weavejester/clj-aws-s3/pulls/91/commits","review_comments_url":"https://api.github.com/repos/weavejester/clj-aws-s3/pulls/91/comments","review_comment_url":"https://api.github.com/repos/weavejester/clj-aws-s3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/weavejester/clj-aws-s3/issues/91/comments","statuses_url":"https://api.github.com/repos/weavejester/clj-aws-s3/statuses/da790dfa2bf64ef111dda37c149f8384ce1634b0","head":{"label":"theJenix:etag-opts","ref":"etag-opts","sha":"da790dfa2bf64ef111dda37c149f8384ce1634b0","user":{"login":"theJenix","id":1337080,"avatar_url":"https://avatars.githubusercontent.com/u/1337080?v=3","gravatar_id":"","url":"https://api.github.com/users/theJenix","html_url":"https://github.com/theJenix","followers_url":"https://api.github.com/users/theJenix/followers","following_url":"https://api.github.com/users/theJenix/following{/other_user}","gists_url":"https://api.github.com/users/theJenix/gists{/gist_id}","starred_url":"https://api.github.com/users/theJenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theJenix/subscriptions","organizations_url":"https://api.github.com/users/theJenix/orgs","repos_url":"https://api.github.com/users/theJenix/repos","events_url":"https://api.github.com/users/theJenix/events{/privacy}","received_events_url":"https://api.github.com/users/theJenix/received_events","type":"User","site_admin":false},"repo":{"id":55919893,"name":"clj-aws-s3","full_name":"theJenix/clj-aws-s3","owner":{"login":"theJenix","id":1337080,"avatar_url":"https://avatars.githubusercontent.com/u/1337080?v=3","gravatar_id":"","url":"https://api.github.com/users/theJenix","html_url":"https://github.com/theJenix","followers_url":"https://api.github.com/users/theJenix/followers","following_url":"https://api.github.com/users/theJenix/following{/other_user}","gists_url":"https://api.github.com/users/theJenix/gists{/gist_id}","starred_url":"https://api.github.com/users/theJenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theJenix/subscriptions","organizations_url":"https://api.github.com/users/theJenix/orgs","repos_url":"https://api.github.com/users/theJenix/repos","events_url":"https://api.github.com/users/theJenix/events{/privacy}","received_events_url":"https://api.github.com/users/theJenix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/theJenix/clj-aws-s3","description":"S3 client library for Clojure","fork":true,"url":"https://api.github.com/repos/theJenix/clj-aws-s3","forks_url":"https://api.github.com/repos/theJenix/clj-aws-s3/forks","keys_url":"https://api.github.com/repos/theJenix/clj-aws-s3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theJenix/clj-aws-s3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theJenix/clj-aws-s3/teams","hooks_url":"https://api.github.com/repos/theJenix/clj-aws-s3/hooks","issue_events_url":"https://api.github.com/repos/theJenix/clj-aws-s3/issues/events{/number}","events_url":"https://api.github.com/repos/theJenix/clj-aws-s3/events","assignees_url":"https://api.github.com/repos/theJenix/clj-aws-s3/assignees{/user}","branches_url":"https://api.github.com/repos/theJenix/clj-aws-s3/branches{/branch}","tags_url":"https://api.github.com/repos/theJenix/clj-aws-s3/tags","blobs_url":"https://api.github.com/repos/theJenix/clj-aws-s3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theJenix/clj-aws-s3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theJenix/clj-aws-s3/git/refs{/sha}","trees_url":"https://api.github.com/repos/theJenix/clj-aws-s3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theJenix/clj-aws-s3/statuses/{sha}","languages_url":"https://api.github.com/repos/theJenix/clj-aws-s3/languages","stargazers_url":"https://api.github.com/repos/theJenix/clj-aws-s3/stargazers","contributors_url":"https://api.github.com/repos/theJenix/clj-aws-s3/contributors","subscribers_url":"https://api.github.com/repos/theJenix/clj-aws-s3/subscribers","subscription_url":"https://api.github.com/repos/theJenix/clj-aws-s3/subscription","commits_url":"https://api.github.com/repos/theJenix/clj-aws-s3/commits{/sha}","git_commits_url":"https://api.github.com/repos/theJenix/clj-aws-s3/git/commits{/sha}","comments_url":"https://api.github.com/repos/theJenix/clj-aws-s3/comments{/number}","issue_comment_url":"https://api.github.com/repos/theJenix/clj-aws-s3/issues/comments{/number}","contents_url":"https://api.github.com/repos/theJenix/clj-aws-s3/contents/{+path}","compare_url":"https://api.github.com/repos/theJenix/clj-aws-s3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theJenix/clj-aws-s3/merges","archive_url":"https://api.github.com/repos/theJenix/clj-aws-s3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theJenix/clj-aws-s3/downloads","issues_url":"https://api.github.com/repos/theJenix/clj-aws-s3/issues{/number}","pulls_url":"https://api.github.com/repos/theJenix/clj-aws-s3/pulls{/number}","milestones_url":"https://api.github.com/repos/theJenix/clj-aws-s3/milestones{/number}","notifications_url":"https://api.github.com/repos/theJenix/clj-aws-s3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theJenix/clj-aws-s3/labels{/name}","releases_url":"https://api.github.com/repos/theJenix/clj-aws-s3/releases{/id}","deployments_url":"https://api.github.com/repos/theJenix/clj-aws-s3/deployments","created_at":"2016-04-10T20:04:54Z","updated_at":"2016-04-10T20:04:55Z","pushed_at":"2016-04-11T05:49:13Z","git_url":"git://github.com/theJenix/clj-aws-s3.git","ssh_url":"git@github.com:theJenix/clj-aws-s3.git","clone_url":"https://github.com/theJenix/clj-aws-s3.git","svn_url":"https://github.com/theJenix/clj-aws-s3","homepage":"","size":157,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"weavejester:master","ref":"master","sha":"b01c0f1bf13010eac9fe9b4cc2da47dae236fd86","user":{"login":"weavejester","id":8780,"avatar_url":"https://avatars.githubusercontent.com/u/8780?v=3","gravatar_id":"","url":"https://api.github.com/users/weavejester","html_url":"https://github.com/weavejester","followers_url":"https://api.github.com/users/weavejester/followers","following_url":"https://api.github.com/users/weavejester/following{/other_user}","gists_url":"https://api.github.com/users/weavejester/gists{/gist_id}","starred_url":"https://api.github.com/users/weavejester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weavejester/subscriptions","organizations_url":"https://api.github.com/users/weavejester/orgs","repos_url":"https://api.github.com/users/weavejester/repos","events_url":"https://api.github.com/users/weavejester/events{/privacy}","received_events_url":"https://api.github.com/users/weavejester/received_events","type":"User","site_admin":false},"repo":{"id":3298414,"name":"clj-aws-s3","full_name":"weavejester/clj-aws-s3","owner":{"login":"weavejester","id":8780,"avatar_url":"https://avatars.githubusercontent.com/u/8780?v=3","gravatar_id":"","url":"https://api.github.com/users/weavejester","html_url":"https://github.com/weavejester","followers_url":"https://api.github.com/users/weavejester/followers","following_url":"https://api.github.com/users/weavejester/following{/other_user}","gists_url":"https://api.github.com/users/weavejester/gists{/gist_id}","starred_url":"https://api.github.com/users/weavejester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weavejester/subscriptions","organizations_url":"https://api.github.com/users/weavejester/orgs","repos_url":"https://api.github.com/users/weavejester/repos","events_url":"https://api.github.com/users/weavejester/events{/privacy}","received_events_url":"https://api.github.com/users/weavejester/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/weavejester/clj-aws-s3","description":"S3 client library for Clojure","fork":false,"url":"https://api.github.com/repos/weavejester/clj-aws-s3","forks_url":"https://api.github.com/repos/weavejester/clj-aws-s3/forks","keys_url":"https://api.github.com/repos/weavejester/clj-aws-s3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weavejester/clj-aws-s3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weavejester/clj-aws-s3/teams","hooks_url":"https://api.github.com/repos/weavejester/clj-aws-s3/hooks","issue_events_url":"https://api.github.com/repos/weavejester/clj-aws-s3/issues/events{/number}","events_url":"https://api.github.com/repos/weavejester/clj-aws-s3/events","assignees_url":"https://api.github.com/repos/weavejester/clj-aws-s3/assignees{/user}","branches_url":"https://api.github.com/repos/weavejester/clj-aws-s3/branches{/branch}","tags_url":"https://api.github.com/repos/weavejester/clj-aws-s3/tags","blobs_url":"https://api.github.com/repos/weavejester/clj-aws-s3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weavejester/clj-aws-s3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weavejester/clj-aws-s3/git/refs{/sha}","trees_url":"https://api.github.com/repos/weavejester/clj-aws-s3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weavejester/clj-aws-s3/statuses/{sha}","languages_url":"https://api.github.com/repos/weavejester/clj-aws-s3/languages","stargazers_url":"https://api.github.com/repos/weavejester/clj-aws-s3/stargazers","contributors_url":"https://api.github.com/repos/weavejester/clj-aws-s3/contributors","subscribers_url":"https://api.github.com/repos/weavejester/clj-aws-s3/subscribers","subscription_url":"https://api.github.com/repos/weavejester/clj-aws-s3/subscription","commits_url":"https://api.github.com/repos/weavejester/clj-aws-s3/commits{/sha}","git_commits_url":"https://api.github.com/repos/weavejester/clj-aws-s3/git/commits{/sha}","comments_url":"https://api.github.com/repos/weavejester/clj-aws-s3/comments{/number}","issue_comment_url":"https://api.github.com/repos/weavejester/clj-aws-s3/issues/comments{/number}","contents_url":"https://api.github.com/repos/weavejester/clj-aws-s3/contents/{+path}","compare_url":"https://api.github.com/repos/weavejester/clj-aws-s3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weavejester/clj-aws-s3/merges","archive_url":"https://api.github.com/repos/weavejester/clj-aws-s3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weavejester/clj-aws-s3/downloads","issues_url":"https://api.github.com/repos/weavejester/clj-aws-s3/issues{/number}","pulls_url":"https://api.github.com/repos/weavejester/clj-aws-s3/pulls{/number}","milestones_url":"https://api.github.com/repos/weavejester/clj-aws-s3/milestones{/number}","notifications_url":"https://api.github.com/repos/weavejester/clj-aws-s3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weavejester/clj-aws-s3/labels{/name}","releases_url":"https://api.github.com/repos/weavejester/clj-aws-s3/releases{/id}","deployments_url":"https://api.github.com/repos/weavejester/clj-aws-s3/deployments","created_at":"2012-01-29T17:15:23Z","updated_at":"2016-03-15T12:49:55Z","pushed_at":"2016-04-11T05:55:31Z","git_url":"git://github.com/weavejester/clj-aws-s3.git","ssh_url":"git@github.com:weavejester/clj-aws-s3.git","clone_url":"https://github.com/weavejester/clj-aws-s3.git","svn_url":"https://github.com/weavejester/clj-aws-s3","homepage":"","size":708,"stargazers_count":177,"watchers_count":177,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":96,"mirror_url":null,"open_issues_count":38,"forks":96,"open_issues":38,"watchers":177,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/weavejester/clj-aws-s3/pulls/91"},"html":{"href":"https://github.com/weavejester/clj-aws-s3/pull/91"},"issue":{"href":"https://api.github.com/repos/weavejester/clj-aws-s3/issues/91"},"comments":{"href":"https://api.github.com/repos/weavejester/clj-aws-s3/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/weavejester/clj-aws-s3/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/weavejester/clj-aws-s3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/weavejester/clj-aws-s3/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/weavejester/clj-aws-s3/statuses/da790dfa2bf64ef111dda37c149f8384ce1634b0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":40,"deletions":6,"changed_files":1}}