Closed (fixed)
Project:
Ubercart
Version:
8.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2016 at 15:09 UTC
Updated:
28 Sep 2016 at 22:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ziomizar commentedThis patch provide a simple ubercart.info.yml to solve the issue.
Comment #3
tr commentedNo, you can't drush pm-download or pm-enable ubercart because Ubercart is not a module, it's a set of modules. Drush does not understand packages of sub-modules, and Drupal itself is not really set up well to deal with sub-modules. There are issues in the drush queue proposing ways of dealing with this, as it's something that affects many pacakges, not just Ubercart.
Your patch defines an empty, non-functional ubercart module which fools drush into downloading the set of modules, but does nothing to enable any of them since there are no dependencies.
We have talked in the past about making a *functional* ubercart module as a container for common services used throughout Ubercart, but the benefit is small and it impacts backwards compatibility. It removes one step in enabling Ubercart, but it also adds a step in disabling Ubercart.
Comment #4
ziomizar commentedOk i got it! to complete the answer in #3 i've added some links to related issue on drupal core and drush project page.
https://github.com/drush-ops/drush/issues/5
#2503927: Convert ExtensionDiscovery to a service
#2208429: Extension System, Part III: ExtensionList, ModuleExtensionList and ProfileExtensionList