[TYPO3-ect] Import/Export und nachzuladende Exensions
Robert Lemke
robert at typo3.org
Mon Jan 9 13:42:20 CET 2006
Holladihö,
On Monday 09 January 2006 09:55, Karsten Dambekalns wrote:
> On Tuesday 20 December 2005 23:57, you wrote:
> > > 1) Is it possible to automatically set the required extensions for a
> > > particular package? I would assume this could be done fairly easily
> > > for frontend plugins and stuff but it may not be feasible for
> > > extensions that are not tied to a content element.
>
> Should be possible. This can be done in two ways.
>
> 1. The EM installs extensions that are needed automatically. But how does
> it know those need to be installed?
huh?
> 2. The impexp extension does this, by calling the EM and telling it to
> install extension XYZ. This is the easier/cleaner way.
yes. And the EM should solve any other dependencies which are related to
installing extension XYZ. Plus, this cannot happen in the background but
requires user interaction: The administrator has to confirm that additional
extensions may be installed.
> So it seems this should be done by the maintainer of impexp, which I
> believe is Kasper still. We (Robert and I) need to make sure an extension
> can be installed easily from outside the EM.
>
> What do we need? The T3D file must have a list of needed extensions (and
> optionally versions) that need to be installed, right?
That feature already exists: You can define a list of extensions which are
required for the T3D - but no version numbers though.
> @Robert:
> So we need a method in the EM to install an extension
> installExtension($extkey [, $version])
> where $version is an array
> $version = array('version' => 0.2.6,
> 'operator' => 'min|max|strict')
> with operator being optional. If left out the latest version is installed.
yes, good.
robert
--
Robert Lemke
TYPO3 Association - Research & Development
Member of the board
http://association.typo3.org
More information about the TYPO3-team-extension-coordination
mailing list