Re: Quality control of PECL modules

From: Date: Thu, 23 Feb 2006 06:42:14 +0000
Subject: Re: Quality control of PECL modules
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3539@lists.php.net to get a copy of this message
And I agree with you that itøs a good idea to get stated on some procedures and systems so we can improve the quality of the product and make it easier for the user to get components that actually works together, no matter what platform the user is on. - Frank > Aha. OK just a heads-up. I explained this to Steph offline. I had no > idea you guys were discussing something on IRC related to Windows builds. > My email is unrelated and talks about a long term way to > differentiate the extensions from a quality perspective... > > At 09:41 PM 2/22/2006, Steph Fox wrote: > >That's what the irc discussion was about, and concluded. > > > >----- Original Message ----- From: "Frank M. Kromann" <frank@kromann.info> > >To: "Greg Beaver" <cellog@php.net> > >Cc: "Steph Fox" <steph@zend.com>; "Pierre Joye" > ><pierre.dev@gmail.com>; "Andi Gutmans" <andi@zend.com>; > ><pecl-dev@lists.php.net>; "Wez Furlong" <kingwez@gmail.com> > >Sent: Thursday, February 23, 2006 7:29 AM > >Subject: Re: [PECL-DEV] Quality control of PECL modules > > > > > >>Relying on a single package will not work for all extensions. Some (PECL) > >>extensions has multiple branches that each compiles with different > >>versions of PHP. > >> > >>I think we need a system that makes it possible to compile PHP and any > >>PECL extension from CVS. We just need a way to match versions-branches > >>from both trees to make sure we get code thats know to work together. > >> > >>CVS snapshots has always been the latest and greatest. > >> > >>For the released versions of PHP we should be able to bundle the code that > >>matches the released version and is marked stable or allow the user to > >>download from PECL. > >> > >>- Frank > >> > >>>Wez Furlong wrote: > >>> > I'm not sure that a single tag is going to work for this. The > >>> > information we need is a mapping of PHP branch (or tag) to the > >>> > known-good PECL extension branch/tag--the combinations are PHP and > >>> > extension version dependent. > >>> > > >>> > I don't think that this information can be very conveniently > >>expressed > >>> > as CVS tags. > >>> > Some kind of master file (or database) to hold this mapping seems to > >>make sense. > >>> > >>>This seems a bit over the top to me - perhaps pecl4win could do these > >>steps: > >>> > >>>1) exactly what it does now for snapshot .dll builds but label them as > >>>snapshots > >>> > >>>Then, in a nightly cron: > >>> > >>>2) grab the list of packages from pecl.php.net/rest/p/packages.xml > >>>3) grab the latest release version of each package from > >>>pecl.php.net/rest/r/<packagename>/latest.txt and stable.txt (or some > >>>variant of this process depending on speed) > >>> > >>>I can easily whip up a simple php script using PEAR to do this, or a > >>>more complex one that uses custom stuff with curl if it matters. My > >>>only restriction is time - I won't be able to dive into this head first > >>>until about 2 weeks from now. > >>> > >>>4) for each package retrieve pecl.php.net/get/packagename-version.tgz > >>if > >>>it is newer > >>>5) use the actual released pecl package to build a dll, for the latest > >>>stable and the latest if they differ > >>> > >>>The reason this approach is obviously better is that pecl packages > >>>already have PHP dependency version info in them. Extensions that > >>won't > >>>work in PHP 4 specify that in package.xml. Again, no special database > >>, > >>>extra scripting, or re-invented wheels are needed, all the info is > >>right > >>>there. > >>> > >>>It isn't even necessary to download the .tgz, all we need to do is > >>>determine the release version, grab the dependencies (which are also > >>>available as serialized PHP in the REST at pecl.php.net), and cvs upd > >>-r > >>>RELEASE_1_2_3 for version 1.2.3. > >>> > >>>This assumes, perhaps stupidly, that people have been tagging the cvs > >>>repo on release... > >>> > >>>Greg > >>> > >>>-- > >>>PECL development discussion Mailing List (http://pecl.php.net/) > >>>To unsubscribe, visit: http://www.php.net/unsub.php > >>> > >> > >> > >> > >> > >>__________ NOD32 1.1380 (20060125) Information __________ > >> > >>This message was checked by NOD32 antivirus system. > >>http://www.eset.com > >> > >

« previous php.pecl.dev (#3539) next »