{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/7358","repository_url":"https://api.github.com/repos/composer/composer","labels_url":"https://api.github.com/repos/composer/composer/issues/7358/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/7358/comments","events_url":"https://api.github.com/repos/composer/composer/issues/7358/events","html_url":"https://github.com/composer/composer/issues/7358","id":324399694,"node_id":"MDU6SXNzdWUzMjQzOTk2OTQ=","number":7358,"title":"Composer archive should not read ignore files (gitignore, hgignore, ...)","user":{"login":"naderman","id":154844,"node_id":"MDQ6VXNlcjE1NDg0NA==","avatar_url":"https://avatars1.githubusercontent.com/u/154844?v=4","gravatar_id":"","url":"https://api.github.com/users/naderman","html_url":"https://github.com/naderman","followers_url":"https://api.github.com/users/naderman/followers","following_url":"https://api.github.com/users/naderman/following{/other_user}","gists_url":"https://api.github.com/users/naderman/gists{/gist_id}","starred_url":"https://api.github.com/users/naderman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naderman/subscriptions","organizations_url":"https://api.github.com/users/naderman/orgs","repos_url":"https://api.github.com/users/naderman/repos","events_url":"https://api.github.com/users/naderman/events{/privacy}","received_events_url":"https://api.github.com/users/naderman/received_events","type":"User","site_admin":false},"labels":[{"id":237342,"node_id":"MDU6TGFiZWwyMzczNDI=","url":"https://api.github.com/repos/composer/composer/labels/Bug","name":"Bug","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/composer/composer/milestones/20","html_url":"https://github.com/composer/composer/milestone/20","labels_url":"https://api.github.com/repos/composer/composer/milestones/20/labels","id":3061197,"node_id":"MDk6TWlsZXN0b25lMzA2MTE5Nw==","number":20,"title":"1.7","description":"","creator":{"login":"Seldaek","id":183678,"node_id":"MDQ6VXNlcjE4MzY3OA==","avatar_url":"https://avatars1.githubusercontent.com/u/183678?v=4","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":12,"state":"open","created_at":"2018-01-24T14:17:32Z","updated_at":"2018-06-06T12:02:16Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-05-18T12:55:10Z","updated_at":"2018-06-07T16:51:48Z","closed_at":null,"author_association":"MEMBER","body":"Composer archive currently reads ignore files and excludes these files/directories from generated zip files. This behaviour is not correct since ignored directories should only be ignored for commiting changes. They may very well exist in the repository anyway and should be included in the resulting zip file, too.\r\n\r\nTo skip files or directories when generating the zip file other mechanisms ought to be used. For git one should use git attributes to exclude directories from export. Composer should only take these settings into account. We could see what alternatives there are for other VCS systems or whether there should be a way to define such an exclusion list in composer.json."},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/395490498","html_url":"https://github.com/composer/composer/issues/7358#issuecomment-395490498","issue_url":"https://api.github.com/repos/composer/composer/issues/7358","id":395490498,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTQ5MDQ5OA==","user":{"login":"sbuzonas","id":1659267,"node_id":"MDQ6VXNlcjE2NTkyNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/1659267?v=4","gravatar_id":"","url":"https://api.github.com/users/sbuzonas","html_url":"https://github.com/sbuzonas","followers_url":"https://api.github.com/users/sbuzonas/followers","following_url":"https://api.github.com/users/sbuzonas/following{/other_user}","gists_url":"https://api.github.com/users/sbuzonas/gists{/gist_id}","starred_url":"https://api.github.com/users/sbuzonas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbuzonas/subscriptions","organizations_url":"https://api.github.com/users/sbuzonas/orgs","repos_url":"https://api.github.com/users/sbuzonas/repos","events_url":"https://api.github.com/users/sbuzonas/events{/privacy}","received_events_url":"https://api.github.com/users/sbuzonas/received_events","type":"User","site_admin":false},"created_at":"2018-06-07T16:51:48Z","updated_at":"2018-06-07T16:51:48Z","author_association":"CONTRIBUTOR","body":"IIRC you can negate a rule in `export-ignore` of `.gitattributes` as well as in the `composer.json`."}}
{"actor":{"display_login":"sbuzonas"}}