Re: Re: [ANNOUNCEMENT]Structures_DataGrid-0.7.0 (beta) Released.
| From: | Olivier Guilyardi | Date: | Tue, 20 Jun 2006 10:04:15 +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 13 | Groups: | php.pear.dev php.pear.qa |
| Request: | Send a blank email to pear-dev+get-43038@lists.php.net to get a copy of this message | ||
Hi,
Greg Beaver wrote:
Olivier Guilyardi wrote:There is no such "default" drivers. It is pretty different for each user. Structures_DataGrid couples many PEAR packages with each other. Every renderer has its own dependencies, so that a "default" installation would install a dozen of additionnal packages. We have had endless discussions about this, until we came to the conclusion that it's better to install no driver. So IMO, if the pear installer could let us write some small custom warnings to the console output, that would be better. That's the sort of thing that is very well supported by dpkg (Debian package manager). Not only warnings, but specific questions, etc... As a start, the following would be great : <package> ... <warning> You must install Foo if you need Bar </warning> <notes> ... </notes> ... </package> -- ogWe 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.