[development] drupal install/dependencies

vlado vlado at dikini.net
Thu Dec 8 09:32:41 UTC 2005


I added a small include file as an example phase/stage runner for the
drupal install effort. It uses the dependency.inc from drpkg what I
presented in Amsterdam.

http://dev.bryght.com/t/file/drpkg/drpkg.inc
http://dev.bryght.com/t/file/drpkg/include/dependency.inc


I keep those in the bryght svn repository, thanks Adrian, since it is
too early to even try it for core, especially since 4.7 is around the
corner, although this thing isn't going to interfere at all with any
normal drupal services.

The main idea is to execute the different phase callbacks, like install,
configure, ... in dependency order. The latter is ensured by
dependency.inc

I presume that there exists a PACKAGES file, akin to debian's one,
describing the collection of packages and their dependencies, and that
each package has a set of files package_name.phase, for example
image.install, implementing the callback, validation and error callbacks
required. (sounds bad, isn't it)

http://dikini.net/08.12.2005/an_initial_phase_runner_for_drupal_install

Please use this thread on the web:
http://drupal.org/node/22472#comment-74481

Any opinions?

Cheers
Vlado



More information about the development mailing list