{"action":"created","issue":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/11619","repository_url":"https://api.github.com/repos/PrestaShop/PrestaShop","labels_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/11619/labels{/name}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/11619/comments","events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/11619/events","html_url":"https://github.com/PrestaShop/PrestaShop/issues/11619","id":387698428,"node_id":"MDU6SXNzdWUzODc2OTg0Mjg=","number":11619,"title":"Use composer to install/upgrade/uninstall modules","user":{"login":"eternoendless","id":1009343,"node_id":"MDQ6VXNlcjEwMDkzNDM=","avatar_url":"https://avatars3.githubusercontent.com/u/1009343?v=4","gravatar_id":"","url":"https://api.github.com/users/eternoendless","html_url":"https://github.com/eternoendless","followers_url":"https://api.github.com/users/eternoendless/followers","following_url":"https://api.github.com/users/eternoendless/following{/other_user}","gists_url":"https://api.github.com/users/eternoendless/gists{/gist_id}","starred_url":"https://api.github.com/users/eternoendless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eternoendless/subscriptions","organizations_url":"https://api.github.com/users/eternoendless/orgs","repos_url":"https://api.github.com/users/eternoendless/repos","events_url":"https://api.github.com/users/eternoendless/events{/privacy}","received_events_url":"https://api.github.com/users/eternoendless/received_events","type":"User","site_admin":false},"labels":[{"id":1031994074,"node_id":"MDU6TGFiZWwxMDMxOTk0MDc0","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/1.7.5.0","name":"1.7.5.0","color":"8cffda","default":false},{"id":984887057,"node_id":"MDU6TGFiZWw5ODQ4ODcwNTc=","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/L","name":"L","color":"f56df9","default":false},{"id":1024035919,"node_id":"MDU6TGFiZWwxMDI0MDM1OTE5","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/To%20Do","name":"To Do","color":"ff8800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-12-05T10:48:55Z","updated_at":"2019-01-04T11:38:47Z","closed_at":null,"author_association":"MEMBER","body":"As discussed in #11594:\r\n\r\nWe realized that requiring a module via composer merges said module's dependencies into the core's `vendor` folder, instead of placing them in the module's `vendor` directory. This raises several issues:\r\n\r\n1. Modules using composer are currently distributed with their own dependencies in the zip package, so they expect to have their dependencies inside the module's directory and use their own autoloader. This was detected by Travis.\r\n2. Upgrade. If the dependencies are included in the core, upgrading the module will make the module crash because of duplicate dependencies. Removing the module would potentially leave orphan dependencies behind, too.\r\n\r\nWe need to find a way to bring these two systems together. If we choose to distribute all modules using composer, we need to change the whole system. If not, we need to drop composer for native modules."},"comment":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/comments/451421731","html_url":"https://github.com/PrestaShop/PrestaShop/issues/11619#issuecomment-451421731","issue_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/11619","id":451421731,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTQyMTczMQ==","user":{"login":"PierreRambaud","id":1462701,"node_id":"MDQ6VXNlcjE0NjI3MDE=","avatar_url":"https://avatars0.githubusercontent.com/u/1462701?v=4","gravatar_id":"","url":"https://api.github.com/users/PierreRambaud","html_url":"https://github.com/PierreRambaud","followers_url":"https://api.github.com/users/PierreRambaud/followers","following_url":"https://api.github.com/users/PierreRambaud/following{/other_user}","gists_url":"https://api.github.com/users/PierreRambaud/gists{/gist_id}","starred_url":"https://api.github.com/users/PierreRambaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierreRambaud/subscriptions","organizations_url":"https://api.github.com/users/PierreRambaud/orgs","repos_url":"https://api.github.com/users/PierreRambaud/repos","events_url":"https://api.github.com/users/PierreRambaud/events{/privacy}","received_events_url":"https://api.github.com/users/PierreRambaud/received_events","type":"User","site_admin":false},"created_at":"2019-01-04T11:38:47Z","updated_at":"2019-01-04T11:38:47Z","author_association":"CONTRIBUTOR","body":"Thinking you expected this behavior :P"}}
{"actor":{"display_login":"PierreRambaud"}}