drush en ubercart

Ask to download the package that is not found on the system.
After press [y] ask again to download the pakage, and so on..

This is because ubercart.info.yml not exists.

CommentFileSizeAuthor
#2 ubercart.patch261 bytesziomizar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ziomizar created an issue. See original summary.

ziomizar’s picture

Status: Active » Needs review
FileSize
261 bytes

This patch provide a simple ubercart.info.yml to solve the issue.

TR’s picture

Category: Bug report » Support request
Status: Needs review » Fixed

No, 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.