<bundle> packages from channels
| From: | Travis Swicegood | Date: | Wed, 26 Mar 2008 13:58:34 +0000 |
| Subject: | <bundle> packages from channels | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-49557@lists.php.net to get a copy of this message | ||
Howdy all...
Currently the PEAR Installer won't install a <bundle> package from a channel. I can think of no valid reason for this. Currently it will download the package, unpack, then say "oh wait, can't do anything with it, it's a bundle." Installing a bundle from a file does exactly what you'd expect when it's a file.
To my ill-informed eyes, this seems like a rather stupid handicapping for no good reason. I would be happy to be proven wrong, though. Is there some valid reason for not handling a bundle from a channel? You loose the ability to create a meta package on a channel that bundles everything you need.
In the PEAR world, it would be something like a Text or Testing or Services package that contained everything from those categories in one download. For me, it's PHPT and its bundling of PHPT_Core and PHPT_Ensure. I could create an empty package for PHPT and have all of the other packages as subpackages of it, but then you have to add the --alldeps and there's an increase (albeit slight) in bandwidth as you have to negotiate the download of multiple files.
Can anyone shed some light on this decision? I will happily retract my "stupid handicapping" comment if there is some valid reason such as a possible security hole, the uncontrolled creation of nuclear fission, or the very real possibility of bundles called Vendor_PandorasBox that destroy life as we know it. ;-)
-T