TYPO3 / CmsComposerInstallers

TYPO3 CMS Composer Installer
GNU General Public License v2.0
58 stars 39 forks source link

Option to skip symlinks and directory structure #38

Closed timofloettmann closed 8 years ago

timofloettmann commented 8 years ago

I'm hoping to switch to a fully composer based typo3 installation soon. Meaning I'd add a composer.json to my repository and include some of my dev-dependencies as well as typo3/cms and all the external extensions via composer.

Whenever I run composer install locally however, the installer creates symlinks and directories that mess with the directory structure within my repository. I don't like that very much. It's good for production, but not for local development. The best case for me would be that everything gets installed under vendor/ in development mode (= composer install without --no-dev) and symlinks etc. are only created in production (when --no-dev is provided).

Personally I'd like to have a config-setting that enables this and then uses the --no-dev flag to determine the desired behaviour.

Any thoughts? Is there already a way to do something like this?

helhum commented 8 years ago

Like suggested in #21 already, an option which disables symlink creation is indeed viable and planned. Pull requests are welcome as well. When creating a pull request, #35 may be good to be taken into account.

I close this ticket now as duplicate of #21