Closed (fixed)
Project:
Composer Manager
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 May 2013 at 12:09 UTC
Updated:
5 Jun 2013 at 15:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
cpliakas commentedAttached patch seems to work. Couple of things to point out...
We should also explore adding an option in the UI to neither rebuild the composer.json file nor prompt the user to update Composer dependencies. The use case here is if you have a site in production where you don't want to ever modify composer.json and the packages it manages but have to disable a module in an emergency. On hosted platforms you might not have the ability to write to these locations anyways depending on how it is set up and how the application is configured.
Comment #2
cpliakas commentedSame functionality, modified comments in composer_manager_write_if_changed() for clarity.
Comment #3
cpliakas commentedMarking as needs work to implement the setting mentioned in #1.
Comment #4
cpliakas commentedAttached patch adds the setting.
Comment #5
cpliakas commentedI'm super-psyched about this patch because I think it really improves the DX and allows people to not have to think about Composer when installing and disabling modules via Drush, so I am committing.
http://drupalcode.org/project/composer_manager.git/commit/1a51e83