{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/4865","repository_url":"https://api.github.com/repos/composer/composer","labels_url":"https://api.github.com/repos/composer/composer/issues/4865/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/4865/comments","events_url":"https://api.github.com/repos/composer/composer/issues/4865/events","html_url":"https://github.com/composer/composer/pull/4865","id":130699288,"number":4865,"title":"Keep empty folders after re-zip a module","user":{"login":"mc388","id":2600346,"avatar_url":"https://avatars.githubusercontent.com/u/2600346?v=3","gravatar_id":"","url":"https://api.github.com/users/mc388","html_url":"https://github.com/mc388","followers_url":"https://api.github.com/users/mc388/followers","following_url":"https://api.github.com/users/mc388/following{/other_user}","gists_url":"https://api.github.com/users/mc388/gists{/gist_id}","starred_url":"https://api.github.com/users/mc388/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mc388/subscriptions","organizations_url":"https://api.github.com/users/mc388/orgs","repos_url":"https://api.github.com/users/mc388/repos","events_url":"https://api.github.com/users/mc388/events{/privacy}","received_events_url":"https://api.github.com/users/mc388/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-02T14:34:10Z","updated_at":"2016-04-02T18:42:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/composer/composer/pulls/4865","html_url":"https://github.com/composer/composer/pull/4865","diff_url":"https://github.com/composer/composer/pull/4865.diff","patch_url":"https://github.com/composer/composer/pull/4865.patch"},"body":"This is a fix to keep empty folders after re-zip the module. The solution\r\nis to add a .keep file to each empty folder.\r\n\r\nKnown reported issues:\r\n\r\n- composer/satis#289\r\n- magento/magento2#2787\r\n- magento/magento2#3248"},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/204771295","html_url":"https://github.com/composer/composer/pull/4865#issuecomment-204771295","issue_url":"https://api.github.com/repos/composer/composer/issues/4865","id":204771295,"user":{"login":"ktomk","id":352517,"avatar_url":"https://avatars.githubusercontent.com/u/352517?v=3","gravatar_id":"","url":"https://api.github.com/users/ktomk","html_url":"https://github.com/ktomk","followers_url":"https://api.github.com/users/ktomk/followers","following_url":"https://api.github.com/users/ktomk/following{/other_user}","gists_url":"https://api.github.com/users/ktomk/gists{/gist_id}","starred_url":"https://api.github.com/users/ktomk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktomk/subscriptions","organizations_url":"https://api.github.com/users/ktomk/orgs","repos_url":"https://api.github.com/users/ktomk/repos","events_url":"https://api.github.com/users/ktomk/events{/privacy}","received_events_url":"https://api.github.com/users/ktomk/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T18:42:54Z","updated_at":"2016-04-02T18:42:54Z","body":"After playing with this locally I created a poc to include empty leaf directory paths into the zip archive. The PR is #5144"}}