bolt / project

🚀 Repo to `composer create project` a Bolt 5 project.
MIT License
39 stars 38 forks source link

Symbolic link does not work in docker #62

Open ionutlip opened 3 years ago

ionutlip commented 3 years ago

Hi @toofff, Following the discussion on the slack with this change from composer.json "assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd" => "assets:install %PUBLIC_DIR%": "symfony-cmd"
everything is ok, so it looks like it can't be used "--symlink --relative" for symfony assets

Thanks @toofff for help

toofff commented 3 years ago

For me there are 2 problems.

1/ why we can't get a symbolic link in the Docker environment. The latest Symfony installations with flex no longer highlight the installation of assets with a symbolic link, maybe the same thing should be done?

2/ why is it up to the "Bolt/Core" component to carry the commands that must be launched by composer during installation and update events?

In Symfony, the developer is free to configure his own composer scripts. With flex, each time a new component is installed, this part is updated, when the flex recipe is available, its scripts risk causing us problems.

At first it would be better to put all the scripts as they were before.

ionutlip commented 3 years ago
  1. yes you are right, I think the same thing needs to be done
  2. yes, the developer should be free to make the necessary changes to his project