{"action":"created","comment":{"url":"https://api.github.com/repos/concourse/s3-resource/pulls/comments/78235251","id":78235251,"diff_hunk":"@@ -297,6 +298,9 @@ func (client *s3client) getBucketContents(bucketName string, prefix string) (map\n \t\t\t} else {\n \t\t\t\tmarker = *listObjectsResponse.NextMarker\n \t\t\t}\n+\t\t\tif marker == prevMarker {","path":"s3client.go","position":12,"original_position":12,"commit_id":"bee278ede5cc4d938efe5f6292a577fde06a6159","original_commit_id":"bee278ede5cc4d938efe5f6292a577fde06a6159","user":{"login":"vito","id":1880,"avatar_url":"https://avatars.githubusercontent.com/u/1880?v=3","gravatar_id":"","url":"https://api.github.com/users/vito","html_url":"https://github.com/vito","followers_url":"https://api.github.com/users/vito/followers","following_url":"https://api.github.com/users/vito/following{/other_user}","gists_url":"https://api.github.com/users/vito/gists{/gist_id}","starred_url":"https://api.github.com/users/vito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vito/subscriptions","organizations_url":"https://api.github.com/users/vito/orgs","repos_url":"https://api.github.com/users/vito/repos","events_url":"https://api.github.com/users/vito/events{/privacy}","received_events_url":"https://api.github.com/users/vito/received_events","type":"User","site_admin":false},"body":"Can this still happen?","created_at":"2016-09-09T19:25:58Z","updated_at":"2016-09-09T19:25:59Z","html_url":"https://github.com/concourse/s3-resource/pull/48#discussion_r78235251","pull_request_url":"https://api.github.com/repos/concourse/s3-resource/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/concourse/s3-resource/pulls/comments/78235251"},"html":{"href":"https://github.com/concourse/s3-resource/pull/48#discussion_r78235251"},"pull_request":{"href":"https://api.github.com/repos/concourse/s3-resource/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/concourse/s3-resource/pulls/48","id":83833696,"html_url":"https://github.com/concourse/s3-resource/pull/48","diff_url":"https://github.com/concourse/s3-resource/pull/48.diff","patch_url":"https://github.com/concourse/s3-resource/pull/48.patch","issue_url":"https://api.github.com/repos/concourse/s3-resource/issues/48","number":48,"state":"open","locked":false,"title":"Add `virtual_hosted_style` flag to allow interactions with CloudFront","user":{"login":"cunnie","id":1020675,"avatar_url":"https://avatars.githubusercontent.com/u/1020675?v=3","gravatar_id":"","url":"https://api.github.com/users/cunnie","html_url":"https://github.com/cunnie","followers_url":"https://api.github.com/users/cunnie/followers","following_url":"https://api.github.com/users/cunnie/following{/other_user}","gists_url":"https://api.github.com/users/cunnie/gists{/gist_id}","starred_url":"https://api.github.com/users/cunnie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cunnie/subscriptions","organizations_url":"https://api.github.com/users/cunnie/orgs","repos_url":"https://api.github.com/users/cunnie/repos","events_url":"https://api.github.com/users/cunnie/events{/privacy}","received_events_url":"https://api.github.com/users/cunnie/received_events","type":"User","site_admin":false},"body":"- the core functionality is that it allows the bucket name\r\n  to be prepended to the hostname (e.g. `dulfnruy35dwq.cloudfront.net`)\r\n  instead of default to the path (e.g. `cloudfront.net/dulfnruy35dwq`)\r\n- particularly effective when downloading assets from an\r\n  unstable network (i.e. AWS China)\r\n- this should not be confused with the `cloudfront_url` flag,\r\n  which modifies the URL being outputted but does not affect\r\n  the URL used to check/in/out.\r\n\r\n```yaml\r\nsource:\r\n  bucket: dulfnruy35dwq\r\n  endpoint: cloudfront.net\r\n  force_path_style: false\r\n```\r\n\r\nSigned-off-by: Brian Cunnie <bcunnie@pivotal.io>\r\n\r\n[#129581055](https://www.pivotaltracker.com/story/show/129581055)","created_at":"2016-09-02T17:00:12Z","updated_at":"2016-09-09T19:25:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37cad887655d6274d473a89be919a2ea5054bbe1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/concourse/s3-resource/pulls/48/commits","review_comments_url":"https://api.github.com/repos/concourse/s3-resource/pulls/48/comments","review_comment_url":"https://api.github.com/repos/concourse/s3-resource/pulls/comments{/number}","comments_url":"https://api.github.com/repos/concourse/s3-resource/issues/48/comments","statuses_url":"https://api.github.com/repos/concourse/s3-resource/statuses/bee278ede5cc4d938efe5f6292a577fde06a6159","head":{"label":"cunnie:PR-force-path-style","ref":"PR-force-path-style","sha":"bee278ede5cc4d938efe5f6292a577fde06a6159","user":{"login":"cunnie","id":1020675,"avatar_url":"https://avatars.githubusercontent.com/u/1020675?v=3","gravatar_id":"","url":"https://api.github.com/users/cunnie","html_url":"https://github.com/cunnie","followers_url":"https://api.github.com/users/cunnie/followers","following_url":"https://api.github.com/users/cunnie/following{/other_user}","gists_url":"https://api.github.com/users/cunnie/gists{/gist_id}","starred_url":"https://api.github.com/users/cunnie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cunnie/subscriptions","organizations_url":"https://api.github.com/users/cunnie/orgs","repos_url":"https://api.github.com/users/cunnie/repos","events_url":"https://api.github.com/users/cunnie/events{/privacy}","received_events_url":"https://api.github.com/users/cunnie/received_events","type":"User","site_admin":false},"repo":{"id":67240237,"name":"s3-resource","full_name":"cunnie/s3-resource","owner":{"login":"cunnie","id":1020675,"avatar_url":"https://avatars.githubusercontent.com/u/1020675?v=3","gravatar_id":"","url":"https://api.github.com/users/cunnie","html_url":"https://github.com/cunnie","followers_url":"https://api.github.com/users/cunnie/followers","following_url":"https://api.github.com/users/cunnie/following{/other_user}","gists_url":"https://api.github.com/users/cunnie/gists{/gist_id}","starred_url":"https://api.github.com/users/cunnie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cunnie/subscriptions","organizations_url":"https://api.github.com/users/cunnie/orgs","repos_url":"https://api.github.com/users/cunnie/repos","events_url":"https://api.github.com/users/cunnie/events{/privacy}","received_events_url":"https://api.github.com/users/cunnie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cunnie/s3-resource","description":"Concourse resource for interacting with AWS S3","fork":true,"url":"https://api.github.com/repos/cunnie/s3-resource","forks_url":"https://api.github.com/repos/cunnie/s3-resource/forks","keys_url":"https://api.github.com/repos/cunnie/s3-resource/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cunnie/s3-resource/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cunnie/s3-resource/teams","hooks_url":"https://api.github.com/repos/cunnie/s3-resource/hooks","issue_events_url":"https://api.github.com/repos/cunnie/s3-resource/issues/events{/number}","events_url":"https://api.github.com/repos/cunnie/s3-resource/events","assignees_url":"https://api.github.com/repos/cunnie/s3-resource/assignees{/user}","branches_url":"https://api.github.com/repos/cunnie/s3-resource/branches{/branch}","tags_url":"https://api.github.com/repos/cunnie/s3-resource/tags","blobs_url":"https://api.github.com/repos/cunnie/s3-resource/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cunnie/s3-resource/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cunnie/s3-resource/git/refs{/sha}","trees_url":"https://api.github.com/repos/cunnie/s3-resource/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cunnie/s3-resource/statuses/{sha}","languages_url":"https://api.github.com/repos/cunnie/s3-resource/languages","stargazers_url":"https://api.github.com/repos/cunnie/s3-resource/stargazers","contributors_url":"https://api.github.com/repos/cunnie/s3-resource/contributors","subscribers_url":"https://api.github.com/repos/cunnie/s3-resource/subscribers","subscription_url":"https://api.github.com/repos/cunnie/s3-resource/subscription","commits_url":"https://api.github.com/repos/cunnie/s3-resource/commits{/sha}","git_commits_url":"https://api.github.com/repos/cunnie/s3-resource/git/commits{/sha}","comments_url":"https://api.github.com/repos/cunnie/s3-resource/comments{/number}","issue_comment_url":"https://api.github.com/repos/cunnie/s3-resource/issues/comments{/number}","contents_url":"https://api.github.com/repos/cunnie/s3-resource/contents/{+path}","compare_url":"https://api.github.com/repos/cunnie/s3-resource/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cunnie/s3-resource/merges","archive_url":"https://api.github.com/repos/cunnie/s3-resource/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cunnie/s3-resource/downloads","issues_url":"https://api.github.com/repos/cunnie/s3-resource/issues{/number}","pulls_url":"https://api.github.com/repos/cunnie/s3-resource/pulls{/number}","milestones_url":"https://api.github.com/repos/cunnie/s3-resource/milestones{/number}","notifications_url":"https://api.github.com/repos/cunnie/s3-resource/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cunnie/s3-resource/labels{/name}","releases_url":"https://api.github.com/repos/cunnie/s3-resource/releases{/id}","deployments_url":"https://api.github.com/repos/cunnie/s3-resource/deployments","created_at":"2016-09-02T16:59:17Z","updated_at":"2016-09-02T16:59:18Z","pushed_at":"2016-09-06T20:45:14Z","git_url":"git://github.com/cunnie/s3-resource.git","ssh_url":"git@github.com:cunnie/s3-resource.git","clone_url":"https://github.com/cunnie/s3-resource.git","svn_url":"https://github.com/cunnie/s3-resource","homepage":"","size":1580,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"concourse:master","ref":"master","sha":"38b5bec203270395b4059725f7f41e803fe9da67","user":{"login":"concourse","id":7809479,"avatar_url":"https://avatars.githubusercontent.com/u/7809479?v=3","gravatar_id":"","url":"https://api.github.com/users/concourse","html_url":"https://github.com/concourse","followers_url":"https://api.github.com/users/concourse/followers","following_url":"https://api.github.com/users/concourse/following{/other_user}","gists_url":"https://api.github.com/users/concourse/gists{/gist_id}","starred_url":"https://api.github.com/users/concourse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concourse/subscriptions","organizations_url":"https://api.github.com/users/concourse/orgs","repos_url":"https://api.github.com/users/concourse/repos","events_url":"https://api.github.com/users/concourse/events{/privacy}","received_events_url":"https://api.github.com/users/concourse/received_events","type":"Organization","site_admin":false},"repo":{"id":22324474,"name":"s3-resource","full_name":"concourse/s3-resource","owner":{"login":"concourse","id":7809479,"avatar_url":"https://avatars.githubusercontent.com/u/7809479?v=3","gravatar_id":"","url":"https://api.github.com/users/concourse","html_url":"https://github.com/concourse","followers_url":"https://api.github.com/users/concourse/followers","following_url":"https://api.github.com/users/concourse/following{/other_user}","gists_url":"https://api.github.com/users/concourse/gists{/gist_id}","starred_url":"https://api.github.com/users/concourse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concourse/subscriptions","organizations_url":"https://api.github.com/users/concourse/orgs","repos_url":"https://api.github.com/users/concourse/repos","events_url":"https://api.github.com/users/concourse/events{/privacy}","received_events_url":"https://api.github.com/users/concourse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/concourse/s3-resource","description":"Concourse resource for interacting with AWS S3","fork":false,"url":"https://api.github.com/repos/concourse/s3-resource","forks_url":"https://api.github.com/repos/concourse/s3-resource/forks","keys_url":"https://api.github.com/repos/concourse/s3-resource/keys{/key_id}","collaborators_url":"https://api.github.com/repos/concourse/s3-resource/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/concourse/s3-resource/teams","hooks_url":"https://api.github.com/repos/concourse/s3-resource/hooks","issue_events_url":"https://api.github.com/repos/concourse/s3-resource/issues/events{/number}","events_url":"https://api.github.com/repos/concourse/s3-resource/events","assignees_url":"https://api.github.com/repos/concourse/s3-resource/assignees{/user}","branches_url":"https://api.github.com/repos/concourse/s3-resource/branches{/branch}","tags_url":"https://api.github.com/repos/concourse/s3-resource/tags","blobs_url":"https://api.github.com/repos/concourse/s3-resource/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/concourse/s3-resource/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/concourse/s3-resource/git/refs{/sha}","trees_url":"https://api.github.com/repos/concourse/s3-resource/git/trees{/sha}","statuses_url":"https://api.github.com/repos/concourse/s3-resource/statuses/{sha}","languages_url":"https://api.github.com/repos/concourse/s3-resource/languages","stargazers_url":"https://api.github.com/repos/concourse/s3-resource/stargazers","contributors_url":"https://api.github.com/repos/concourse/s3-resource/contributors","subscribers_url":"https://api.github.com/repos/concourse/s3-resource/subscribers","subscription_url":"https://api.github.com/repos/concourse/s3-resource/subscription","commits_url":"https://api.github.com/repos/concourse/s3-resource/commits{/sha}","git_commits_url":"https://api.github.com/repos/concourse/s3-resource/git/commits{/sha}","comments_url":"https://api.github.com/repos/concourse/s3-resource/comments{/number}","issue_comment_url":"https://api.github.com/repos/concourse/s3-resource/issues/comments{/number}","contents_url":"https://api.github.com/repos/concourse/s3-resource/contents/{+path}","compare_url":"https://api.github.com/repos/concourse/s3-resource/compare/{base}...{head}","merges_url":"https://api.github.com/repos/concourse/s3-resource/merges","archive_url":"https://api.github.com/repos/concourse/s3-resource/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/concourse/s3-resource/downloads","issues_url":"https://api.github.com/repos/concourse/s3-resource/issues{/number}","pulls_url":"https://api.github.com/repos/concourse/s3-resource/pulls{/number}","milestones_url":"https://api.github.com/repos/concourse/s3-resource/milestones{/number}","notifications_url":"https://api.github.com/repos/concourse/s3-resource/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/concourse/s3-resource/labels{/name}","releases_url":"https://api.github.com/repos/concourse/s3-resource/releases{/id}","deployments_url":"https://api.github.com/repos/concourse/s3-resource/deployments","created_at":"2014-07-27T22:50:16Z","updated_at":"2016-08-03T10:14:46Z","pushed_at":"2016-09-06T20:45:14Z","git_url":"git://github.com/concourse/s3-resource.git","ssh_url":"git@github.com:concourse/s3-resource.git","clone_url":"https://github.com/concourse/s3-resource.git","svn_url":"https://github.com/concourse/s3-resource","homepage":"","size":1590,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":15,"forks":31,"open_issues":15,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/concourse/s3-resource/pulls/48"},"html":{"href":"https://github.com/concourse/s3-resource/pull/48"},"issue":{"href":"https://api.github.com/repos/concourse/s3-resource/issues/48"},"comments":{"href":"https://api.github.com/repos/concourse/s3-resource/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/concourse/s3-resource/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/concourse/s3-resource/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/concourse/s3-resource/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/concourse/s3-resource/statuses/bee278ede5cc4d938efe5f6292a577fde06a6159"}}}}
{"actor":{"display_login":"vito"}}