Add "install extension" script #3
Comments
I was thinking about this, could we have an I'm happy to implement this if you think it's a good idea? |
Also, I believe if we rethink how we are handling our symlink we don't have to hack composer to use a later version. If we had a IE:
Pros:
Cons:
|
Related: magento/magento2#3623, magento/magento2#3612. Adding so that we can track if there is a move from the Magento team on this. |
I've done some research into this and I don't think we can improve this by much. The above linked Magento issues are both closed because of formatting issues 🤦♂️ and while the Stack Exchange post linked in one of them claims that the internal team is looking into this, it's been two years and the situation is unchanged. Nowadays we don't use Magento root folder as the root folder of our projects anymore. Magento is installed into the web folder directly in the container to prevent having to change the ownership of the files or slow read/write access to mounted folders. The code is then synced to the project root for IDE access. This means that we can't just put our source folder inside Magento. Although maybe if we mount the |
Scratch that, composer doesn't support it: composer/composer#1135 Looks like symlinks are the only way to go. Going to try to make the script take care of as much of it as it can though. |
Could you just mount in a composer file? |
Not sure I follow completely, but I don't think so. The |
We use a script like the following quite a lot. Would be good to have it bundled into the image:
The text was updated successfully, but these errors were encountered: