{"action":"created","comment":{"url":"https://api.github.com/repos/habitat-sh/builder/pulls/comments/188288295","pull_request_review_id":120234669,"id":188288295,"diff_hunk":"@@ -0,0 +1,189 @@\n+// Copyright (c) 2016-2017 Chef Software Inc. and/or applicable contributors\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+//\n+//     http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+\n+//! Pkg storage backend variant which uses S3 (or an API compatible clone) for\n+//! hart storage.\n+//!\n+//! Has been tested against AWS S3.\n+//!\n+//! All packages are stored in a single bucket, using the fully qualified\n+//! package ident as the key, prefixed with `pkgs`","path":"components/builder-depot/src/backend/s3.rs","position":21,"original_position":21,"commit_id":"e1e2f1e7ffdc8a7f73a05b7513895be81fe78511","original_commit_id":"e1e2f1e7ffdc8a7f73a05b7513895be81fe78511","user":{"login":"eeyun","id":12615148,"avatar_url":"https://avatars1.githubusercontent.com/u/12615148?v=4","gravatar_id":"","url":"https://api.github.com/users/eeyun","html_url":"https://github.com/eeyun","followers_url":"https://api.github.com/users/eeyun/followers","following_url":"https://api.github.com/users/eeyun/following{/other_user}","gists_url":"https://api.github.com/users/eeyun/gists{/gist_id}","starred_url":"https://api.github.com/users/eeyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeyun/subscriptions","organizations_url":"https://api.github.com/users/eeyun/orgs","repos_url":"https://api.github.com/users/eeyun/repos","events_url":"https://api.github.com/users/eeyun/events{/privacy}","received_events_url":"https://api.github.com/users/eeyun/received_events","type":"User","site_admin":false},"body":"This is actually an incorrect comment, we don't store in a path prefixed with `pkgs`, will get this removed.","created_at":"2018-05-15T13:34:29Z","updated_at":"2018-05-15T13:34:30Z","html_url":"https://github.com/habitat-sh/builder/pull/372#discussion_r188288295","pull_request_url":"https://api.github.com/repos/habitat-sh/builder/pulls/372","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/habitat-sh/builder/pulls/comments/188288295"},"html":{"href":"https://github.com/habitat-sh/builder/pull/372#discussion_r188288295"},"pull_request":{"href":"https://api.github.com/repos/habitat-sh/builder/pulls/372"}},"in_reply_to_id":188150793},"pull_request":{"url":"https://api.github.com/repos/habitat-sh/builder/pulls/372","id":181197670,"html_url":"https://github.com/habitat-sh/builder/pull/372","diff_url":"https://github.com/habitat-sh/builder/pull/372.diff","patch_url":"https://github.com/habitat-sh/builder/pull/372.patch","issue_url":"https://api.github.com/repos/habitat-sh/builder/issues/372","number":372,"state":"open","locked":false,"title":"[WIP] Adds S3 backend to builder depot","user":{"login":"eeyun","id":12615148,"avatar_url":"https://avatars1.githubusercontent.com/u/12615148?v=4","gravatar_id":"","url":"https://api.github.com/users/eeyun","html_url":"https://github.com/eeyun","followers_url":"https://api.github.com/users/eeyun/followers","following_url":"https://api.github.com/users/eeyun/following{/other_user}","gists_url":"https://api.github.com/users/eeyun/gists{/gist_id}","starred_url":"https://api.github.com/users/eeyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeyun/subscriptions","organizations_url":"https://api.github.com/users/eeyun/orgs","repos_url":"https://api.github.com/users/eeyun/repos","events_url":"https://api.github.com/users/eeyun/events{/privacy}","received_events_url":"https://api.github.com/users/eeyun/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Ian Henry <ihenry@chef.io>","created_at":"2018-04-12T13:10:35Z","updated_at":"2018-05-15T13:34:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e3df6b84b29561424166c3862b2224c3202c9dd","assignee":null,"assignees":[],"requested_reviewers":[{"login":"raskchanky","id":947,"avatar_url":"https://avatars1.githubusercontent.com/u/947?v=4","gravatar_id":"","url":"https://api.github.com/users/raskchanky","html_url":"https://github.com/raskchanky","followers_url":"https://api.github.com/users/raskchanky/followers","following_url":"https://api.github.com/users/raskchanky/following{/other_user}","gists_url":"https://api.github.com/users/raskchanky/gists{/gist_id}","starred_url":"https://api.github.com/users/raskchanky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raskchanky/subscriptions","organizations_url":"https://api.github.com/users/raskchanky/orgs","repos_url":"https://api.github.com/users/raskchanky/repos","events_url":"https://api.github.com/users/raskchanky/events{/privacy}","received_events_url":"https://api.github.com/users/raskchanky/received_events","type":"User","site_admin":false},{"login":"reset","id":54036,"avatar_url":"https://avatars1.githubusercontent.com/u/54036?v=4","gravatar_id":"","url":"https://api.github.com/users/reset","html_url":"https://github.com/reset","followers_url":"https://api.github.com/users/reset/followers","following_url":"https://api.github.com/users/reset/following{/other_user}","gists_url":"https://api.github.com/users/reset/gists{/gist_id}","starred_url":"https://api.github.com/users/reset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reset/subscriptions","organizations_url":"https://api.github.com/users/reset/orgs","repos_url":"https://api.github.com/users/reset/repos","events_url":"https://api.github.com/users/reset/events{/privacy}","received_events_url":"https://api.github.com/users/reset/received_events","type":"User","site_admin":false},{"login":"mgamini","id":223407,"avatar_url":"https://avatars0.githubusercontent.com/u/223407?v=4","gravatar_id":"","url":"https://api.github.com/users/mgamini","html_url":"https://github.com/mgamini","followers_url":"https://api.github.com/users/mgamini/followers","following_url":"https://api.github.com/users/mgamini/following{/other_user}","gists_url":"https://api.github.com/users/mgamini/gists{/gist_id}","starred_url":"https://api.github.com/users/mgamini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgamini/subscriptions","organizations_url":"https://api.github.com/users/mgamini/orgs","repos_url":"https://api.github.com/users/mgamini/repos","events_url":"https://api.github.com/users/mgamini/events{/privacy}","received_events_url":"https://api.github.com/users/mgamini/received_events","type":"User","site_admin":false},{"login":"fnichol","id":261548,"avatar_url":"https://avatars2.githubusercontent.com/u/261548?v=4","gravatar_id":"","url":"https://api.github.com/users/fnichol","html_url":"https://github.com/fnichol","followers_url":"https://api.github.com/users/fnichol/followers","following_url":"https://api.github.com/users/fnichol/following{/other_user}","gists_url":"https://api.github.com/users/fnichol/gists{/gist_id}","starred_url":"https://api.github.com/users/fnichol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnichol/subscriptions","organizations_url":"https://api.github.com/users/fnichol/orgs","repos_url":"https://api.github.com/users/fnichol/repos","events_url":"https://api.github.com/users/fnichol/events{/privacy}","received_events_url":"https://api.github.com/users/fnichol/received_events","type":"User","site_admin":false},{"login":"cnunciato","id":274700,"avatar_url":"https://avatars3.githubusercontent.com/u/274700?v=4","gravatar_id":"","url":"https://api.github.com/users/cnunciato","html_url":"https://github.com/cnunciato","followers_url":"https://api.github.com/users/cnunciato/followers","following_url":"https://api.github.com/users/cnunciato/following{/other_user}","gists_url":"https://api.github.com/users/cnunciato/gists{/gist_id}","starred_url":"https://api.github.com/users/cnunciato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnunciato/subscriptions","organizations_url":"https://api.github.com/users/cnunciato/orgs","repos_url":"https://api.github.com/users/cnunciato/repos","events_url":"https://api.github.com/users/cnunciato/events{/privacy}","received_events_url":"https://api.github.com/users/cnunciato/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":858216117,"url":"https://api.github.com/repos/habitat-sh/builder/labels/A-builder","name":"A-builder","color":"87B09A","default":false},{"id":858216189,"url":"https://api.github.com/repos/habitat-sh/builder/labels/C-feature","name":"C-feature","color":"ff9012","default":false},{"id":858216236,"url":"https://api.github.com/repos/habitat-sh/builder/labels/E-less-easy","name":"E-less-easy","color":"4296b4","default":false},{"id":858216308,"url":"https://api.github.com/repos/habitat-sh/builder/labels/P-3","name":"P-3","color":"3257bc","default":false},{"id":858216294,"url":"https://api.github.com/repos/habitat-sh/builder/labels/T-DO-NOT-MERGE","name":"T-DO-NOT-MERGE","color":"d62f3f","default":false},{"id":859406102,"url":"https://api.github.com/repos/habitat-sh/builder/labels/V-bldr","name":"V-bldr","color":"0fb0bf","default":false},{"id":859406081,"url":"https://api.github.com/repos/habitat-sh/builder/labels/V-devx","name":"V-devx","color":"0fb0bf","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/habitat-sh/builder/pulls/372/commits","review_comments_url":"https://api.github.com/repos/habitat-sh/builder/pulls/372/comments","review_comment_url":"https://api.github.com/repos/habitat-sh/builder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/habitat-sh/builder/issues/372/comments","statuses_url":"https://api.github.com/repos/habitat-sh/builder/statuses/e1e2f1e7ffdc8a7f73a05b7513895be81fe78511","head":{"label":"habitat-sh:eeyun/s3_backend","ref":"eeyun/s3_backend","sha":"e1e2f1e7ffdc8a7f73a05b7513895be81fe78511","user":{"login":"habitat-sh","id":18171698,"avatar_url":"https://avatars0.githubusercontent.com/u/18171698?v=4","gravatar_id":"","url":"https://api.github.com/users/habitat-sh","html_url":"https://github.com/habitat-sh","followers_url":"https://api.github.com/users/habitat-sh/followers","following_url":"https://api.github.com/users/habitat-sh/following{/other_user}","gists_url":"https://api.github.com/users/habitat-sh/gists{/gist_id}","starred_url":"https://api.github.com/users/habitat-sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habitat-sh/subscriptions","organizations_url":"https://api.github.com/users/habitat-sh/orgs","repos_url":"https://api.github.com/users/habitat-sh/repos","events_url":"https://api.github.com/users/habitat-sh/events{/privacy}","received_events_url":"https://api.github.com/users/habitat-sh/received_events","type":"Organization","site_admin":false},"repo":{"id":117904306,"name":"builder","full_name":"habitat-sh/builder","owner":{"login":"habitat-sh","id":18171698,"avatar_url":"https://avatars0.githubusercontent.com/u/18171698?v=4","gravatar_id":"","url":"https://api.github.com/users/habitat-sh","html_url":"https://github.com/habitat-sh","followers_url":"https://api.github.com/users/habitat-sh/followers","following_url":"https://api.github.com/users/habitat-sh/following{/other_user}","gists_url":"https://api.github.com/users/habitat-sh/gists{/gist_id}","starred_url":"https://api.github.com/users/habitat-sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habitat-sh/subscriptions","organizations_url":"https://api.github.com/users/habitat-sh/orgs","repos_url":"https://api.github.com/users/habitat-sh/repos","events_url":"https://api.github.com/users/habitat-sh/events{/privacy}","received_events_url":"https://api.github.com/users/habitat-sh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/habitat-sh/builder","description":"Habitat Builder","fork":false,"url":"https://api.github.com/repos/habitat-sh/builder","forks_url":"https://api.github.com/repos/habitat-sh/builder/forks","keys_url":"https://api.github.com/repos/habitat-sh/builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/habitat-sh/builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/habitat-sh/builder/teams","hooks_url":"https://api.github.com/repos/habitat-sh/builder/hooks","issue_events_url":"https://api.github.com/repos/habitat-sh/builder/issues/events{/number}","events_url":"https://api.github.com/repos/habitat-sh/builder/events","assignees_url":"https://api.github.com/repos/habitat-sh/builder/assignees{/user}","branches_url":"https://api.github.com/repos/habitat-sh/builder/branches{/branch}","tags_url":"https://api.github.com/repos/habitat-sh/builder/tags","blobs_url":"https://api.github.com/repos/habitat-sh/builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/habitat-sh/builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/habitat-sh/builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/habitat-sh/builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/habitat-sh/builder/statuses/{sha}","languages_url":"https://api.github.com/repos/habitat-sh/builder/languages","stargazers_url":"https://api.github.com/repos/habitat-sh/builder/stargazers","contributors_url":"https://api.github.com/repos/habitat-sh/builder/contributors","subscribers_url":"https://api.github.com/repos/habitat-sh/builder/subscribers","subscription_url":"https://api.github.com/repos/habitat-sh/builder/subscription","commits_url":"https://api.github.com/repos/habitat-sh/builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/habitat-sh/builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/habitat-sh/builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/habitat-sh/builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/habitat-sh/builder/contents/{+path}","compare_url":"https://api.github.com/repos/habitat-sh/builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/habitat-sh/builder/merges","archive_url":"https://api.github.com/repos/habitat-sh/builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/habitat-sh/builder/downloads","issues_url":"https://api.github.com/repos/habitat-sh/builder/issues{/number}","pulls_url":"https://api.github.com/repos/habitat-sh/builder/pulls{/number}","milestones_url":"https://api.github.com/repos/habitat-sh/builder/milestones{/number}","notifications_url":"https://api.github.com/repos/habitat-sh/builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/habitat-sh/builder/labels{/name}","releases_url":"https://api.github.com/repos/habitat-sh/builder/releases{/id}","deployments_url":"https://api.github.com/repos/habitat-sh/builder/deployments","created_at":"2018-01-17T23:15:30Z","updated_at":"2018-05-10T20:22:54Z","pushed_at":"2018-05-14T22:35:36Z","git_url":"git://github.com/habitat-sh/builder.git","ssh_url":"git@github.com:habitat-sh/builder.git","clone_url":"https://github.com/habitat-sh/builder.git","svn_url":"https://github.com/habitat-sh/builder","homepage":null,"size":74698,"stargazers_count":7,"watchers_count":7,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":150,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":3,"open_issues":150,"watchers":7,"default_branch":"master"}},"base":{"label":"habitat-sh:master","ref":"master","sha":"06d8d8d0c742412293ed128d8a9436c5318d8749","user":{"login":"habitat-sh","id":18171698,"avatar_url":"https://avatars0.githubusercontent.com/u/18171698?v=4","gravatar_id":"","url":"https://api.github.com/users/habitat-sh","html_url":"https://github.com/habitat-sh","followers_url":"https://api.github.com/users/habitat-sh/followers","following_url":"https://api.github.com/users/habitat-sh/following{/other_user}","gists_url":"https://api.github.com/users/habitat-sh/gists{/gist_id}","starred_url":"https://api.github.com/users/habitat-sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habitat-sh/subscriptions","organizations_url":"https://api.github.com/users/habitat-sh/orgs","repos_url":"https://api.github.com/users/habitat-sh/repos","events_url":"https://api.github.com/users/habitat-sh/events{/privacy}","received_events_url":"https://api.github.com/users/habitat-sh/received_events","type":"Organization","site_admin":false},"repo":{"id":117904306,"name":"builder","full_name":"habitat-sh/builder","owner":{"login":"habitat-sh","id":18171698,"avatar_url":"https://avatars0.githubusercontent.com/u/18171698?v=4","gravatar_id":"","url":"https://api.github.com/users/habitat-sh","html_url":"https://github.com/habitat-sh","followers_url":"https://api.github.com/users/habitat-sh/followers","following_url":"https://api.github.com/users/habitat-sh/following{/other_user}","gists_url":"https://api.github.com/users/habitat-sh/gists{/gist_id}","starred_url":"https://api.github.com/users/habitat-sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habitat-sh/subscriptions","organizations_url":"https://api.github.com/users/habitat-sh/orgs","repos_url":"https://api.github.com/users/habitat-sh/repos","events_url":"https://api.github.com/users/habitat-sh/events{/privacy}","received_events_url":"https://api.github.com/users/habitat-sh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/habitat-sh/builder","description":"Habitat Builder","fork":false,"url":"https://api.github.com/repos/habitat-sh/builder","forks_url":"https://api.github.com/repos/habitat-sh/builder/forks","keys_url":"https://api.github.com/repos/habitat-sh/builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/habitat-sh/builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/habitat-sh/builder/teams","hooks_url":"https://api.github.com/repos/habitat-sh/builder/hooks","issue_events_url":"https://api.github.com/repos/habitat-sh/builder/issues/events{/number}","events_url":"https://api.github.com/repos/habitat-sh/builder/events","assignees_url":"https://api.github.com/repos/habitat-sh/builder/assignees{/user}","branches_url":"https://api.github.com/repos/habitat-sh/builder/branches{/branch}","tags_url":"https://api.github.com/repos/habitat-sh/builder/tags","blobs_url":"https://api.github.com/repos/habitat-sh/builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/habitat-sh/builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/habitat-sh/builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/habitat-sh/builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/habitat-sh/builder/statuses/{sha}","languages_url":"https://api.github.com/repos/habitat-sh/builder/languages","stargazers_url":"https://api.github.com/repos/habitat-sh/builder/stargazers","contributors_url":"https://api.github.com/repos/habitat-sh/builder/contributors","subscribers_url":"https://api.github.com/repos/habitat-sh/builder/subscribers","subscription_url":"https://api.github.com/repos/habitat-sh/builder/subscription","commits_url":"https://api.github.com/repos/habitat-sh/builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/habitat-sh/builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/habitat-sh/builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/habitat-sh/builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/habitat-sh/builder/contents/{+path}","compare_url":"https://api.github.com/repos/habitat-sh/builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/habitat-sh/builder/merges","archive_url":"https://api.github.com/repos/habitat-sh/builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/habitat-sh/builder/downloads","issues_url":"https://api.github.com/repos/habitat-sh/builder/issues{/number}","pulls_url":"https://api.github.com/repos/habitat-sh/builder/pulls{/number}","milestones_url":"https://api.github.com/repos/habitat-sh/builder/milestones{/number}","notifications_url":"https://api.github.com/repos/habitat-sh/builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/habitat-sh/builder/labels{/name}","releases_url":"https://api.github.com/repos/habitat-sh/builder/releases{/id}","deployments_url":"https://api.github.com/repos/habitat-sh/builder/deployments","created_at":"2018-01-17T23:15:30Z","updated_at":"2018-05-10T20:22:54Z","pushed_at":"2018-05-14T22:35:36Z","git_url":"git://github.com/habitat-sh/builder.git","ssh_url":"git@github.com:habitat-sh/builder.git","clone_url":"https://github.com/habitat-sh/builder.git","svn_url":"https://github.com/habitat-sh/builder","homepage":null,"size":74698,"stargazers_count":7,"watchers_count":7,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":150,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":3,"open_issues":150,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/habitat-sh/builder/pulls/372"},"html":{"href":"https://github.com/habitat-sh/builder/pull/372"},"issue":{"href":"https://api.github.com/repos/habitat-sh/builder/issues/372"},"comments":{"href":"https://api.github.com/repos/habitat-sh/builder/issues/372/comments"},"review_comments":{"href":"https://api.github.com/repos/habitat-sh/builder/pulls/372/comments"},"review_comment":{"href":"https://api.github.com/repos/habitat-sh/builder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/habitat-sh/builder/pulls/372/commits"},"statuses":{"href":"https://api.github.com/repos/habitat-sh/builder/statuses/e1e2f1e7ffdc8a7f73a05b7513895be81fe78511"}},"author_association":"NONE"}}
{"actor":{"display_login":"eeyun"}}