{"action":"created","issue":{"url":"https://api.github.com/repos/WhoopInc/mkwheelhouse/issues/8","labels_url":"https://api.github.com/repos/WhoopInc/mkwheelhouse/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/WhoopInc/mkwheelhouse/issues/8/comments","events_url":"https://api.github.com/repos/WhoopInc/mkwheelhouse/issues/8/events","html_url":"https://github.com/WhoopInc/mkwheelhouse/pull/8","id":128060586,"number":8,"title":"Fix blank folder creation and index in s3","user":{"login":"rajiteh","id":905419,"avatar_url":"https://avatars.githubusercontent.com/u/905419?v=3","gravatar_id":"","url":"https://api.github.com/users/rajiteh","html_url":"https://github.com/rajiteh","followers_url":"https://api.github.com/users/rajiteh/followers","following_url":"https://api.github.com/users/rajiteh/following{/other_user}","gists_url":"https://api.github.com/users/rajiteh/gists{/gist_id}","starred_url":"https://api.github.com/users/rajiteh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajiteh/subscriptions","organizations_url":"https://api.github.com/users/rajiteh/orgs","repos_url":"https://api.github.com/users/rajiteh/repos","events_url":"https://api.github.com/users/rajiteh/events{/privacy}","received_events_url":"https://api.github.com/users/rajiteh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-22T01:25:48Z","updated_at":"2016-01-24T19:59:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/WhoopInc/mkwheelhouse/pulls/8","html_url":"https://github.com/WhoopInc/mkwheelhouse/pull/8","diff_url":"https://github.com/WhoopInc/mkwheelhouse/pull/8.diff","patch_url":"https://github.com/WhoopInc/mkwheelhouse/pull/8.patch"},"body":"When mkwheelhouse is configured to sync to a subfolder in a s3 bucket, the prefix value generated by   `urlparse.path` returns the path with a leading slash. This is not a valid s3 prefix (they cannot contain slashes) and the string formatting in `sync` task creates the URI with two slashes resulting a blank folder being created in the root of the bucket."},"comment":{"url":"https://api.github.com/repos/WhoopInc/mkwheelhouse/issues/comments/174335440","html_url":"https://github.com/WhoopInc/mkwheelhouse/pull/8#issuecomment-174335440","issue_url":"https://api.github.com/repos/WhoopInc/mkwheelhouse/issues/8","id":174335440,"user":{"login":"benesch","id":882976,"avatar_url":"https://avatars.githubusercontent.com/u/882976?v=3","gravatar_id":"","url":"https://api.github.com/users/benesch","html_url":"https://github.com/benesch","followers_url":"https://api.github.com/users/benesch/followers","following_url":"https://api.github.com/users/benesch/following{/other_user}","gists_url":"https://api.github.com/users/benesch/gists{/gist_id}","starred_url":"https://api.github.com/users/benesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benesch/subscriptions","organizations_url":"https://api.github.com/users/benesch/orgs","repos_url":"https://api.github.com/users/benesch/repos","events_url":"https://api.github.com/users/benesch/events{/privacy}","received_events_url":"https://api.github.com/users/benesch/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T19:59:01Z","updated_at":"2016-01-24T19:59:01Z","body":"Thanks! Sorry about this. Will merge shortly."}}