Module management in Drupal | build2be/com/e

Module management in Drupal

The title of this page should be project management because Drupal uses projects for delivering modules.

A companion video shows the Drupal 5.x situation. Using drush, my drush_mm patch and update status to manage and install modules command line. This video shows better dependency checking than currently available in D7. As I hope is clear I want to contribute to implement this into D7.

Drupal has a few tools for managing projects. drush and update_status are capable of updating a project. This is done by downloading tarballs. There is no better management available at the moment. After a project is installed onto the filesystem module management comes into play.

This blog and others is about my vision how package/project/module management should be done in drupal 7

The actors (in short) are:
Is capable of enabling/disabling and installing a module. I haven’t found the uninstall!
Is capable of installing drupal and a chosen profile
Is capable of doing an update and/or upgrade
With drush_pm packages can be downloaded commandline
Checks for new versions is done
drush_mm (a patch for drush in progress)
(un)install and en/disable modules

What do we miss in this list?

  1. module dependency management. When enabling a module from a project like ubercart the admin user has to enable modules multiple time. Just because the dependency check is not deep enough. Same goes for disabling. (drush_mm can do this)
  2. uninstalling has no dependency check whatsoever. I’m not sure whether it should have but modules with a parent child relation should definitely be dependant in handling the relation before the parent disappears.!
  3. downloading project tarballs from core. (drush_pm can do this.)
  4. project providing module or how to find the project a module belongs to. Ie with ubercart one can install google_analytics but the project name is googleanalytics (without ‘_’). How to resolve this?
  5. project dependency management. Some project version need specific other project versions

Module management in Drupal | build2be/com/e

Blogged with the Flock Browser

Tags: , ,

Laisser un commentaire

Entrez vos coordonnées ci-dessous ou cliquez sur une icône pour vous connecter:


Vous commentez à l'aide de votre compte Déconnexion /  Changer )

Photo Google+

Vous commentez à l'aide de votre compte Google+. Déconnexion /  Changer )

Image Twitter

Vous commentez à l'aide de votre compte Twitter. Déconnexion /  Changer )

Photo Facebook

Vous commentez à l'aide de votre compte Facebook. Déconnexion /  Changer )

Connexion à %s

%d blogueurs aiment cette page :