RobLoach / component-installer

Install Web Components through Composer
https://asset-packagist.org/
Other
280 stars 35 forks source link

Moving generated files out of sites/default/files #55

Open torenware opened 11 years ago

torenware commented 11 years ago

What would I need to alter in order to move component-installer generated files out of sites/default/files and into some location that is typically managed by git in most projects?

Right now, the Drupal module hard codes public://component_installer into its code in several places. I've experimented with modifying Component Managers' admin screen and adding an additional variable to handle the location of the component_installer directory via hook_form_alter, and using the variable where the setting is currently hard coded. But I'm having difficulty getting drush component-manager from working if I do this.

How is component-installer and composer_manager interacting when the master composer.json is rebuilt?