Re: Re: [ANNOUNCEMENT]Structures_DataGrid-0.7.0 (beta) Released.

From: Date: Mon, 19 Jun 2006 22:22:38 +0000
Subject: Re: Re: [ANNOUNCEMENT]Structures_DataGrid-0.7.0 (beta) Released.
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.pear.dev php.pear.qa 
Request: Send a blank email to pear-dev+get-43028@lists.php.net to get a copy of this message
Olivier Guilyardi wrote: > Greg Beaver wrote: > >> Olivier Guilyardi wrote: >> >>> >>> - a conditional dependency, to do : if php < 5 then require php_compat >> >> >> This is too complicated from the installer end. You can, of course, >> make it so that the file containing the function is only installed if >> PHP < 5. > > > Do you mean "only installed" or "only require()'d" ? The former is > precisely what I would call a "conditional dependency". Is this possible ? The file must be contained within the package (i.e. not a remote conditional dependency), but yes. You use an <installcondition> within <phprelease> for that task. > Another point, that I may post a feature request for : > > We have unbundled all drivers from Structures_DataGrid, and to be gentle > with users' hard drives we chose to make all drivers optional, as in MDB2. > > But, that makes a big difference with prior releases, when people just > needed to install one package to get something working. Now, it won't > work until you install at least a rendering and a datasource driver. > > The best thing to ease the upgrade, IMO, would be that the pear > installer issues warnings directly to standard output. A new <warning> > like tag in package xml v2, where we could put whatever we want, would > be precious in this regard. > > What do you think ? Use a conditional install group named "default" that requires the default driver and renderer. <group name="default" hint="standard Structure_Datagrid setup"> <package> <name>Structures_Datagrid_DriverWhatever</name> <channel>pear.php.net</channel> </package> <package> <name>Structures_Datagrid_RendererWhatever</name> <channel>pear.php.net</channel> </package> </group> This will be automatically installed unless the user explicitly requests another installation group. In other words, no need for a feature request. Greg

« previous php.pear.dev (#43028) next »