Re: bundles

From: Date: Mon, 13 Sep 2004 02:41:21 +0000
Subject: Re: bundles
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-33362@lists.php.net to get a copy of this message
Hey Greg: On Sun, Sep 12, 2004 at 02:31:20PM -0400, Greg Beaver wrote: > > as I see it there are 2 kinds of bundles > 1) bundles directly related to a specific package's function (including > subpackages and external optional deps) > 2) a collection of packages unrelated to the function of a specific > package > > I am only referring to #1, as this can be used for subpackages, or for > specifying collections of optional dependencies to install. Uh, okay. :) I think #2 when using the term "bundle." Looks like we need to come up with two distinct terms for these different "bundles" and have those terms documented/defined somewhere. > for category #2 is a different animal, although it could be used, for > instance, to distribute a complete application(or package) with all of > its dependencies in a single tarball Rather than taring them all together, I was more thinking that the channel server would have a "bundle" database saying which files get shipped for a given "bundle." > I have great reservations about mixing installation of packages and > bundles of the 2nd variety. I would prefer a totally separate command. > > pear install-bundle PFC > pear download-bundle allPEAR Sounds good. Though, as mentioned above, we'll need different terms for each type of "bundle." > $ pear install --alldeps DB#mysql > WARNING: --alldeps and --onlyreqdeps are ignored when installing a > bundle > download of DB OK > download of DB_mysql OK > install OK [abbreviated, of course] I trust that's only a quick example that hasn't been thought through all the way. The notion of only being able to install only certain scripts from a package is going to lead to a gigantic mess. I don't think that's your intention, but I'm asking just to make sure. > <compatibility> > <package name="DB" min="1.5.0" max="1.7.0"> > <exclude version="1.6.3"/> > </package> > </compatibility> I like that a lot. Thanks, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

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