{"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/allenai/datastore/pulls/11","id":29723211,"html_url":"https://github.com/allenai/datastore/pull/11","diff_url":"https://github.com/allenai/datastore/pull/11.diff","patch_url":"https://github.com/allenai/datastore/pull/11.patch","issue_url":"https://api.github.com/repos/allenai/datastore/issues/11","number":11,"state":"closed","locked":false,"title":"Fixes group listings","user":{"login":"dirkgr","id":920638,"avatar_url":"https://avatars.githubusercontent.com/u/920638?v=3","gravatar_id":"","url":"https://api.github.com/users/dirkgr","html_url":"https://github.com/dirkgr","followers_url":"https://api.github.com/users/dirkgr/followers","following_url":"https://api.github.com/users/dirkgr/following{/other_user}","gists_url":"https://api.github.com/users/dirkgr/gists{/gist_id}","starred_url":"https://api.github.com/users/dirkgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirkgr/subscriptions","organizations_url":"https://api.github.com/users/dirkgr/orgs","repos_url":"https://api.github.com/users/dirkgr/repos","events_url":"https://api.github.com/users/dirkgr/events{/privacy}","received_events_url":"https://api.github.com/users/dirkgr/received_events","type":"User","site_admin":false},"body":"@mhrmm \r\n\r\nI think the problem is that S3 at its core is a key/value store that has no concept of folders. So when you create an empty folder, it creates a dummy file with the name of the folder and zero length. This dummy file gets created when you create the folder by hand in the S3 UI, and also when you delete files in the S3 UI so that the folder becomes empty.\r\n\r\nAnyways, this PR just ignores the dummy entries.","created_at":"2015-02-20T19:24:49Z","updated_at":"2015-02-20T19:34:05Z","closed_at":"2015-02-20T19:34:05Z","merged_at":"2015-02-20T19:34:05Z","merge_commit_sha":"6e3e13825aa81f95e983bbbfd29e73de76663f3f","assignee":{"login":"mhrmm","id":1376035,"avatar_url":"https://avatars.githubusercontent.com/u/1376035?v=3","gravatar_id":"","url":"https://api.github.com/users/mhrmm","html_url":"https://github.com/mhrmm","followers_url":"https://api.github.com/users/mhrmm/followers","following_url":"https://api.github.com/users/mhrmm/following{/other_user}","gists_url":"https://api.github.com/users/mhrmm/gists{/gist_id}","starred_url":"https://api.github.com/users/mhrmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhrmm/subscriptions","organizations_url":"https://api.github.com/users/mhrmm/orgs","repos_url":"https://api.github.com/users/mhrmm/repos","events_url":"https://api.github.com/users/mhrmm/events{/privacy}","received_events_url":"https://api.github.com/users/mhrmm/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/allenai/datastore/pulls/11/commits","review_comments_url":"https://api.github.com/repos/allenai/datastore/pulls/11/comments","review_comment_url":"https://api.github.com/repos/allenai/datastore/pulls/comments/{number}","comments_url":"https://api.github.com/repos/allenai/datastore/issues/11/comments","statuses_url":"https://api.github.com/repos/allenai/datastore/statuses/f4ee38c47aa1d8bb828ec0dd10ed49dba092e58e","head":{"label":"dirkgr:FixGroupListings","ref":"FixGroupListings","sha":"f4ee38c47aa1d8bb828ec0dd10ed49dba092e58e","user":{"login":"dirkgr","id":920638,"avatar_url":"https://avatars.githubusercontent.com/u/920638?v=3","gravatar_id":"","url":"https://api.github.com/users/dirkgr","html_url":"https://github.com/dirkgr","followers_url":"https://api.github.com/users/dirkgr/followers","following_url":"https://api.github.com/users/dirkgr/following{/other_user}","gists_url":"https://api.github.com/users/dirkgr/gists{/gist_id}","starred_url":"https://api.github.com/users/dirkgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirkgr/subscriptions","organizations_url":"https://api.github.com/users/dirkgr/orgs","repos_url":"https://api.github.com/users/dirkgr/repos","events_url":"https://api.github.com/users/dirkgr/events{/privacy}","received_events_url":"https://api.github.com/users/dirkgr/received_events","type":"User","site_admin":false},"repo":{"id":31080660,"name":"datastore","full_name":"dirkgr/datastore","owner":{"login":"dirkgr","id":920638,"avatar_url":"https://avatars.githubusercontent.com/u/920638?v=3","gravatar_id":"","url":"https://api.github.com/users/dirkgr","html_url":"https://github.com/dirkgr","followers_url":"https://api.github.com/users/dirkgr/followers","following_url":"https://api.github.com/users/dirkgr/following{/other_user}","gists_url":"https://api.github.com/users/dirkgr/gists{/gist_id}","starred_url":"https://api.github.com/users/dirkgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirkgr/subscriptions","organizations_url":"https://api.github.com/users/dirkgr/orgs","repos_url":"https://api.github.com/users/dirkgr/repos","events_url":"https://api.github.com/users/dirkgr/events{/privacy}","received_events_url":"https://api.github.com/users/dirkgr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dirkgr/datastore","description":"Store for immutable objects in S3","fork":true,"url":"https://api.github.com/repos/dirkgr/datastore","forks_url":"https://api.github.com/repos/dirkgr/datastore/forks","keys_url":"https://api.github.com/repos/dirkgr/datastore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dirkgr/datastore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dirkgr/datastore/teams","hooks_url":"https://api.github.com/repos/dirkgr/datastore/hooks","issue_events_url":"https://api.github.com/repos/dirkgr/datastore/issues/events{/number}","events_url":"https://api.github.com/repos/dirkgr/datastore/events","assignees_url":"https://api.github.com/repos/dirkgr/datastore/assignees{/user}","branches_url":"https://api.github.com/repos/dirkgr/datastore/branches{/branch}","tags_url":"https://api.github.com/repos/dirkgr/datastore/tags","blobs_url":"https://api.github.com/repos/dirkgr/datastore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dirkgr/datastore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dirkgr/datastore/git/refs{/sha}","trees_url":"https://api.github.com/repos/dirkgr/datastore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dirkgr/datastore/statuses/{sha}","languages_url":"https://api.github.com/repos/dirkgr/datastore/languages","stargazers_url":"https://api.github.com/repos/dirkgr/datastore/stargazers","contributors_url":"https://api.github.com/repos/dirkgr/datastore/contributors","subscribers_url":"https://api.github.com/repos/dirkgr/datastore/subscribers","subscription_url":"https://api.github.com/repos/dirkgr/datastore/subscription","commits_url":"https://api.github.com/repos/dirkgr/datastore/commits{/sha}","git_commits_url":"https://api.github.com/repos/dirkgr/datastore/git/commits{/sha}","comments_url":"https://api.github.com/repos/dirkgr/datastore/comments{/number}","issue_comment_url":"https://api.github.com/repos/dirkgr/datastore/issues/comments/{number}","contents_url":"https://api.github.com/repos/dirkgr/datastore/contents/{+path}","compare_url":"https://api.github.com/repos/dirkgr/datastore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dirkgr/datastore/merges","archive_url":"https://api.github.com/repos/dirkgr/datastore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dirkgr/datastore/downloads","issues_url":"https://api.github.com/repos/dirkgr/datastore/issues{/number}","pulls_url":"https://api.github.com/repos/dirkgr/datastore/pulls{/number}","milestones_url":"https://api.github.com/repos/dirkgr/datastore/milestones{/number}","notifications_url":"https://api.github.com/repos/dirkgr/datastore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dirkgr/datastore/labels{/name}","releases_url":"https://api.github.com/repos/dirkgr/datastore/releases{/id}","created_at":"2015-02-20T19:21:36Z","updated_at":"2015-02-20T19:21:37Z","pushed_at":"2015-02-20T19:22:16Z","git_url":"git://github.com/dirkgr/datastore.git","ssh_url":"git@github.com:dirkgr/datastore.git","clone_url":"https://github.com/dirkgr/datastore.git","svn_url":"https://github.com/dirkgr/datastore","homepage":"","size":23275,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"allenai:master","ref":"master","sha":"894f56dff767a79cd7a3762e9443b59576130db0","user":{"login":"allenai","id":5667695,"avatar_url":"https://avatars.githubusercontent.com/u/5667695?v=3","gravatar_id":"","url":"https://api.github.com/users/allenai","html_url":"https://github.com/allenai","followers_url":"https://api.github.com/users/allenai/followers","following_url":"https://api.github.com/users/allenai/following{/other_user}","gists_url":"https://api.github.com/users/allenai/gists{/gist_id}","starred_url":"https://api.github.com/users/allenai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenai/subscriptions","organizations_url":"https://api.github.com/users/allenai/orgs","repos_url":"https://api.github.com/users/allenai/repos","events_url":"https://api.github.com/users/allenai/events{/privacy}","received_events_url":"https://api.github.com/users/allenai/received_events","type":"Organization","site_admin":false},"repo":{"id":26135855,"name":"datastore","full_name":"allenai/datastore","owner":{"login":"allenai","id":5667695,"avatar_url":"https://avatars.githubusercontent.com/u/5667695?v=3","gravatar_id":"","url":"https://api.github.com/users/allenai","html_url":"https://github.com/allenai","followers_url":"https://api.github.com/users/allenai/followers","following_url":"https://api.github.com/users/allenai/following{/other_user}","gists_url":"https://api.github.com/users/allenai/gists{/gist_id}","starred_url":"https://api.github.com/users/allenai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenai/subscriptions","organizations_url":"https://api.github.com/users/allenai/orgs","repos_url":"https://api.github.com/users/allenai/repos","events_url":"https://api.github.com/users/allenai/events{/privacy}","received_events_url":"https://api.github.com/users/allenai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/allenai/datastore","description":"Store for immutable objects in S3","fork":false,"url":"https://api.github.com/repos/allenai/datastore","forks_url":"https://api.github.com/repos/allenai/datastore/forks","keys_url":"https://api.github.com/repos/allenai/datastore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allenai/datastore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allenai/datastore/teams","hooks_url":"https://api.github.com/repos/allenai/datastore/hooks","issue_events_url":"https://api.github.com/repos/allenai/datastore/issues/events{/number}","events_url":"https://api.github.com/repos/allenai/datastore/events","assignees_url":"https://api.github.com/repos/allenai/datastore/assignees{/user}","branches_url":"https://api.github.com/repos/allenai/datastore/branches{/branch}","tags_url":"https://api.github.com/repos/allenai/datastore/tags","blobs_url":"https://api.github.com/repos/allenai/datastore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allenai/datastore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allenai/datastore/git/refs{/sha}","trees_url":"https://api.github.com/repos/allenai/datastore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allenai/datastore/statuses/{sha}","languages_url":"https://api.github.com/repos/allenai/datastore/languages","stargazers_url":"https://api.github.com/repos/allenai/datastore/stargazers","contributors_url":"https://api.github.com/repos/allenai/datastore/contributors","subscribers_url":"https://api.github.com/repos/allenai/datastore/subscribers","subscription_url":"https://api.github.com/repos/allenai/datastore/subscription","commits_url":"https://api.github.com/repos/allenai/datastore/commits{/sha}","git_commits_url":"https://api.github.com/repos/allenai/datastore/git/commits{/sha}","comments_url":"https://api.github.com/repos/allenai/datastore/comments{/number}","issue_comment_url":"https://api.github.com/repos/allenai/datastore/issues/comments/{number}","contents_url":"https://api.github.com/repos/allenai/datastore/contents/{+path}","compare_url":"https://api.github.com/repos/allenai/datastore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allenai/datastore/merges","archive_url":"https://api.github.com/repos/allenai/datastore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allenai/datastore/downloads","issues_url":"https://api.github.com/repos/allenai/datastore/issues{/number}","pulls_url":"https://api.github.com/repos/allenai/datastore/pulls{/number}","milestones_url":"https://api.github.com/repos/allenai/datastore/milestones{/number}","notifications_url":"https://api.github.com/repos/allenai/datastore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allenai/datastore/labels{/name}","releases_url":"https://api.github.com/repos/allenai/datastore/releases{/id}","created_at":"2014-11-03T19:53:04Z","updated_at":"2015-02-20T19:14:07Z","pushed_at":"2015-02-20T19:34:06Z","git_url":"git://github.com/allenai/datastore.git","ssh_url":"git@github.com:allenai/datastore.git","clone_url":"https://github.com/allenai/datastore.git","svn_url":"https://github.com/allenai/datastore","homepage":"","size":23275,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/allenai/datastore/pulls/11"},"html":{"href":"https://github.com/allenai/datastore/pull/11"},"issue":{"href":"https://api.github.com/repos/allenai/datastore/issues/11"},"comments":{"href":"https://api.github.com/repos/allenai/datastore/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/allenai/datastore/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/allenai/datastore/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/allenai/datastore/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/allenai/datastore/statuses/f4ee38c47aa1d8bb828ec0dd10ed49dba092e58e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dirkgr","id":920638,"avatar_url":"https://avatars.githubusercontent.com/u/920638?v=3","gravatar_id":"","url":"https://api.github.com/users/dirkgr","html_url":"https://github.com/dirkgr","followers_url":"https://api.github.com/users/dirkgr/followers","following_url":"https://api.github.com/users/dirkgr/following{/other_user}","gists_url":"https://api.github.com/users/dirkgr/gists{/gist_id}","starred_url":"https://api.github.com/users/dirkgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirkgr/subscriptions","organizations_url":"https://api.github.com/users/dirkgr/orgs","repos_url":"https://api.github.com/users/dirkgr/repos","events_url":"https://api.github.com/users/dirkgr/events{/privacy}","received_events_url":"https://api.github.com/users/dirkgr/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}